Install HP Scanjet 2400 in Ubuntu 9.04

From Cosmin's Wiki

Jump to: navigation, search

Home > Linux Desktop tips > Install HP Scanjet 2400 in Ubuntu 9.04

I have an older scanner, an HP ScanJet 2400 which used to work quite fine under Windows. Now I wanted to use the same scanner with Ubuntu 9.04. Initially I have tried the "standard" plug-and-play solution, but that one did not work. The next logical option was to start looking on Google how others might have solved this problem. And indeed, I have found quite a lot of explanations, some easier, some more difficult.

Now that I have finished installing my scanner, here are the steps on how to achieve this:

1. Go to, scroll down to the HP Scanjet 2400 driver and download it to your desktop (it is a .zip archive) 2. Open the archive and copy to your desktop the 2400rv directory. From this directory, you will need to uncompress the hp2400.tgz and the libsane.tgz files. 3. Once all these archives opened, you will have the following structure on your desktop: ~/Desktop/2400rv/usr/lib/sane 4. Now open a terminal as root and copy the drivers to where they belong:

> cp ~/Desktop/2400rv/usr/lib/libsane.* /usr/lib
> cp ~/Desktop/2400rv/usr/lib/sane/libsane-hp2400.* /usr/lib/sane

5. Edit the following file: /etc/sane.d/dll.conf and add a line containing hp2400 after the line hp5400, and save it.

And ... you're done. Power on you scanner, make sure it's connected to your computer and, to check if it's found, you may type:


which should output:

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet scanner], chip=GL646_HP) at libusb:003:006
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

Now you can simply go to Applications->Graphics->Xsane Image Scanning Program and ... scan away.