non-root usb scanning
Peter L. Hurd
phurd at ualberta.ca
Sat May 29 17:04:17 UTC 2004
Hey All,
I'm still trying to get my usb scanner to work for non-root users.
I've found the device file with the 0644 permissions that is causing the
problem at /proc/bus/usb/001/002. I can chmod that file a+rw and mortal
user scanning works, but that needs to be re-chmodded each time I
reboot. I suppose I could add a line to rc.local, but that would be
tacky, and I suppose may fail when other usb devices move around.
The solution sounds like either one of:
1) Make all usb devices have mode 0666. I added the line
none /proc/bus/usb usbfs defaults,devmode=0666 0 0
to fstab. But it doesn't work! The scanner still comes up 0644. Why?
2) muck around with hotplug. I honestly don't intend on hotplugging my
scanner and the last time I mucked around with hotplug was to get my
Axim to hotplug/synce/multisync and the whole thing just left me with a
rash... I want option 1,
Any ideas why option 1 doesn't work. Has anyone actually gotten option
2 to work (please don't say "I havn't but it ought to").
-P.
--
Peter L. Hurd Department of Psychology
Assistant Professor University of Alberta
Ph 780.492-3578, Fax 780.492-1768 Edmonton, Alberta
http://www.psych.ualberta.ca/~phurd T6G 2E9 Canada
More information about the users
mailing list