LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   find-scanner: yes... scanimage: no (https://www.linuxquestions.org/questions/linux-hardware-18/find-scanner-yes-scanimage-no-840368/)

rl5 10-25-2010 01:18 PM

find-scanner: yes... scanimage: no
 
I posted in the Ubuntu forum regarding a problem with an HP Scanjet G4010 scanner, but now I have a specific question. The scanner is reported with lsusb and recognized by sane-find-scanner, but scanimage -L does not find the scanner.

My question is: What would be the cause of the scanner being reported in lsusb and sane-find-scanner but not recognized by scanimage -L?

TIA.

prayag_pjs 10-26-2010 05:47 AM

Does the scanner report it's name correctly?
Code:

scanimage --test
Are any errors reported?

See

Code:

man scanimage
for more info and a list of other utilities.

markush 10-26-2010 06:51 AM

hello rl5,

it is essential as which user you executed the sane-find-scanner and the scanimage command. If both works for root but not for a normal user (or only sane-find-scanner for a normal user) you'll have to add the users to the adequate groups, e.g. the group scanner.

If scanimage -L doesn't even work for root you'll have to post more informations.

Markus

rl5 10-27-2010 12:54 AM

Quote:

Originally Posted by prayag_pjs (Post 4139584)
Does the scanner report it's name correctly?
Code:

scanimage --test
Are any errors reported?

Results:
Code:

$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

found USB scanner (vendor=0x03f0, product=0x4505, chip=GL845?) at libusb:004:002


$ scanimage --test
scanimage: no SANE devices found



Quote:

it is essential as which user you executed the sane-find-scanner and the scanimage command. If both works for root but not for a normal user (or only sane-find-scanner for a normal user) you'll have to add the users to the adequate groups, e.g. the group scanner.

If scanimage -L doesn't even work for root you'll have to post more informations.
The results are the same whether user or su... sane-find-scanner reports the scanner, scanimage -L doesn't.

Sane is 1.0.14-9

markush 10-27-2010 01:02 AM

Well, please check if dbus is running.
Code:

ps -e | grep dbus
Markus

rl5 10-27-2010 12:10 PM

Quote:

Originally Posted by markush (Post 4140526)
Well, please check if dbus is running.
Code:

ps -e | grep dbus

Results:
Code:

$ ps -e | grep dbus
  674 ?        00:00:00 dbus-daemon
 1167 ?        00:00:00 dbus-launch
 1168 ?        00:00:01 dbus-daemon


markush 10-27-2010 01:01 PM

Well, I'd recommend to try "scanimage -L" instead, as root. If this is without a result, I think there is an issue with the driver. Have you used the scanner before with another distribution or with another version of Ubuntu or another kernel?

EDIT: Mh, doesn't look good http://www.sane-project.org/cgi-bin/...model=&bus=usb maybe your device isn't supported by Linux.

Markus

rl5 10-28-2010 01:16 AM

Quote:

Originally Posted by markush (Post 4141262)
Well, I'd recommend to try "scanimage -L" instead, as root.

The results are the same - "sudo scanimage -L" does not find the scanner.


Quote:

If this is without a result, I think there is an issue with the driver. Have you used the scanner before with another distribution or with another version of Ubuntu or another kernel?
Not really - I've also tried it on Kubuntu 10.10 with the same results, but that's the same kernel. The scanner works fine with Win 7/XP.


Quote:

EDIT: Mh, doesn't look good http://www.sane-project.org/cgi-bin/...model=&bus=usb maybe your device isn't supported by Linux.
Someone send me this link (scroll down to the bottom of the HP chart) so I had hopes I could get it working.

markush 10-28-2010 01:37 AM

Well, this looks interesting.
Did the mentioned manpage for sane-genesys help you?
Check your system for the requirements in the manpage (e.g. libusb version higher than 0.1.6)
Edit the /etc/sane.d/genesys.conf file.
Check the mentioned environment variables.
Refering to that manpage I think there are chances to get it work.
Good luck.

Markus


All times are GMT -5. The time now is 02:29 PM.