[lug] usb question

Davide Del Vento davide.del.vento at gmail.com
Fri Jul 23 15:34:56 MDT 2010


Hi,
I'm trying to get a Visioneer Strobe XP 100 (not r3) scanner to work.
It should, according to the sane website:
http://www.sane-project.org/sane-mfgs.html#Z-VISIONEER if I have the
plustek backend installed, which I have.

Now, both lsusb (1) and sane-find-scanner (2) find the hw as follows:

(1) Bus 005 Device 012: ID 04a7:0427 Visioneer

(2) found USB scanner (vendor=0x04a7 [Visioneer Inc.], product=0x0427
[Strobe XP 100], chip=LM9832/3) at libusb:005:012

But scanimage -L (3) does not: "No scanners were identified. (snip).
Please read the documentation"

Reading the documentation it recommends, I understand that scanimage
sometimes wants you to fully specify something like
-d=hp:/dev/usbscanner0.
In my case that should be plustek:/dev/something. Now that "something"
in this Ubuntu Hardy box is one of /dev/usbdev*. And according to (1)
and (2) it must be one of /dev/usbdev5.12_ep*. I have four of them
(not sure why): /dev/usbdev5.12_ep00  /dev/usbdev5.12_ep03
/dev/usbdev5.12_ep81  /dev/usbdev5.12_ep82 and all of them fail with
the message:

$ scanimage -d=plustek:/dev/usbdev5.12_ep00
scanimage: open of device plustek:/dev/usbdev5.12_ep00 failed: Error
during device I/O

which is actually the same error that I get with a random, unrelated, device:

$ scanimage --device-name=plustek:/dev/mixer
scanimage: open of device plustek:/dev/mixer failed: Error during device I/O

Just for the fun of it, I've run a
for file in /dev/*; do scanimage --device-name=plustek:$file; done
2>&1 | grep -v "Error during device I/O"
for file in /dev/*/*; do scanimage --device-name=plustek:$file; done
2>&1 | grep -v "Error during device I/O"
for file in /dev/*/*/*; do scanimage --device-name=plustek:$file; done
2>&1 | grep -v "Error during device I/O"
(and so on) - and I've got nothing.

I also tried to recompile the entire last version of sane and I've
installed it in /opt (and discovered that the plustek conf file is
exactly the same as the one in my distro). Not sure if I'm using this
self-compiled stuff properly, but I get the very same results.

Ah, again, just for the fun of it, I've also tried this:
http://gicl.cs.drexel.edu/people/tjkopena/projects/xp100-scanner/ and
it somehow works, but just for a 2"x4" section of the sheet and in B/W
(I've also hacked a little bit with its source code, which seems to
miss some trivial stuff, but it didn't help).

Any suggestions?

Thanks and Enjoy your weekend!
;Dav



More information about the LUG mailing list