À toutes fins utiles, quelques notes:
Getting a Scanner to work in Linux [1] par Carla Schroder.
Si
$ scanimage -L
n'identifie pas de scanner, mais bien
# scanimage -L
device `hpaio:/usb/HP_LaserJet_3050?serial=00CNBK406377' is a
Hewlett-Packard HP_LaserJet_3050 all-in-one
comme root, c'est un problème de permissions à régler avec udev:
# sane-find-scanner
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x3217
[HP LaserJet 3050]) at libusb:005:002
- We're getting closer, really we are! Ordinarily at this point we would take this information, the vendor=0x03f0 and product=0x3217, and plug it into a /etc/udev/rules.d/ script. On my Lenny PC, that is /etc/udev/rules.d/z60_libsane.rules. Quit laughing, it is too. I don't invent this stuff, I just use it.
# Hewlett-Packard LaserJet 3050 MFP
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3217", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
- Then I need to add myself to the "scanner" group, and log out and log back in to activate my shiny new group membership.
- Somewheres in my peeve-fueled Google searches I learned about this command from the HP Toolbox:
# hp-check -t
'hpaio' not in '/etc/sane.d/dll.conf'...
SANE backend 'hpaio' is not properly set up.
- Um. OK. I guess the person who crafted this message was charged by the word and ran out of budget. But it turns out it is literal-- I added the word "hpaio" to /etc/sane.d/dll.conf and lo, forsooth, and boy howdy I now have a functioning scanner.
-- Desidia 2009-11-05 12:31 UTC