[sane-devel] USB: scanimage bails out

Gerhard Jaeger gerhard@gjaeger.de
Fri, 1 Oct 2004 09:43:03 +0200


Hi,

On Thursday 30 September 2004 14:11, Cornelius Koelbel wrote:
> Hello all,
>
> I am running a SuSE 9.1 with a Canon USB Scanner attached.
>
> sane-find-scanner tells me this:
> found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan],
> chip=LM983x?) at libusb:002:003

Try to run it as root and the "?" in "chip=LM983x" will disappear...
>
> and I set up the scanner with yast.
>
> Wenn I log into X and start xsane, I am able to scan.
> But when I got to a terminal and do a "/usr/bin/scanimage", I get this
> message:
> "scanimage: no SANE devices found"

This is somewhat strange. What's the output of:
export SANE_DEBUG_PLUSTEK=20; scanimage -L

[SNIPSNAP]
> The device in the proc filesystem exists:
> --snip--
> linux:~ # ls /proc/bus/usb/002/003  -l
> -rw-rw-rw-  1 root root 57 Sep 30 11:20 /proc/bus/usb/002/003
> --snip--

So there should be no problem in accessing the scanner.

>
> I get such a message in the /var/log/messages:
> --snip--
> Sep 30 11:26:16 linux scanimage: resmgr: server response code 200
> Sep 30 11:26:16 linux scanimage: resmgr: server response code 200
> --snip--

Hmmm, not quite sure about that - maybe here's the problem.
Anybody else?

Gerhard