Gentoo Archives: gentoo-user

From: Robert Persson <ireneshusband@××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] scanner hotplug permissions torture
Date: Sun, 25 Jun 2006 14:58:32
Message-Id: 449E9FEB.5040208@yahoo.co.uk
In Reply to: [gentoo-user] scanner hotplug permissions torture by Robert Persson
1 I found a solution and I have posted it at
2 http://gentoo-wiki.com/Talk:HOWTO_Install_a_USB_scanner#.22The_above_udev_rules_are_wrong..22.
3
4 If anybody who knows their hotplug and udev stuff better than I do could
5 take it upon themselves to correct the usb scanner howto itself
6 (http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner), which is very
7 confusing and misleading, I'm sure there will be good few people out
8 there who will be very grateful to you. (And not just Gentoo users --
9 there is a real lack of up-to-date usb scanner documentation out there.)
10
11 Robert
12
13
14 Robert Persson wrote:
15 > I have just acquired an Epson 1660 Photo scanner and I am having real
16 > trouble setting the permissions.
17 >
18 > Unfortunately I haven't been able to find a howto that explains clearly
19 > how you are supposed to get permissions sorted out using hotplug with
20 > more recent 2.6 kernels. There's something about a script in
21 > /etc/hotplug/usb, but nothing I can find that tells you what you are
22 > supposed to do with it.
23 >
24 > The scanner works fine when run as root.
25 >
26 > The permssions of the usb device (/proc/usb/001/004 right at the moment)
27 > are
28 >
29 > -rw-rw---- root:scanner
30 >
31 > However, even though user robert is a member of group scanner, he can't
32 > get sane even to recognise the scanner. He can do it though if he chmods
33 > to root:users or root:audio or to most of the other groups he is a
34 > member of. On the other hand there are some other groups of which he is
35 > a member which don't seem to be able to access the scanner -- floppy and
36 > adm for instance.
37 >
38 > Does anyone have any idea what I'm doing wrong?
39 >
40
41 --
42
43 bokuwa ongakka, dentaku katateni
44 --
45 gentoo-user@g.o mailing list