Lost scanner (13.1)
In previous Slackware libsane releases, my scanner was not supported. In 13.1 the support is there:
root@gandalf:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 03f0:3304 Hewlett-Packard DeskJet 990c Bus 002 Device 004: ID 04a7:0229 Visioneer OneTouch 7100 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub root@gandalf:~# sane-find-scanner ... found USB scanner (vendor=0x04a7 [Visioneer], product=0x0229 [USB Scanner], chip=GL646) at libusb:002:004 ... root@gandalf:~# scanimage -L device `genesys:libusb:002:004' is a Visioneer OneTouch 7100 flatbed scanner On a new Slackware64 install, the scanner worked with Skanlite and xsane. I was so excited that a posted a snippet to the HCL on linuxquestions.org Now, after a few /patches updates, the scanner stopped working. Scanlite and xsane find the scanner but can't scan. The scanner still scans in WinXP. Ive been all over the udev rules and elsewhere but don't see where the change occurred. I tried with a "fresh" Slackware32 with the same results, but unfortunately I had already installed the /patches updates on that system. The only 2 log messages are: SYSLOG: Sep 14 10:47:52 gandalf skanlite: io/hpmud/musb.c 2007: invalid usb_open: Permission denied MESSAGES: Sep 14 10:45:52 gandalf kernel: usb 2-3: new full speed USB device using ohci_hcd and address 4 Sep 14 10:45:52 gandalf kernel: usb 2-3: New USB device found, idVendor=04a7, idProduct=0229 Sep 14 10:45:52 gandalf kernel: usb 2-3: New USB device strings: Mfr=1, Product=3, SerialNumber=0 Sep 14 10:45:52 gandalf kernel: usb 2-3: Product: USB Scanner Sep 14 10:45:52 gandalf kernel: usb 2-3: Manufacturer: Visioneer Why am I suddenly getting "permission denied" both as root, and as the normal user (yes added to 'scanner' group)? What changed from the full DVD installation (using 2.6.33.4-generic and initrd) after added the the patches? I've been googling for months trying different "permission fixes" and fiddling with udev rules with no luck. So there is something I don't understand going on here. |
If you run xsane on the command line, you should get a lot more errors. Or look in ~/.xsession-errors.
|
Quote:
|
Odd. When I do it as a non-root user that belongs to the plugdev and scanner groups, I get stuff like...
Code:
$ xsane |
RC, thats just xsane running through all USB nodes, afaik. I get the same xsane message for each "root hub" but USB printer and USB scanner (and any other plugged in device) don't kick that error. (BTW, the scanner is not multifunction - I have separate USB devices for printer and flatbed scanner.) The USB printer has never given me any issues. Even got HPLIP status in Xfce so I can get ink levels. I was about to give up on the scanner and get a new one when it started working in a clean 13.1 install when slack 1st came out. I really don't have time to roll back all the updates since then - but i may try another clean install on another HD....
|
Aha. I should have read your first post more carefully.
Given your scanimage result, what does "ls -l /dev/bus/usb/002/004" give you? On my machine, it gives.... Code:
# scanimage -L |
Same here,
Code:
# scanimage -L |
Check the backend library. On my Slackware64 install 'ls -l /usr/lib64/sane/libsane-genesys*' gives:
Code:
-rwxr-xr-x 1 root root 890 2010-04-30 14:22 /usr/lib64/sane/libsane-genesys.la* |
Quote:
|
All times are GMT -5. The time now is 12:37 PM. |