how to connect LPT in LINUX

Problems and successes with specific brands/models of networking hardware.
Post Reply
Message
Author
bala
Posts: 8
Joined: Tue 03 Feb 2009, 08:18

how to connect LPT in LINUX

#1 Post by bala »

hai

i am new to LINUX i am using puppy 4.0............

i am using wine to run a VB6 application on linux..... this application has some hardware (LPT were sms i/o) ........ the application is running on linux the problem is when click tha start button on the application the output is

Wine : call from 0x7ee5fae0 to unimplemented function hal.dll.WRITE_PROT_ULONG, aborting.

Wine : call from 0x7ee5fae0 to unimplemented function hal.dll.WRITE_PROT_USHORT, aborting.


when i typed setserial -g /dev/ttys[0123] the out put is
/dev/ttys0, UART: 16550A, PORT:0x03f8, IRQ:4


in harware information i was unable to find weather the port is connected or not.........

pl some help me to overcome this problem............

thank you......................[/list]

ieee488
Posts: 210
Joined: Mon 03 Sep 2007, 23:11

#2 Post by ieee488 »

LPT is the parallel printer port. Yet it looks like you are trying to communicate to a serial port.

bala
Posts: 8
Joined: Tue 03 Feb 2009, 08:18

#3 Post by bala »

hai that is i am using LED..........

LED is fixed to the port (where the printer will be connected)........

http://www.arunet.co.uk/tkboyd/LEDFig.jpg

http://photos1.blogger.com/x/blogger2/7 ... 33/LED.jpg

when enter the command wine sms.exe the output is

Wine : call from 0x7ee5fae0 to unimplemented function hal.dll.WRITE_PORT_UCHAR, aborting.

Wine : call from 0x7ee5fae0 to unimplemented function hal.dll.WRITE_PORT_UCHAR, aborting.


i don how to connect the port......
when booting the winxp the led is on.
but when booting the linux the led is off

does the wine has the power of sharing the ports.........

pl help me out.............. thanks for u reply............

ieee488
Posts: 210
Joined: Mon 03 Sep 2007, 23:11

#4 Post by ieee488 »

I don't have any experience using Wine.

I see now that the Windows VB6 program is trying to access the pins on the parallel port.

You might want to look at this program - http://parapin.sourceforge.net/

http://www.faqs.org/docs/Linux-mini/IO- ... mming.html

http://www.captain.at/howto-parallel-po ... isters.php


My question is why are you trying to do this in Linux?

Post Reply