|
Home > Archive > Cheap Linux Hardware > July 2007 > how to access parall port in my module?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to access parall port in my module?
|
|
| google-rambo88 2007-07-17, 7:17 am |
| Hi, all.
My embedded board have paralled port with 25 pin. ( IO port 0x387, and SPP
mode )
I'd like to access and use it from linux...
I think I need linux parallel port device driver to access ....
I'm new to parallel port .... so If I get some simple code about how to
send a char or string...
It will give great help to me....where can I see it to learn parallel port?
(how parallel port initialize and send a char , and closing.... )
Thanks.. have a nice day.
| |
| Dances With Crows 2007-07-17, 7:17 am |
| google-rambo88 staggered into the Black Sun and said:
> My embedded board [has a] [parallel] port with 25 [pins]. ( IO port
> 0x387, SPP mode.) I'd like to access and use it from linux. I think I
> need [the] linux parallel port device driver to access [it]
modprobe parport_pc (assuming this thing is an x86, if not, you
should've said something)
modprobe lp
> I'm new to [using the] parallel port
http://www.beyondlogic.org/spp/parallel.htm , OS-agnostic. Also
http://freshmeat.net/projects/parapin/ , Linux-specific.
> ... so If I get some simple code about how to send a char or
> string... It will give great help to me....where can I see it to
> learn parallel port? (how parallel port initialize and send a char ,
> and closing.... )
All whose base are belong to what?
--
....In Hong Kong action movies, they don't have Hollywood Guns with
infinite bullet supplies. Instead, they have Hong Kong Pants(tm) which
hold an infinite supply of loaded pistols. --M. Sphar, the Monastery
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
| |
|
|
|
| Matt wrote:[vbcol=seagreen]
> google-rambo88 wrote:
>
>
> Some of these may be good:
>
|
|
|
|
|