Merci déjà à vous 2 de me consacrer du temps.
Le scanneur est un HP deskjet 2130 comme le donne les
commandes suivantes :
scanimage -L
device `hpaio:/usb/DeskJet_2130_series?serial=CN66F4B36Y065T' is a Hewlett-Packard DeskJet_2130_series all-in-one
device `net:127.0.0.1:hpaio:/usb/DeskJet_2130_series?serial=CN66F4B36Y065T' is a Hewlett-Packard DeskJet_2130_series all-in-one
sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [HP], product=0xe111 [DeskJet 2130 series]) at libusb:002:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Je n’ai pas de message d’erreur sur le serveur.
Le client Ubuntu me donne « echec de numérisation, impossible de se connecter au
périphérique de numérisation ». Message similaire avec Twain Sane sous W10.
Voici ce que je peux vous donner comme infos :
Mon access list donne ceci :
cat /etc/sane.d/saned.conf
# saned.conf
# Configuration for the saned daemon
## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.
#
# data_portrange = 10000 - 10100
## Access list
localhost
10.0.0.1/24
192.168.1.0/24
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.
#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:db8:185e::42:12]
#[2001:db8:185e::42:12]/64
# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5))./
Le fichier Net.conf du serveur Sane :
cat /etc/sane.d/net.conf
# This is the net backend config file.
## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
# connect_timeout = 60
## saned hosts
# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend. Going through the net backend
# may be necessary to access devices that need special privileges.
10.0.0.1/24
localhost
Netstat :
netstat -anlp | grep 6566
tcp6 0 0 :::6566 :::* LISTEN 1/init
Id saned :
id saned
uid=115(saned) gid=121(saned) groupes=121(saned),7(lp),120(scanner)
Les droits :
ls -lR /dev/bus/usb/002/003
crw-rw-rw- 1 saned saned 189, 130 nov. 22 12:04 /dev/bus/usb/002/003