You are not logged in.

#1 2005-12-23 18:55:26

mgushee
Member
From: Englewood, CO, USA
Registered: 2004-11-28
Posts: 59
Website

USB scanner permissions

Okay, I'm totally confused.

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?


Matt Gushee
Englewood, CO, USA

Offline

#2 2005-12-23 19:25:26

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 801

Re: USB scanner permissions

Have you read this?

Offline

#3 2005-12-23 20:11:15

mgushee
Member
From: Englewood, CO, USA
Registered: 2004-11-28
Posts: 59
Website

Re: USB scanner permissions

I have now. Thanks, I'll try that.


Matt Gushee
Englewood, CO, USA

Offline

Board footer

Powered by FluxBB