On 08 Oct 17:24, Bev Nicolson wrote:
And again, plugged in. I don't think I've missed anything out.
Bev.
Bus 001 Device 002: ID 06bd:2061 AGFA-Gevaert NV SnapScan 1212U (?) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 8 idVendor 0x06bd AGFA-Gevaert NV idProduct 0x2061 SnapScan 1212U (?) bcdDevice 1.00 iManufacturer 1 AGFA iProduct 2 SNAPSCAN iSerial 0 bNumConfigurations 1
<snippage class="mass" />
/dev/bus/usb/001: total 0 drwxr-xr-x 2 root root 80 2010-10-08 17:19 . drwxr-xr-x 3 root root 60 2010-10-08 16:42 .. crw-rw-r-- 1 root root 189, 0 2010-10-08 16:42 001 crw-rw-r--+ 1 root root 189, 1 2010-10-08 17:20 002
OK - so this shows us that the scanner device is owned by root:root, this is where the problem is...
So, what you need to do is add a udev rule that does the right thing for you.
So create a file in /etc/udev/rules.d called 025_agfa-snapscan.rules and put the following as the content:
--- FILE CONTENT START --- SUBSYSTEM!="usb|usb_device", GOTO="agfa_snapscan_rules_end" ACTION!="add", GOTO="agfa_snapscan_rules_end"
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="2061", MODE="0660", GROUP="scanner"
LABEL="agfa_snapscan_rules_end" --- FILE CONTENT END ---
Then unplug and plug back in the scanner. The device should then be in the scanner group instead of root, and assuming that you are in the scanner group, you'll have access to it. If you're not in the scanner group, but are in plugdev, then just change the GROUP setting above.
Thanks,