[sane-devel] USB: scanimage bails out
Cornelius Koelbel
cornelius.koelbel@gmx.de
Fri, 01 Oct 2004 09:52:40 +0200
Hello,
I set the /usr/bin/scanimage suid and now it works (at the moment).
But I was so much fiddling about, that I am not sure, if it works, when
I install it anew.
Hm, we will see. I guess this thread isn't closed yet ;-)
I will check your hints!
Regards
Cornelius
Gerhard Jaeger wrote:
> 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
>
>
>
--
Diese Nachricht wurde auf Viren und andere gefaehrliche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
MailScanner dankt transtec fur die freundliche Unterstutzung.