On Tuesday 27 December 2005 03:05, Tobias Powalowski wrote: > > The only thing that might still be wrong is that all the devices reported > > in /sys/bus/usb get their group ownership changed to camera when it is > > plugged in. > > Hi > scanners and cameras should be treated seperatly. > the scripts set the permission on the proc device, because libusb works > this way.
But why are all the devices under /sys/bus/usb set to camera group ownership? The scanner is set as scanner, but everything else is camera. Here is my dir listing, and the camera is not plugged in right now. [EMAIL PROTECTED] /proc/bus/usb] $ ls total 0 dr-xr-xr-x 2 root root 0 2005-12-26 16:30 001/ dr-xr-xr-x 2 root root 0 2005-12-26 16:30 002/ dr-xr-xr-x 2 root root 0 2005-12-26 16:30 003/ dr-xr-xr-x 2 root root 0 2005-12-26 16:30 004/ -r--r--r-- 1 root root 0 2005-12-27 07:56 devices [EMAIL PROTECTED] /proc/bus/usb/001] $ ls total 0 -rw-rw---- 1 root camera 43 2005-12-26 16:30 001 -rw-rw---- 1 root camera 43 2005-12-26 16:30 004 [EMAIL PROTECTED] /proc/bus/usb/002] $ ls total 0 -rw-rw---- 1 root camera 43 2005-12-26 16:30 001 -rw-rw---- 1 root camera 52 2005-12-26 16:30 002 -rw-rw---- 1 root camera 52 2005-12-26 16:30 003 [EMAIL PROTECTED] /proc/bus/usb/003] $ ls total 0 -rw-rw---- 1 root camera 43 2005-12-26 16:30 001 -rw-rw---- 1 root scanner 57 2005-12-26 18:33 002 -- Greg _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
