Find the answer to your Linux question:
Results 1 to 3 of 3
My old scanner stopped working fairly recently so I got a replacement. This time I got a HP Scanjet G2410 flatbed scanner ... thinking its an HP and must be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042

    Getting HP Scanjet G2410 scanner working in Linux


    My old scanner stopped working fairly recently so I got a replacement. This time I got a HP Scanjet G2410 flatbed scanner ... thinking its an HP and must be well supported in Linux .

    After quite some searching I came across this, and downloaded the zip file from here. The scanner seems to work fine with just the contents of the hp2400.tgz extracted and put in /usr/lib/sane .

    Looking at the contents of some of the files it appears that HP have developed this at some point but don't publish it not even with a this may work but we won't support it discaimer.

    I did start working through this but was not sure if I had to upload firmware to the scanner and could not find relevant information from the drive CD supplied with the scanner.

    Anyway, I thought I would share incase it helps others ...

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,393
    I sounds like you got it working with the unsupported hp2400.tgz sane driver file(s). SANE is a standard scanner interface that is supported by most scanners these days, much like VESA is a standard graphics interface that works with just about any video controller. In either case, the standard will let you use the device, but cannot support all the capabilities of high-end devices, which is why there are device-specific drivers and support software. Unfortunately, a lot of the world still revolves solely around Windows and Linux is just a poor country cousin, to be ignored until they strike oil on the north 40 acres. HP is not a big supporter of Linux on their consumer hardware. Yes, they are a big Unix/Linux house when it comes to their big iron Itanium servers, but that is solely because their customers for those systems insist upon it.
    Last edited by Rubberman; 11-06-2009 at 01:44 AM.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042

    G2410 scanner working with Gentoo

    I started this thread after getting the scanner working with Arch Linux. I decided this last weekend to get the scanner working with Crux and Gentoo as well. Crux worked using prt-get depinst sane xsane then installing the HP2400 drivers.

    The HP drivers are available from here. Extracting the hp2400 information is sufficient, and the four files libsane-hp2400* need to be copied to /usr/lib/sane/

    I emerged sane-backends and xsane thinking that would do what I needed but it didn't (running scanimage -L or xsane gave an error about undefined symbol sanei_usb_init). I needed to install sane-backends-1.0.21-r1 to get the scanner to work (which currently has ~x86 keyword).
    Having got it working I added
    Code:
    SANE_BACKENDS="hp"
    in /etc/make.conf because I don't need all the backends building .

    Ed: I also created an overlay (/usr/local/portage) with sane-backends in, and edited the sane-backends-1.0.21-r1.ebuild to have keyword x86 instead of ~x86. After that I had to cd to the sane-backends folder in my overlay and run
    Code:
    ebuild sane-backends-1.0.21-r1.ebuild manifest
    Then I reinstalled from my overlay having added
    Code:
    source /usr/local/portage/make.conf
    to /etc/make.conf and created /usr/local/portage/make.conf with contents
    Code:
    PORTDIR_OVERLAY="
    /usr/local/portage
    $PORTDIR_OVERLAY
    "
    Not the most elegant solution ... but it works for me .
    Last edited by Jonathan183; 11-07-2010 at 08:13 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •