Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 17:56
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking
how to connect LPT in LINUX
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
bala

Joined: 03 Feb 2009
Posts: 8

PostPosted: Mon 09 Feb 2009, 06:15    Post subject:  how to connect LPT in LINUX
Subject description: how to connect ports to handle other harwares in LINUX.....
 

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]
Back to top
View user's profile Send private message 
ieee488

Joined: 03 Sep 2007
Posts: 210

PostPosted: Mon 09 Feb 2009, 12:09    Post subject:  

LPT is the parallel printer port. Yet it looks like you are trying to communicate to a serial port.
Back to top
View user's profile Send private message 
bala

Joined: 03 Feb 2009
Posts: 8

PostPosted: Tue 10 Feb 2009, 09:10    Post subject:  

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/7074/994035204280323/320/44633/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............
Back to top
View user's profile Send private message 
ieee488

Joined: 03 Sep 2007
Posts: 210

PostPosted: Tue 10 Feb 2009, 11:41    Post subject:  

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-Port-Programming.html

http://www.captain.at/howto-parallel-port-pins-and-registers.php


My question is why are you trying to do this in Linux?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0488s ][ Queries: 12 (0.0090s) ][ GZIP on ]