LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-25-2010, 01:18 PM   #1
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Linux Mint
Posts: 97

Rep: Reputation: 18
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.
 
Old 10-26-2010, 05:47 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
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.
 
Old 10-26-2010, 06:51 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
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
 
Old 10-27-2010, 12:54 AM   #4
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by prayag_pjs View Post
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
 
Old 10-27-2010, 01:02 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, please check if dbus is running.
Code:
ps -e | grep dbus
Markus
 
Old 10-27-2010, 12:10 PM   #6
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by markush View Post
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
 
Old 10-27-2010, 01:01 PM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
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

Last edited by markush; 10-27-2010 at 01:06 PM. Reason: found an additional link
 
Old 10-28-2010, 01:16 AM   #8
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by markush View Post
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.

Last edited by rl5; 10-28-2010 at 01:19 AM.
 
Old 10-28-2010, 01:37 AM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Brother MFC 420CN Scanner - sane/scanimage/error i/o issues NosLycn Linux - Hardware 11 11-14-2009 10:58 PM
usb scanner premissions issue when running sane-find-scanner vlsd Linux - Hardware 4 08-20-2009 02:20 PM
Scanimage not finding Epson USB scanner lstamm Slackware 1 12-15-2007 12:39 AM
scanimage sane xsane inetd gimp scanner situation davearnt Linux - Hardware 2 04-15-2006 08:31 PM
scanimage hangs talking to usb scanner TSloth Linux - Hardware 1 04-07-2004 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration