View previous topic :: View next topic |
Author |
Message |
cpakkala Apprentice

Joined: 17 Dec 2004 Posts: 154
|
Posted: Tue Jan 04, 2005 2:16 am Post subject: udev not setting permissions properly? |
|
|
I'm trying to get vmware to use the parallel port /dev/parport0 but I'm getting permission denied. My user is in the "lp" group, which is specified in /etc/udev/permissions.d/50-udev.permissions by default:
...
# lp devices
lp*:root:lp:0660
parport*:root:lp:0660
irlpt*:root:lp:0660
usblp*:root:lp:0660
usb/lp*:root:lp:0660
...
But, the permissions aren't set on /dev/parport like they are on /dev/lp
gentoo ~ # ls -l /dev/parport* /dev/lp*
crw-rw---- 1 root lp 6, 0 Feb 18 2004 /dev/lp0
crw-rw---- 1 root lp 6, 1 Feb 18 2004 /dev/lp1
crw-rw---- 1 root lp 6, 2 Feb 18 2004 /dev/lp2
crw------- 1 root root 99, 0 Dec 27 00:57 /dev/parport0
crw------- 1 root root 99, 1 Dec 27 00:57 /dev/parport1
crw------- 1 root root 99, 2 Dec 27 00:57 /dev/parport2
crw------- 1 root root 99, 3 Dec 27 00:57 /dev/parport3
I tried using /dev/lp0 since the perms are correct, but vmware says it's deprecated and automatically substitutes /dev/parport0, and then gives a permission denied error.
Any thoughts?
Also, parport support is compiled into my 2.6.10 kernel as dmesg shows:
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x378
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
parport_pc: VIA parallel port: io=0x378, irq=7 |
|
Back to top |
|
 |
cpakkala Apprentice

Joined: 17 Dec 2004 Posts: 154
|
Posted: Tue Jan 04, 2005 6:26 pm Post subject: |
|
|
no one has had this problem? |
|
Back to top |
|
 |
aetius Tux's lil' helper

Joined: 09 Jul 2004 Posts: 118
|
|
Back to top |
|
 |
cpakkala Apprentice

Joined: 17 Dec 2004 Posts: 154
|
Posted: Tue Jan 04, 2005 9:40 pm Post subject: |
|
|
thanks; but I finally found the prob. Turns out ppdev support for the kernel was also required. After inserting the ppdev module and manually changing the device perms, it works. |
|
Back to top |
|
 |
blueSceaDa Tux's lil' helper


Joined: 05 Jan 2005 Posts: 90
|
Posted: Thu Jan 20, 2005 9:58 pm Post subject: |
|
|
I also got the problems with the permissions ...
What do you mean with "ppdev support" ? What is it, and where can I find it ? Thx! _________________ Athlon XP 2500+ @ ~2100MHz; GeForce FX 5600 256MB; 3x256MB RAM; ASUS A7N8X-X
echo 'LDFLAGS="-Wl,-O1"' >> /etc/make.conf - no problems here |
|
Back to top |
|
 |
|