LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   parllelport_driver (https://www.linuxquestions.org/questions/linux-newbie-8/parllelport_driver-942922/)

roopali 05-02-2012 08:42 AM

parllelport_driver
 
hi,
i m trying to glow LED in the parllel portdriver but the led is not glow
i have done all steps:
mknod /dev/parlelport c 250 0
chmod 666 /dev/parlelport
echo -n A >/dev/parlelport
cat /dev/parlelport
./light

but when i reboot my system only D2 pin led is on.but after remove ppdev,lp,parport_pc
light goes off.then after that when i execute my driver led does not glow.
what the reason behind this plz tell me.major_number is 250


code is same as http://www.freesoftwaremagazine.com/.../drivers_linux


All times are GMT -5. The time now is 09:43 PM.