OK, well, I commented out all of the other backends in /etc/sane.d/dll.conf, then rebooted the box, and though scanimage -L is still spotty (it did actually see it once), I can now run xsane (but only as root).
A mortal user gets the "no devices available" box.
A dump of /proc/bus/usb/devices yields:
Code:
<snip>
.
.
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=0601 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=HP ScanJet 6300C
S: SerialNumber=
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms
.
.
Looking at permissions:
Code:
(1)
[root@kenobi: ~]$ nano /etc/udev/rules.d/025_libsane.rules
<snip>
.
.
# Hewlett-Packard|ScanJet 6300C
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0601", MODE="664", GROUP="scanner"
.
.
(2)
[root@kenobi: ~]$ lsl /proc/bus/usb/001/005
-rw-rw-r-- 1 root scanner 57 Jun 17 21:51 /proc/bus/usb/001/005
So, the group "scanner" has read-write permissions on the device, and my user is included in the group "scanner".
But xsane will still only find it if launched by the root user.
What am I missing here in able to allow my regular user to access the scanner? I assume, since it's using libusb, I don't have to specify another device file for it to use. Nevertheless, I created a symlink from /dev/scanner to /dev/usb/scanner0. However, all of the /dev/usb/scanner* device nodes have 666 permissions, so THAT shouldn't be an issue either.
Thanks...Bob