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 :rolleyes:.
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 :cool:.
Looking at the contents of some of the files it appears that HP have developed this at some point but don't publish it :mad: 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:oops:.
Anyway, I thought I would share incase it helps others ...
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
in /etc/make.conf because I don't need all the backends building :rolleyes:.
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
Then I reinstalled from my overlay having added
ebuild sane-backends-1.0.21-r1.ebuild manifest
to /etc/make.conf and created /usr/local/portage/make.conf with contents
Not the most elegant solution ... but it works for me :D.