[gentoo-user] scanner hotplug permissions torture

2006-06-25 Thread Robert Persson
I have just acquired an Epson 1660 Photo scanner and I am having real
trouble setting the permissions.

Unfortunately I haven't been able to find a howto that explains clearly
how you are supposed to get permissions sorted out using hotplug with
more recent 2.6 kernels. There's something about a script in
/etc/hotplug/usb, but nothing I can find that tells you what you are
supposed to do with it.

The scanner works fine when run as root.

The permssions of the usb device (/proc/usb/001/004 right at the moment)
are

-rw-rw root:scanner

However, even though user robert is a member of group scanner, he can't
get sane even to recognise the scanner. He can do it though if he chmods
to root:users or root:audio or to most of the other groups he is a
member of. On the other hand there are some other groups of which he is
a member which don't seem to be able to access the scanner -- floppy and
adm for instance. 

Does anyone have any idea what I'm doing wrong?

Many thanks
Robert
 

--
 Neonlicht
Schimmendes Neonlicht
Und wenn die Nacht anbricht
Ist diese Stadt auslicht
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] scanner hotplug permissions torture

2006-06-25 Thread Robert Persson
I found a solution and I have posted it at
http://gentoo-wiki.com/Talk:HOWTO_Install_a_USB_scanner#.22The_above_udev_rules_are_wrong..22.

If anybody who knows their hotplug and udev stuff better than I do could
take it upon themselves to correct the usb scanner howto itself
(http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner), which is very
confusing and misleading, I'm sure there will be good few people out
there who will be very grateful to you. (And not just Gentoo users --
there is a real lack of up-to-date usb scanner documentation out there.)

Robert


Robert Persson wrote:
 I have just acquired an Epson 1660 Photo scanner and I am having real
 trouble setting the permissions.

 Unfortunately I haven't been able to find a howto that explains clearly
 how you are supposed to get permissions sorted out using hotplug with
 more recent 2.6 kernels. There's something about a script in
 /etc/hotplug/usb, but nothing I can find that tells you what you are
 supposed to do with it.

 The scanner works fine when run as root.

 The permssions of the usb device (/proc/usb/001/004 right at the moment)
 are

 -rw-rw root:scanner

 However, even though user robert is a member of group scanner, he can't
 get sane even to recognise the scanner. He can do it though if he chmods
 to root:users or root:audio or to most of the other groups he is a
 member of. On the other hand there are some other groups of which he is
 a member which don't seem to be able to access the scanner -- floppy and
 adm for instance. 

 Does anyone have any idea what I'm doing wrong?
   

-- 

bokuwa ongakka, dentaku katateni
-- 
gentoo-user@gentoo.org mailing list