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 Sun 21 Dec 2014, 09:29
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 Posts_count  
Author Message
bala

Joined: 03 Feb 2009
Posts: 8

PostPosted: Mon 09 Feb 2009, 06:15    Post_subject:  how to connect LPT in LINUX
Sub_title: 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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0493s ][ Queries: 11 (0.0097s) ][ GZIP on ]