Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev not setting permissions properly?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cpakkala
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 154

PostPosted: Tue Jan 04, 2005 2:16 am    Post subject: udev not setting permissions properly? Reply with quote

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
View user's profile Send private message
cpakkala
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 154

PostPosted: Tue Jan 04, 2005 6:26 pm    Post subject: Reply with quote

no one has had this problem?
Back to top
View user's profile Send private message
aetius
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2004
Posts: 118

PostPosted: Tue Jan 04, 2005 8:34 pm    Post subject: Reply with quote

See:

https://bugs.gentoo.org/show_bug.cgi?id=72119

and

https://bugs.gentoo.org/show_bug.cgi?id=31877

That might help.
Back to top
View user's profile Send private message
cpakkala
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 154

PostPosted: Tue Jan 04, 2005 9:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
blueSceaDa
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2005
Posts: 90

PostPosted: Thu Jan 20, 2005 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum