Azitech

Azimout's Linux weblog

HP DeskJet F2180

with one comment

Have this HP DeskJet F2180 printer/scanner/copier (USB: [03f0:7d04]). sudo sane-find-scanner does detect it, but scanimage -L doesn’t.

Looking at libsane 1.0.20-4ubuntu3, it’s not supported. I have hplip installed, which should provide the hpaio backend. I also tried adding ‘hpaio’ to /etc/sane.d/dll.conf, but it made no difference.

In the end I thought of looking in /var/log/daemon.log and found this:

saned[2023]: saned (AF-indep+IPv6) from sane-backends 1.0.20 starting up
saned[2023]: do_bindings: [1] bind failed: Address already in use
saned[2023]: do_bindings: [0] bind failed: Address already in use
saned[2023]: do_bindings: couldn't bind an address. Exiting.
saned[2023]: FATAL ERROR; bailing out, waiting for children...
saned[2023]: bail_out: all children exited

You can see the same (and more) by running saned -d5.

So it seems that its port (6566) is taken by inetd, as sudo netstat -nlp told me.

I had to configure it as a network scanner following these instructions; the files I modified are:

  • /etc/default/saned
  • /etc/sane.d/saned.conf
  • /etc/inetd.conf
  • /etc/services

In the end, removing the line from /etc/inetd.conf and reloading inetd with sudo /etc/init.d/openbsd-inetd reload worked around the issue

Advertisements

Written by azimout

13/02/2010 at 21:14

Posted in Problems

One Response

Subscribe to comments with RSS.

  1. I’m trying to do the same, but for winworse.. vista and xp, kind of loosing the faith..
    Even i thought to leave it connected to a host, but auto-save to a network shared folder on the host, so the scanned documents would be available to every network member.

    But still can’t figure out how to implement it.
    :S

    nico

    05/10/2010 at 15:39


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: