Sun Oct 24 15:54:57 CEST 2010

Scanner won't work as user on debian

I've added my normal user account to the "scanner" and "saned" groups,
but xsane doesn't find the scanner.  Everything works fine as root.

An "strace xsane" revealed this:

ioctl(9, USBDEVFS_CONNECTINFO, 0x7fff73649200) = -1 EPERM (Operation not permitted)
ioctl(8, USBDEVFS_IOCTL, 0x7fff73649200) = -1 EPERM (Operation not permitted)

So it seems to be accessing some device that doesn't have its group
changed properly by udev.

All the devices I in /dev/bus/usb have root:root perms.

Improperly setup udev?


Reinstalling udev solved the problem.