Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 16:58
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
problems with xsane and scanner hp scanjet 2400
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
silvio.caggia

Joined: 28 Sep 2011
Posts: 5
Location: Torino, Italy

PostPosted: Wed 28 Sep 2011, 10:07    Post_subject:  problems with xsane and scanner hp scanjet 2400  

I have some problems with xsane and my scanner hp scanjet 2400

I tryed to use the scanner with two laptops:
- a Compaq Evo N800v with Lucid Puppy 5.2.8 installed in frugal mode
- a Compaq 6720s with Lucid Puppy 5.2.8 booted from usbkey (windows7 on HD)

in both cases xsane (present in distro) recognizes the scanner, if I try to scan with default parameters I get error: invalid parameters, I have to choose Color and resolution 300 in order to start scanning, but the scanned page is not correct: it seems as if it had scanned a little portion of the page, more times, with different color filters, and the result of each scanning is offset of some pixel down and right.
In other words the result il garbage but correlated to the content of the page.
Any suggestion?
Back to top
View user's profile Send_private_message MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9372
Location: Stratford, Ontario

PostPosted: Wed 28 Sep 2011, 10:56    Post_subject:  

First of all, did you have to perform any extra setup procedures to get your scanner working?

Open a console and type the command
Code:
sane-find-scanner

We need to know the vendor/product ID codes for this unit. They may be
Code:
0x03f0 0x0a01

According to the SANE website, this scanner is supported by the genesys backend, but is UNTESTED. Run the command
Code:
scanimage -L

Does it show the name "genesys"?
Back to top
View user's profile Send_private_message 
silvio.caggia

Joined: 28 Sep 2011
Posts: 5
Location: Torino, Italy

PostPosted: Wed 28 Sep 2011, 11:16    Post_subject:  

sh-4.1# 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.

# 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=0x0a01 [hp scanjet scanner], chip=GL646_HP) at libusb:004:002
# 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.
sh-4.1# scanimage -L
device `genesys:libusb:004:002' is a Hewlett Packard ScanJet 2400c flatbed scanner
sh-4.1#

yes, it shows genesys.
Back to top
View user's profile Send_private_message MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9372
Location: Stratford, Ontario

PostPosted: Wed 28 Sep 2011, 11:27    Post_subject:  

Good. HP has never provided a Linux driver for the Scanjet 2400C. Even though the SANE website lists it, the Genesys website does not show it as a supported model. Which probably explains your problem.

However, a bit of Googling led me to a Ubuntu forum, which had a working driver from here (of all places.)

I have packaged this as a PET below. Be aware that it installs an older version of the SANE driver, so it might break the installation of other scanners.

Please report back.
hp2400_backend-1.0.18.pet
Description 
pet

 Download 
Filename  hp2400_backend-1.0.18.pet 
Filesize  187.5 KB 
Downloaded  586 Time(s) 
Back to top
View user's profile Send_private_message 
silvio.caggia

Joined: 28 Sep 2011
Posts: 5
Location: Torino, Italy

PostPosted: Wed 28 Sep 2011, 14:42    Post_subject:    

Great!
I installed your pet file, now each time I start xsane it asks which scanner to use (hp2400 or genesys) and if I choose hp2400 it works fine, if I choose genesys it works bad as before.
Many Thanks! If you came in Italy, Turin, there is a beer for you! Smile
Back to top
View user's profile Send_private_message MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9372
Location: Stratford, Ontario

PostPosted: Wed 28 Sep 2011, 16:13    Post_subject:  

Excellent. Now open the file /etc/sane.d/dll.conf and comment out all the lines except the new "hp2400" at the end. Now your scanner software will start faster.

Can you do a test for me? I would like to know if Peasyscan works with this hp2400 backend.
Back to top
View user's profile Send_private_message 
silvio.caggia

Joined: 28 Sep 2011
Posts: 5
Location: Torino, Italy

PostPosted: Wed 28 Sep 2011, 17:18    Post_subject:  

ok, I commented out only genesys in order not to have to choose, it's fast enought for me Smile

I tried peasyscan, I made a prewiev, selected an area, done a scan, saved as pdf. works. It was not so intuitive for me that after scan I had to save in order to have the file... Smile I think buttons should be disposed in a more intuitive way for a novice user or tell user what to do next... but I am a bad testing user... Smile

thanks again!
Back to top
View user's profile Send_private_message MSNM 
Priyantha

Joined: 17 Nov 2011
Posts: 1

PostPosted: Thu 17 Nov 2011, 02:14    Post_subject:    

Hi rcrsn51,

Thank you for your excellent work!

Now I'm using hp scanjet 2400 with Puppy Razz
Back to top
View user's profile Send_private_message 
VFRdave

Joined: 15 Nov 2010
Posts: 2

PostPosted: Mon 13 Feb 2012, 17:54    Post_subject:    

Thanks sooo much rcrsn51, the hp 2400 driver works a treat. I almost rebooted in Windoze to use the scanner. Phheeww - that was a close one.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0682s ][ Queries: 13 (0.0118s) ][ GZIP on ]