Hi all,
<edit much later 'cause this is still a problem, but better focused now..
All this line of questioning refers to #2 in my sig.
I have a personal mission, that is to get my embedded suite up and running using linux instead of windows.
1) How to find and address my parallel port?
-it is a Quatech
SPP100 PCMCIA parallel port adapter.
the kernel detects the card and I find:
Code:
ls -l /sys/bus/pcmcia/devices/
total 0
lrwxrwxrwx 1 root root 0 2007-04-26 10:56 0.0 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:03:01.0/0.0/
Code:
$ /sbin/pccardctl info
PRODID_1="Quatech Inc"
PRODID_2="PCMCIA Enhanced Parallel Port Card"
PRODID_3="SPP-100"
PRODID_4=""
MANFID=0137,0003
FUNCID=3
$ /sbin/pccardctl ident
Socket 0:
product info: "Quatech Inc", "PCMCIA Enhanced Parallel Port Card", "SPP-100", ""
manfid: 0x0137, 0x0003
function: 3 (parallel)
so is there any simple way to test the 'port' from linux? like connect to an old printer or something and try and dump something to it? just to see if the kernel driver is working for it? sorry I really have _no_ idea how to go about sending output through a pcmcia card.
Also I don't think there are any 'nix drivers for this card. The webpage says there is Linux support, but just points to the old
pcmcia-cs kernel page. I've emailed Quatech and they are completely clueless/useless/unwilling to help.
I hope changing this post is not poor etiquette ->noflameme<-
I didn't want to re-post the same problem.
above is the -current- issue i'd love help with.
**************************
below this line is the 'rest' of my litany of problems related achieving my embedded prog in linux dreams.
WINE troubles
2) I need parallel port to work for my EconoROM3 (ER3). The ER3 comes with its own Win32 app that I run from the cmd-line in WinXp like so:
rtload -pfdf0
where fdf0 is the addr of my 'parallel port' in windows. to try and satisfy the need for a 'port' I created:
.wine/dosdevices/lpt1 -> /sys/bus/pcmcia/devices/0.0
but still i get this output:
Code:
$ wine Ql40/rtload32.exe /lpt1
err:module:import_dll Library tbus32.dll (which is needed by L"C:\\Ql40\\rtload32.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Ql40\\rtload32.exe" failed, status c0000135
btw- I know the tbus32.dll is both set to native and present in my system32 directory.
3. I use the tasking 8051 compiler (v7r1) which is only available in Win32 or Solaris. I of course have the Win32 version.
<snip for update>
have succesfully installed this in wine.. waiting on the slow @ss vendor to git me a new node-locked license key because I cant get flexlm running in wine or Linux. otherwise it seems to be working (but not the EDE, which I never use anyway)
if I have more problems will create a new thread for it, if I have success will post to wine app-DB
also please disregard post#2...