I have a Canon Lide-30 USB scanner which I have used under Arch Linux many times--but not for 2 or 3 months. However, I was never able to configure hotplug to set the permissions automatically; I always had to become root and manually set the permissions in order to access the scanner as a regular user. Now, of course, the devices are all different (I mostly keep up with the latest release, don't really use testing packages, so I now have kernel 2.6.14).
Here's what's happening:
I plugged in the scanner's USB cable after booting (my machine's been up continuously for a few days, so I would have to shut down to do otherwise).
Loaded the uhci-hcd module ... now /proc/bus/usb is mounted, and it contains a node for my scanner.
Run sane-find-scanner as root:
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:001:002
Run sane-find-scanner as myself: same as above
Run xsane as root: OK.
Run xsane as myself: No devices found.
# chmod 777 /dev/usbdev1.2 (which I think represents the scanner)
# chmod 777 /dev/usbdev1.1
# chmod 777 /proc/bus/usb/001/002
# chmod 777 /proc/bus/usb/001/001
No change. I still can't access the scanner as myself.
By the way, it appears that the hotplug daemon won't start, though I'm not quite sure why. There are no files in /var/log/hotplug. In /var/log/errors, I see
DEVPATH is not set (subsystem pci)
But according to a brief Google search, this is not a serious problem.
So what's the magic formula?
]]>