N.B This article was translated mostly with Google Translate, so some sentences may not be clear. Feel free to correct me if possible. Unlike printers, most of flatbed scanners Hewlett-Packard are not compatible with Linux, HP even acknowledged on their website. In this post, however we will see how to install these drivers easily and avoid throwing in the trash your scanner because it's works only on Microsoft Windows.
Before all, install sane and sane-utils if not already done, so:
sudo apt-get install sane sane-utils xsane xsane-common
Download this file on your desktop : hp_scanjet_g2410.tar.gz
tar -xvzf hp_scanjet_g2410.tar.gz
You get two distinct folders: usr-lib and usr-lib-sane
And now, just copy-paste, with root permission, all files inside into
sudo cp usr-lib/* /usr/lib
sudo cp usr-lib-sane/* /usr/lib/sane
So, connect your scanner with USB cable, then push power on button. Close all applications running and restart your computer!
Once your computer restarts, go to console again and type this command:
You should get a line like that:
device `hp2400:libusb:001:010' is a Hewlett-Packard hp2400 flatbed scanner
Run xsane to begin scanning your documents!
This driver was installed and tested successfully under Ubuntu 8.04 hardu. Feel free to leave your comments if it worked for you on other Ubuntu version or others Linux distributions.
NB. This driver is a bit limited because two buttons on the front device will not be works, but no desire to use xsane with classical. The scanner is also quite noisy during acquering and the rest yet, but more moderately, a minute after the last scan, do not worry this is normal.