Phuoc

[EMAIL PROTECTED] wrote:

Thank you  Erich, I will read the documentation.

I've download the parport.o and parport_pc.o.
I already declear it in the /etc/modules file.

#parallel port
parport.o
parport_pc.o

now I still not success to make a node /dev/parport0 can you help me?


Maybe....

here are the standard values for parallel printers

        lp|par)
                major=`Major lp 6` || continue
                makedev lp0 c $major 0 $printer
                makedev lp1 c $major 1 $printer
                makedev lp2 c $major 2 $printer
                makedev lp3 c $major 3 $printer
                ;;

I guess this is for general purpose parallel port stuff.

        parport)
                major=`Major parport 99` || continue
                makedev ${arg}0 c $major 0 $printer
                makedev ${arg}1 c $major 1 $printer
                makedev ${arg}2 c $major 2 $printer
                makedev ${arg}3 c $major 3 $printer


so for parport0 this would be

gatekeeper: -root-
# cd /dev ; makedevs parport c 99 0 0 0

gatekeeper: -root-
# ls -l /dev/parp*
crw-r-----    1 root     root      99,   0 Nov 22 23:25 /dev/parport0


HTH Erich






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to