Re-bonjour à toutes et à tous,

Cette fois c'est un problème de scanner qui me ramène vers vous.

Mon appareil 4 en 1 (imprimante-scanner-photocopieur-fax) HP OfficeJet 5610 (usb) fonctionne très bien en tant qu'imprimante sous Lenny (avec son noyau 2.6.26-2-686) et KDE 3.5.10. Soit dit en passant, avec le même appareil HP OfficeJet 5610, le scannage avec xsane ne posait aucun problème sous Etch/4.0, et j'ai vérifié sous Etch (qui reste depuis mon actualisation ratée sur une partition dans son petit coin, juste pour comparaisons... impossible de travailler avec) dans Synaptic : ce sont exactement les mêmes paquets qui sont installés que sous Lenny.
SAUF que sous Lenny, xsane ne trouve pas de périphérique de scannage !

Sont installés :
sane, xsane, xsane-common, libsane, libsane-extras, libwine-sane.

lsusb donne aux dernières nouvelles ceci :
DEBUT------------------------------------------------------------------------------
l...@ordi:~$ lsusb
Bus 006 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 05e3:0502 Genesys Logic, Inc. GL620USB GeneLink USB-USB Bridge
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 03f0:4f11 Hewlett-Packard Officejet 5600 (USBHUB)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
FIN------------------------------------------------------------------------------

A la page man sane-usb, j'ai lu ceci :
DEBUT------------------------------------------------------------------------------
The goal of this section is to get the scanner detected by sane-find-scanner(1).

Run sane-find-scanner. If it lists your scanner with the correct vendor and product ids, you are done. See section SANE ISSUES for
      details on how to go on.

sane-find-scanner doesn’t list your scanner? Does it work as root? If yes, there is a permission issue. See the LIBUSB section for
      details.

Nothing is found even as root? Check that your kernel supports USB and that libusb is installed (see section LIBUSB).
USB ACCESS METHODS
For accessing USB devices, the USB library libusb is used. There used to exist another method to access USB devices: the kernel scanner driver. The kernel scanner driver method is deprecated and shouldn’t be used anymore. It may be removed from SANE at any time. In Linux, the kernel scanner driver has been removed in the 2.6.* kernel series. Only libusb access is documented in this
      manual page.

LIBUSB
SANE can only use libusb 0.1.6 or newer. It needs to be installed at build-time. Modern Linux distributions and other operating
      systems come with libusb.

Libusb can only access your scanner if it’s not claimed by the kernel scanner driver. If you want to use libusb, unload the kernel driver (e.g. rmmod scanner under Linux) or disable the driver when compiling a new kernel. For Linux, your kernel needs support for the USB filesystem (usbfs). For kernels older than 2.4.19, replace "usbfs" with "usbdevfs" because the name has changed. This filesystem must be mounted. That’s done automatically at boot time, if /etc/fstab contains a line like this:

             none /proc/bus/usb usbfs defaults  0  0

The permissions for the device files used by libusb must be adjusted for user access. Otherwise only root can use SANE devices. For Linux, the devices are located in /proc/bus/usb/ or in /dev/bus/usb, if you use udev. There are directories named e.g. "001" (the bus name) containing files "001", "002" etc. (the device files). The right device files can be found out by running scanimage -L as root. Setting permissions with "chmod" is not permanent, however. They will be reset after reboot or replugging the scanner.


FIN------------------------------------------------------------------------------

Le scanner n'est détecté ni sous l'utilisateur lamda ni sous root. En fait, pour les deux :
bash: sane-find-scanner: command not found

Par contre, je me (et vous) demande si on ne serait pas ici dans le même cas de figure de problème qu'avec ce que je décrivais dans mon autre message à propos de VirtualBox 1.6.6 : un utilisateur lambda ne pourrait être habilité à utiliser "usb" que si il figure dans un groupe qui est décrit comme utilisateur autorisé de usbfs / usbdevfs

En outre (je cite le texte ci-dessus: "SANE can only use libusb 0.1.6 or newer.") quid de la version de libusb sur Lenny ? Le paquet s'appelle libusb-0.1-4, mais la "version installée" s'appelle 2:0.1.12-13 (lu dans Synaptic, propriétés, général)...

Merci de votre aide.

Cordialement

Ludovic





Répondre à