I just tried my scanner and found it does not show (scanimage -L) unless I'm
root.
ran strace as regular user and as root. Ran diff and the most glaring problems
seem to be:
user:
< open("/dev/bus/usb/005/004", O_RDWR) = -1 EACCES (Permission denied)
< open("/dev/bus/usb/005/004", O_RDONLY) = 4
< ioctl(4, USBDEVFS_CONNECTINFO, 0xbf9facf4) = -1 EPERM (Operation not
permitted)
versus root:
> open("/dev/bus/usb/005/004", O_RDWR) = 4
> ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdde074) = 0
Running lsusb shows my scanner as: Bus 005 Device 004: ID 04a9:221c Canon, Inc.
So as a single user on a system behind a separate firewall on a trusted
network, I did the unthinkable and ran the following:
sudo chmod -Rf 0777 /dev/bus/usb/005
That fixed my scanner perms problem.
Cheers,
Alex C.
--
some usb_devices fault if usb_suspend enabled
https://bugs.launchpad.net/bugs/85488
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs