Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  FIXED -- Skanlite "Operation not supported", similar with xsane  (Read 4067 times)

Online dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #15 on: 2021/08/26, 14:50:09 »
OK, my problem is fixed -- somehow ....

Code: [Select]
don@dibl-patience:~$ sudo apt policy xsane iscan libsane
[sudo] password for don:
xsane:
  Installed: 0.999-12
  Candidate: 0.999-12
  Version table:
 *** 0.999-12 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
iscan:
  Installed: 2.30.4-2
  Candidate: 2.30.4-2
  Version table:
 *** 2.30.4-2 100
        100 /var/lib/dpkg/status
libsane:
  Installed: 1.0.32-4
  Candidate: 1.0.32-4
  Version table:
 *** 1.0.32-4 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
don@dibl-patience:~$ scanimage --list-devices
device `epson2:libusb:003:003' is a Epson Perfection1640 flatbed scanner
device `epkowa:usb:003:003' is a Epson Perfection 1640 flatbed scanner

The second device shown above, the "epkowa" scanner, works, if I select it from the (new) two-scanner list found by skanlite. There was no such scanner found before I installed this driver, but the "epson" scanner always worked. Now the "epson" scanner still does not work, but I have my scanning capability back, so I'm marking this issue resolved.  Thank you very much, charleyheinz!
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline ReinerS

  • User
  • Posts: 1.061
Hmm,
ich hänge mich mal hier mit dran.
Mein Brother MFC-5890CN wird aktuell auch nicht mehr übers Netz erkannt.
Vor etwa 2 Wochen gings noch.
USB probiere ich gleich noch.
Drucken geht, aktuelle Treiber vom Brother habe ich auch installiert.
Mit sane-find-scanner wird er auch nicht entdeckt.
Die Brother Konfiguration in /usr/local/Brother scheint auch ok (IP-Adresse).

Schleppe jetzt den MFC rüber und probiere es mal mit USB.

Grüße

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline ReinerS

  • User
  • Posts: 1.061
Hmm,
can it be that the file /usr/lib/udev/rules.d/60-libsane.rules is obsolete or missing?
I can find only 60-libsane1.rules dated 18.Aug. there
Thes scanner is now found via USB with sane-find-scanner but neither recognized with scanimage -K or xsane

regards

Kann es sein das die Datei /usr/lib/udev/rules.d/60-libsane.rules obsolet ist oder fehlt?
Finde nur die 60-libsane1.rules mit Datum 18.Aug.
Scanner wird über USB mit sane-find-scanner zwar erkannt aber weder mit scanimage -L
oder xsane wird er gefunden.

Grüße

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Online dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Hmmmmmm.  No 60-libsane.rules, but instead 60-libsane1.rules

Code: [Select]
don@dibl-patience:~$ cat /usr/lib/udev/rules.d/60-libsane1.rules
# This file was generated from description files (*.desc)
# by sane-desc 3.6 from sane-backends 1.0.32-debian
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@alioth-lists.debian.net).
#
ACTION=="remove", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRS{type}=="6", ENV{libsane_matched}="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"

# Epson Expression 800 | Epson Expression 800
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"

# Epson Perfection 1640SU | Epson Perfection 1640SU PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1640", ENV{libsane_matched}="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIc
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIp
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIcx
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4c
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 5p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6200C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6300C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"


LABEL="libsane_rules_end"

So, checking list of supported devices at /lib/udev/hwdb.d/20-sane.hwdb. And there I find (neither in alphabetical nor numerical order :( ) the following:

Code: [Select]
# Epson Perfection 1640 | Epson GT-8700 | Epson GT-8700F
# Epson Perfection 1640SU | Epson Perfection 1640SU PHOTO
usb:v04B8p010A*
 libsane_matched=yes

 So, that's my scanner. Still confused about this one.

Do you suppose if we rename 60-libsane1.rules back to 60-libsane.rules, that it might fix the problem?

System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline ReinerS

  • User
  • Posts: 1.061
@dibl:
Unfortunately renaming libsane1.rules back doesn't help.
But I will have a closely look at 20-sane.hwdb.
Maybe the problem can be solved within there.

regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline rolo48

  • User
  • Posts: 61
Ist jetzt zwar ein Tip für Bullseye, aber probier doch mal:
Code: [Select]
apt install avahi-daemon
rolo48

Online dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Hi rolo48

avahi-daemon is installed here. The "epkowa" scanner still works, and the "epson2" is still broken.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO