LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-28-2008, 12:06 AM   #1
Strixy
Member
 
Registered: Apr 2004
Location: Nowhere, Oblivion
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 15
Solved: HP Scanjet G3010 Trouble


I've been working on getting an HP Scanjet G3010 to work with my Mepis 7 system.

lsusb output
Bus 001 Device 006: ID 03f0:4205 Hewlett-Packard

cat /proc/bus/usb/devices
Code:
T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=4205 Rev= 1.00
S:  Manufacturer=hewlett packard
S:  Product=hp scanjet
S:  SerialNumber=CN7CQA53
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
sane-find-scanner reports
Code:
  # 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.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [hewlett packard], product=0x4205 [hp scanjet], chip=RTS8822) at libusb:001:006
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
I tried to use synaptic to install SANE, but all front-end SANE applications locked up (eg. GIMP, Kooka) when I tried to open them. As did the command line scanimage and xscanimage.

I removed the original SANE install, then d/l and compiled sane-backends from source and also the front-ends. No change.

I tried to use the hplip toolkit - note that this is for printers and there isn't a scanner that is supported with this. Besides all the other comments out there that hplip is the solution - it's not.

I've been digging through config files and README's and MAN pages and I'm stumped. There doesn't appear to be a support forum for SANE.

I searched the internet with Google, nothing. I've searched this forum and found two dead threads from 07 with no resolutions attached.

Any advice, even if it is to recommend a scanner that works, would be greatly appreciated.

Last edited by Strixy; 04-28-2008 at 01:59 AM. Reason: Update thread title to solved.
 
Old 04-28-2008, 12:21 AM   #2
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
Have you come across these via Google:

http://www.sane-project.org/sane-mfg...EWLETT-PACKARD

http://sourceforge.net/projects/hp3900-series/

http://www.sane-project.org/man/sane-hp3900.5.html
 
Old 04-28-2008, 12:53 AM   #3
Strixy
Member
 
Registered: Apr 2004
Location: Nowhere, Oblivion
Distribution: Ubuntu
Posts: 48

Original Poster
Rep: Reputation: 15
Yes. I have been working with the hp3900 backend as well. The readme says, " If autodetection does not work, add the device name of your scanner to the configuration file".

I went to change it and found that the device name was already listed in the config file. No advice on that outcome.

Still working at it.

Actually, if it helps, this is the output of that process.
Code:
- Info : hp3900 backend already enabled in dll.conf ...
- Installation ends succesfully...
When I use scanimage from the cl, it hangs.

This this appears to be helpful
http://sourceforge.net/forum/forum.p...orum_id=503228

Last edited by Strixy; 04-28-2008 at 01:09 AM.
 
Old 04-28-2008, 01:57 AM   #4
Strixy
Member
 
Registered: Apr 2004
Location: Nowhere, Oblivion
Distribution: Ubuntu
Posts: 48

Original Poster
Rep: Reputation: 15
It looks like I missed a couple of things.

When I compiled the hp3900 backend, the dll.conf file (which controls the modules to load) was sent to the wrong place. I edited the /etc/sane.d/dll.conf file to resemble the new one in /usr/local/share/sane/dll.conf and for good measure I moved the .la, .so, etc.. files for hp3900 into /etc/sane.d as well.

I had to reboot to get the file permissions to work with the scanner properly, but it appears to be working just fine now.

This advice was discovered on the hp3900 forum.
http://sourceforge.net/forum/forum.p...orum_id=503228

To confirm which files are being loaded and from where, use the command
SANE_DEBUG_DLL=128 scanimage -L

I also noticed that the above hungup on certain drivers, so I uncommented those ones out of the /etc/sane.d/dll.conf file until it made it through the list. What was the point of loading all of those modules for scanners I'll never use? I left all the HP ones intact, but took out the majority of the others.
 
Old 04-28-2008, 02:09 AM   #5
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
Great! Glad you found the solution and posted it for future reference.
 
  


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
HP Scanjet g3010 - can it be set up on linux ? moljac024 Linux - Hardware 3 11-24-2007 07:25 PM
hp scanjet 5500c jkassemi Linux - Hardware 3 10-17-2005 07:42 PM
HP ScanJet 4750c evilmonkey Linux - Hardware 2 10-17-2005 07:41 PM
Trouble installing hp scanjet 5470c backend on Redhat 9.0 ravi_iisc Linux - Hardware 0 10-28-2004 05:35 PM
HP ScanJet 4570c harley51 Fedora 0 12-21-2003 01:25 PM

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

All times are GMT -5. The time now is 04:40 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