Comment 278 for bug 85488

Revision history for this message
swiftnet (alex-swiftnetcomputers) wrote : Kubuntu Fiesty LiDe 60 works only as root

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.