tech:notes_scanner_sane

Table des matières

Notes scanner sane

Voir simple-scan, xsane,

apt-get install simple-scan

Pb

Pb 1

# lsusb |grep -i scanner
Bus 002 Device 004: ID 07b3:0413 Plustek, Inc. OpticSlim 1200 Scanner
# 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.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x07b3, product=0x0413 [600dpi USB Scanner], chip=GT-6816) at libusb:002:004
  # 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.
# scanimage -L
device `gt68xx:libusb:002:004' is a Plustek OpticSlim 1200 flatbed scanner

Solution

Source https://forum.ubuntu-fr.org/viewtopic.php?id=1080701

wget https://bugs.archlinux.org/task/20374\?getfile\=5563 -O  cism216.fw
mkdir /usr/share/sane/gt68xx/
cp cism216.fw /usr/share/sane/gt68xx/
chmod -R a=rwX /usr/share/sane/gt68xx
cp -p /etc/sane.d/gt68xx.conf{,.orig}
vim /etc/sane.d/gt68xx.conf

Il faut ajouter les lignes suivantes :

override "plustek-opticslim-1200"
firmware "/usr/share/sane/gt68xx/cism216.fw"

Ça doit ressembler à

/etc/sane.d/gt68xx.conf
##############################################################################
# Autodetect Plustek OpticSlim 1200
usb 0x07b3 0x0413
override "plustek-opticslim-1200"
firmware "/usr/share/sane/gt68xx/cism216.fw"

Pb 2

$ scanimage -L
device `escl:http://127.0.0.1:60000' is a HP DeskJet 3630 series [9BE284] (USB) flatbed scanner
device `hpaio:/usb/DeskJet_3630_series?serial=CN5CS2H5YV067P' is a Hewlett-Packard DeskJet_3630_series all-in-one

$ scanimage -T -d escl:http://127.0.0.1:60000
Output format is not set, using pnm as a default.
scanimage: open of device escl:http://127.0.0.1:60000 failed: Out of memory

$ scanimage -T -d 'hpaio:/usb/DeskJet_3630_series?serial=CN5CS2H5YV067P'
Output format is not set, using pnm as a default.
scanimage: open of device hpaio:/usb/DeskJet_3630_series?serial=CN5CS2H5YV067P failed: Error during device I/O

Solution

sudo systemctl disable --now ipp-usb.service
sudo systemctl mask ipp-usb.service
tech/notes_scanner_sane.txt · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki