[Voyage-linux] Parallel port programming
John Coltrane
(spam-protected)
Sun Apr 14 02:21:59 HKT 2013
On 04/13/2013 07:53 PM, Rainer Stratmann wrote:
> $ lsmod | grep lp
>
> gives no result on my voyage computer with a paralellport device.
>
> I also tried to load the module somehow (modprobe parport or similar) with no
> effect.
>
ok :-(. Mh, I mean sh*t.
What is 'dmesg | grep lp' showing ?
And please describe your setup (hardware, software).
>
> On Saturday 13 April 2013 18:32:42 you wrote:
>
>> 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
>>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
> _______________________________________________
> 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