scanner permissions problem
Amadeus W.M.
amadeus84 at verizon.net
Wed Jun 4 01:23:10 UTC 2008
I have this Brother DCP-130 printer+scanner which I got it to work both as
a printer and as a scanner under F8 with the drivers from the manufacturer.
It's connected to the usb port.
The printer works in F9 but the scanner only works as root (with xsane).
As user I'm getting this error:
Failed to open device `brother2:bus4;dev2':
Error during device I/O.
Since as root it seems fine, I imagine this is a permissions problem. So
[root at phoenix rules.d]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 413c:3200 Dell Computer Corp. Mouse
Bus 003 Device 002: ID 04f9:01a8 Brother Industries, Ltd DCP-130C
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Since it's on bus 3, device 2, I took a shot in the dark and I did
ls -l /dev/usbdev3.2_ep*
crw-rw---- 1 root root 249, 12 2008-05-31 23:19 /dev/usbdev3.2_ep00
crw-rw---- 1 root root 249, 13 2008-05-31 23:19 /dev/usbdev3.2_ep01
crw-rw---- 1 root root 249, 15 2008-05-31 23:19 /dev/usbdev3.2_ep03
crw-rw---- 1 root root 249, 18 2008-05-31 23:19 /dev/usbdev3.2_ep08
crw-rw---- 1 root root 249, 14 2008-05-31 23:19 /dev/usbdev3.2_ep82
crw-rw---- 1 root root 249, 16 2008-05-31 23:19 /dev/usbdev3.2_ep84
crw-rw---- 1 root root 249, 17 2008-05-31 23:19 /dev/usbdev3.2_ep85
crw-rw---- 1 root root 249, 19 2008-05-31 23:19 /dev/usbdev3.2_ep89
It would make sense then that I can't access it as user. So I changed
permissions to 666 but no luck. Anyway, I imagine setting the permissions
manually wouldn't be the right way anyway, it should probably be done via
udev or hal somehow, but I have no idea how. I did grep for the vendor Id
(04f9) in /etc/udev/rules.d but returned nothing. This is but one of the
endless troubles I'm having that I suspect are due to udev/hal.
Help please?
More information about the users
mailing list