[Voyage-linux] Parallel port programming

John Coltrane (spam-protected)
Sun Apr 14 00:32:42 HKT 2013


Hello,

every device in Linux is a file, I think thats also the case in Voyage.

So you might have to load the needed kernel modules, and get a device in
/dev

This is from my Debian Desktop:

$ lsmod | grep lp
lp                      7462  0
parport                27954  2 lp,parport_pc
$ ll /dev/lp0
crw-rw---- 1 root lp 6, 0 Apr 13 18:22 /dev/lp0
$

Then you may have to deal with the device like any other file, open it,
may be set it to the mode you need, write and/or read it, close it at last.

HtH



On 04/13/2013 02:55 PM, Rainer Stratmann wrote:
> Are there some information about programming the parallel port in voyage?
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>   




More information about the Voyage-linux mailing list