baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: "Fredrik Gustafsson" <iveqy AT swimmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: RE: Re: [BL] parallell port
- Date: Fri, 25 Mar 2005 08:46:54 -0800
I'm trying to connect my own device to my computer, it's a really simply
interface, but I've got problems.
Where can I get the proper parport and parport_pc modules from?
I've used the coffee mini howto and the port programming howto but still it
doesn't work on my stationary computer. I've got to trust in baslin :)
> "David Moberg" <davidjmoberg AT lycos.com> baslinux AT lists.ibiblio.orgDate:
> Thu, 17 Mar 2005 15:13:24
-0500
> Re: [BL] parallell portReply-To: baslinux AT lists.ibiblio.org
>
>----- Original Message -----
>From: "Fredrik Gustafsson" <iveqy AT swimmail.com>
>
>> Hi, I'm trying to use BL3 for controlling the parallell port with a simple
c++
>> program. How do I find the address for my parallell port? Couldn't fint it
>> in
>> dmesg. Does BL3 even support parallell ports?
>
>You need to load the parport and parport_pc modules. If
>you need a printer-like interface to the parallel port,
>you also need the lp module. You may need a different
>module for a different use of the parallel port.
>
>> thanks for your help. Any code examples for recieving/transmitting to the
>> parallellport are also welcome :)
>
>Be aware that if you're coming from programming on a
>more permissive operating system, like DOS, Linux does
>not let you write straight to the hardware. You have to
>make a bunch of kernel calls to make everything work.
>Have a look at the kernel source and documentation for
>more details.
>
>Incidentally, what are you using the parallel port for?
>For networking or file transfer, Linux has the PLIP
>networking over parallel feature. There's also a PLIP
>driver for DOS. Have you checked and made sure that
>whatever you're doing hasn't been done before? Even if
>it hasn't, there still might be some good code you
>could learn from.
>
>Good luck,
>David
>
>--
>_______________________________________________
>NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
>http://datingsearch.lycos.com
>
>_______________________________________________
>BasLinux mailing list
>BasLinux AT lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/baslinux
>----- Original Message -----
>From: "Fredrik Gustafsson" <iveqy AT swimmail.com>
>
>> Hi, I'm trying to use BL3 for controlling the parallell port with a simple
c++
>> program. How do I find the address for my parallell port? Couldn't fint it
>> in
>> dmesg. Does BL3 even support parallell ports?
>
>You need to load the parport and parport_pc modules. If
>you need a printer-like interface to the parallel port,
>you also need the lp module. You may need a different
>module for a different use of the parallel port.
>
>> thanks for your help. Any code examples for recieving/transmitting to the
>> parallellport are also welcome :)
>
>Be aware that if you're coming from programming on a
>more permissive operating system, like DOS, Linux does
>not let you write straight to the hardware. You have to
>make a bunch of kernel calls to make everything work.
>Have a look at the kernel source and documentation for
>more details.
>
>Incidentally, what are you using the parallel port for?
>For networking or file transfer, Linux has the PLIP
>networking over parallel feature. There's also a PLIP
>driver for DOS. Have you checked and made sure that
>whatever you're doing hasn't been done before? Even if
>it hasn't, there still might be some good code you
>could learn from.
>
>Good luck,
>David
>
>--
>_______________________________________________
>NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
>http://datingsearch.lycos.com
>
>_______________________________________________
>BasLinux mailing list
>BasLinux AT lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/baslinux
------------------------------------------------------------
Free Web based Email at http://www.SwimMail.com
Great Deals on Swimwear & Training Gear http://www.The-Swim-Store.com
-
[BL] parallell port,
Fredrik Gustafsson, 03/17/2005
- <Possible follow-up(s)>
-
Re: [BL] parallell port,
David Moberg, 03/17/2005
-
Re: [BL] parallell port,
sindi keesan, 03/17/2005
- Re: [BL] parallell port, Stephen Clement, 03/17/2005
-
Re: [BL] parallell port,
sindi keesan, 03/17/2005
- RE: Re: [BL] parallell port, Fredrik Gustafsson, 03/25/2005
- RE: Re: [BL] parallell port, David Moberg, 03/25/2005
- RE: Re: [BL] parallell port, Fredrik Gustafsson, 03/25/2005
Archive powered by MHonArc 2.6.24.