Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev usb printer permissions
Date: Fri, 09 Feb 2007 05:06:59
Message-Id: 45CC002C.4040007@exceedtech.net
In Reply to: [gentoo-user] udev usb printer permissions by Alexander Puchmayr
1 Alexander Puchmayr wrote:
2 > Hi there!
3 >
4 > Can anyone please tell me why /dev/usb/lp0 has the following onwer/group and
5 > permissions?
6 >
7 > zeus ~ # ls -l /dev/usb/
8 > total 0
9 > crw-rw---- 1 root plugdev 180, 0 Feb 8 2007 lp0
10 >
11 >
12 > /etc/udev/rules.d/50-udev.rules says:
13 >
14 > [...]
15 > # usb devices
16 > KERNEL=="hiddev*", NAME="usb/%k"
17 > KERNEL=="auer*", NAME="usb/%k"
18 > KERNEL=="legousbtower*", NAME="usb/%k", GROUP="usb"
19 > KERNEL=="dabusb*", NAME="usb/%k"
20 > BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
21 > [...]
22 >
23 > I would expect /dev/usb/lp0 to belong to group "lp", so which other config
24 > file tells udev to put it under these onwer/group and permissions?
25 >
26 > Thanks in advance
27 >
28 > Alex
29 >
30
31 Something fishy somewhere. Here is mine:
32
33 > root@smoker / # ls -l /dev/usb/
34 > total 0
35 > crw-rw---- 1 root lp 180, 0 Jan 9 03:59 lp0
36 > root@smoker / #
37
38 Not sure why but I don't think I have changed anything. Maybe one of
39 your rules was changed or not updated somehow.
40
41 Dale
42
43 :-) :-) :-)
44
45
46 --
47 www.myspace.com/dalek1967
48
49 --
50 gentoo-user@g.o mailing list