cant create parport devices
Hi everyone!
My problem is that ion my /dev directory there is no parport, but there is a lp0 device (akward, isnt it?), I tried to make this devices with MAKEDEV -v parport (that it's supposed to create the parport0, parport1 and parport2) and it says to me that it created them, just like this:
chimi:/dev# MAKEDEV -v parport
create parport0 c 99 0 root:lp 0660
create parport1 c 99 1 root:lp 0660
create parport2 c 99 2 root:lp 0660
but after this the still dont exist!!!:
chimi:/dev# ls parport0
ls: parport0: No such file or directory
and parallel port works perfectly, since I needed to use it on a C++ program, and I used ioperm() and inb()/outb(), and worked perfectly, but I rather use the device (open ("/dev/parport0",...))...
My system is a Debian sarge 3.1r0a running on a 2.6.16.18 kernel with glibc6
Does anyone knkow what's going on??
Thanx!!
|