LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 04-10-2006, 10:48 PM   #1
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Rep: Reputation: 15
Sane/Xsane can't find HP scanner


Xsane in Sane and I'm not sane, but:

mark@lexington:~$ lsusb
Bus 001 Device 005: ID 03f0:0105 Hewlett-Packard ScanJet 4200c

sudo sane-find-scanner

found USB scanner (vendor=0x03f0, product=0x0105) at libusb:001:005

# Your USB scanner was (probably) detected. It may or may not be supported by SANE. Try scanimage -L and read the backend's manpage.

mark@lexington:~$ scanimage -L

No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool

From http://www.xsane.org/

Backend: hp4200 (1.0-2, NEW!)

Link(s): http://hp4200-backend.sourceforge.net
Manual page: sane-hp4200
Manufacturer Model Interface Status Comment
Hewlett-Packard
ScanJet 4200C USB basic 8bpp color, 75/150/300/600 dpi only
ScanJet 4200Cxi USB basic 8bpp color, 75/150/300/600 dpi only
ScanJet 4200Cse USB basic 8bpp color, 75/150/300/600 dpi only

So the backend is up-to-date. Errhh, I mean there is a proper backend, how can I tell if I have it?

http://alioth.debian.org/project/sho...release_id=660

Shows backends, but I am too newbee to know what to do. When I tried to download the:

sane-backends-1.0.17.tar.gz

FireFox download manager asked if I wanted "open with archive manager". I don't know if that's correct or not.

Anybody have a clue?
__________________
Dell Dimension 4100 730 Meg CPU, 256 Meg RAM, 40Gig HDD, PM560LKI 56K v.90 dial-up modem (Lucent Venus). Brother HL-1440 printer.
 
Old 04-11-2006, 03:22 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
sane-backends-1.0.17.tar.gz is a gzipped tar archive, that is, a bunch of files compressed to a smaller size and in one file. Like a WinZip's .zip archive, but made a bit differently. The contents probably include the backends, or an installer (I don't know, but I'd guess the backends?)

You can open it using the archive manager as firefox suggested, and then extract it - but if you're running as a normal user, you cannot extract it to the location you'd need to - probably. Read the sane's man pages to find out where the backends are located. I still think you already have them..first try to see if you need to edit some configuration file for your scanner (located in /etc/sane.d/ so I'd guess your config file is /etc/sane.d/hp4200.conf or /etc/sane.d/hp.conf -- these are the files I have on my machine, but I think you have the same).

From the console, you can try to look for these:
Code:
locate sane | grep conf | grep hp
(you get the file(s) probably matching your scanner)
sudo <your-editor-name-here> <file-name-from-above>
where <your-editor-name-here> is your favorite editor (vim, nano, emacs, gedit, ...) and <file-name-from-above> is the file name you got using locate - say, /etc/sane.d/hp4200.conf

Then just go through the file and see if there's anything you need to alter there. The hp4200.conf is quite a short one, actually you can only change the usb line there..and I cannot really tell you how.

But yeah, try to install the backends. Read sane's man page(s) and find where the backends ought to be in. Then extract the .tar.gz you downloaded, using

sudo tar -xzf sane-backends-1.0.17.tar.gz

in the directory you need to put them in..
 
Old 04-11-2006, 11:05 AM   #3
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Original Poster
Rep: Reputation: 15
Success, after much fooling around Xsane/sane are up-and-running.

Thanks all who support Linux
 
Old 04-18-2006, 08:26 AM   #4
sir_oliver
LQ Newbie
 
Registered: Sep 2004
Location: right here
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
So what did you do to make it work?

Cheers!
 
Old 04-19-2006, 12:21 AM   #5
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Original Poster
Rep: Reputation: 15
I am using Ubuntu. It has an update / upgrade manager called Synpatic. After using it for nearly 300meg of updates/upgrades, SANE worked. Sorry, I wish I could have been more help.
 
  


Reply

Tags
hp, scanner


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libusb not available to sane-find-scanner Simon Bridge Ubuntu 2 10-10-2005 07:14 PM
need help with xsane and sane jbzy3000 Linux - Software 11 08-09-2004 11:11 PM
sane/xsane can't find usb scanner walterbyrd Linux - Hardware 0 07-24-2004 10:39 AM
sane over network - can't find scanner Smerk Linux - Networking 1 07-18-2004 03:56 AM
xsane and sane demmylls Linux - General 1 11-16-2003 12:39 AM


All times are GMT -5. The time now is 12:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration