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

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

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
After hundreds of updates in the past few days, I just discovered that I've lost my scanning capability. libsane is installed and current. Before I start a troubleshooting adventure, I thought I would first ask whether anyone else has this issue.  Thank you.
« Last Edit: 2021/08/26, 14:51:09 by dibl »
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 Pip

  • User
  • Posts: 161
Re: Skanlite "Operation not supported", similar with xsane
« Reply #1 on: 2021/08/24, 23:29:59 »
All the settings on skanlite were set way off from before, but it could still scan from my USB HP Photosmart.

skanlite 2.2.0-1, libsane 1.0.32-4

Perhaps not helpful, but it does indicate it's not a general problem. I think.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #2 on: 2021/08/24, 23:54:07 »
Thank you Pip.  I vaguely recall, from maybe 15 years ago, some problem where scanning would only work from a root login.  I wonder if we have regressed somewhere.  I'll troubleshoot it tomorrow and post back if I learn anything.
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 finotti

  • User
  • Posts: 269
Re: Skanlite "Operation not supported", similar with xsane
« Reply #3 on: 2021/08/25, 03:40:27 »
FYI: xsane gave me problems in the past, so I've been using simple-scan, and it's working here, although my last update was a couple of days ago.

Offline jure

  • User
  • Posts: 635
Re: Skanlite "Operation not supported", similar with xsane
« Reply #4 on: 2021/08/25, 09:55:19 »
here skanlite is working with my HP Officejet Pro via network

Code: [Select]
apt policy skanlite libsane
skanlite:
  Installiert:           2.2.0-1
  Installationskandidat: 2.2.0-1
  Versionstabelle:
 *** 2.2.0-1 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        500 http://ftp.de.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
libsane:
  Installiert:           (keine)
  Installationskandidat: 1.0.32-4
  Versionstabelle:
     1.0.32-4 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        500 http://ftp.de.debian.org/debian unstable/main amd64 Packages

* Kernel: 5.13.12-1-siduction-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.21.5
« Last Edit: 2021/08/25, 11:24:49 by jure »
Gruss Juergen

Offline charlyheinz

  • User
  • Posts: 99
Re: Skanlite "Operation not supported", similar with xsane
« Reply #5 on: 2021/08/25, 10:53:39 »
Here scan software is not working anymore. An Epson Workforce WF-7515 connected via network could not be found from software. I've tried Xsane, iscan and simple-scan. The network- conenction is working with cups for printing, the configuration in etc/sane.d/epcowa.conf still exists and I can reach the webinterface of the printer/scanner.
I could not find any further debugging information.
What I will try is to remove and reinstall the Epson Iscan- softwarepakage. May be it will help. I'll post the result later.

Offline charlyheinz

  • User
  • Posts: 99
Re: Skanlite "Operation not supported", similar with xsane
« Reply #6 on: 2021/08/25, 11:32:04 »
After removing and reinstall the Epson scanning softwarebundle (iscan-bundle-2.30.4.x64) the scanner is working again!
Quote
apt policy xsane iscan libsane
xsane:
  Installiert:           0.999-12
  Installationskandidat: 0.999-12
  Versionstabelle:
 *** 0.999-12 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
iscan:
  Installiert:           2.30.4-2
  Installationskandidat: 2.30.4-2
  Versionstabelle:
 *** 2.30.4-2 100
        100 /var/lib/dpkg/status
libsane:
  Installiert:           1.0.32-4
  Installationskandidat: 1.0.32-4
  Versionstabelle:
 *** 1.0.32-4 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #7 on: 2021/08/25, 14:41:46 »
Quote from: Charleyheinz
After removing and reinstall the Epson scanning softwarebundle (iscan-bundle-2.30.4.x64) the scanner is working again!

Yes, mine is an old, but good-working Epson:

Code: [Select]
Bus 003 Device 004: ID 04b8:010a Seiko Epson Corp. GT-8700/GT-8700F [Perfection 1640SU/1640SU PHOTO]
This scanner has been working on my linux systems for ~15+ years with no problems. Suddenly it won't work on either of my desktop systems, which are fully updated siduction installations. The error message is the same on both.  So something in Debian has changed.

Google found another person just ran into the same problem with Suse last month:

https://forums.opensuse.org/showthread.php/557586-Old-Epson-Perfection-1640SU-flatbed-scanner

It's been weeks since I last used my scanner, so it could have been "broken" for that long, too.

So, something in Debian has changed, and I need to figure out what that change was, and find a workaround -- maybe that iscan-bundle package will fix it.  But I never needed it before.
« Last Edit: 2021/08/25, 14:46:07 by dibl »
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 charlyheinz

  • User
  • Posts: 99
Re: Skanlite "Operation not supported", similar with xsane
« Reply #8 on: 2021/08/25, 15:16:58 »
Hallo Dibl- I think I've had the same scanner in the past. Very goog for negativ scanning with the overhead- light unit. But I have used it via scsi interface. How are you working on it- scsi / usb /network? Maybe scsi connected is not that easy this days.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #9 on: 2021/08/25, 15:54:02 »
It's a USB scanner -- I have the adapter for slides/negatives, but these days it's only for occasional office work -- probably it gets used twice a month at most. It is seen by the system (see lsusb output above), and it is found by skanlite and xsane, but then the preview command fails with the error.  I've downloaded the Epson tarball for the imagescan bundle -- hopefully this will fix the issue.

EDIT:  This is imagescan-bundle for Debian 10.  It appears to be ver.. 3.65, according to the package name.
« Last Edit: 2021/08/25, 15:57:17 by dibl »
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 dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #10 on: 2021/08/25, 16:05:38 »
Here's where the fun ended when I attempted to install the image-scan bundle with  "install.sh" method:

Code: [Select]
Package libboost-filesystem1.67.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libboost-program-options1.67.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libboost-system1.67.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libboost-filesystem1.67.0' has no installation candidate
E: Package 'libboost-program-options1.67.0' has no installation candidate
E: Package 'libboost-system1.67.0' has no installation candidate

Sigh.
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 dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #11 on: 2021/08/25, 16:48:54 »
So I found the three missing packages in stretch oldstable, and installed them. Afterwards, the Epson imagescan-bundle installed correctly with no errors.  That's the good news. The other news is, the error was not affected and remains the same.

EDIT: Installed simple-scan. It finds the scanner, but scanning fails with "Unable to start scan".

EDIT2:
Code: [Select]
$ scanimage > scannertest24aug21.pnm
Output format is not set, using pnm as a default.
scanimage: sane_start: Operation not supported

Well, now I know what is generating the error message.
« Last Edit: 2021/08/25, 18:02:50 by dibl »
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 dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #12 on: 2021/08/25, 18:17:12 »
@Charleyheinz, how did you get around this issue, when installing iscan-bundle-2.30.4.x64.deb?

Code: [Select]
$ ./install.sh
Hit:1 https://wire-app.wire.com/linux/debian stable InRelease
Hit:2 http://deb.debian.org/debian experimental InRelease                                           
Hit:3 http://httpredir.debian.org/debian unstable InRelease                                         
Hit:4 https://packages.siduction.org/extra unstable InRelease 
Hit:5 https://packages.siduction.org/fixes unstable InRelease
Hit:6 https://packages.siduction.org/extra experimental InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libgcc-s1' instead of 'libgcc1'
Note, selecting 'libgcc-s1' instead of 'libgcc1'
libgcc-s1 is already the newest version (11.2.0-3).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 iscan-network-nt : Depends: iscan (>= 2.29.3) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt --fix-broken install merely removed the packages that failed to install in dpkg.


EDIT: Concerned about changed udev rules, I followed the Debian Scanner Wiki instruction to check that:

Code: [Select]
/$ ls -l /dev/bus/usb/*/*
crw-rw-r--  1 root root 189,   0 Aug 25 10:43 /dev/bus/usb/001/001
crw-rw-r--  1 root root 189,   1 Aug 25 10:43 /dev/bus/usb/001/002
crw-rw-r--  1 root root 189,   2 Aug 25 10:43 /dev/bus/usb/001/003
crw-rw-r--  1 root root 189,   3 Aug 25 10:43 /dev/bus/usb/001/004
crw-rw-r--  1 root root 189, 128 Aug 25 10:43 /dev/bus/usb/002/001
crw-rw-r--  1 root root 189, 256 Aug 25 10:43 /dev/bus/usb/003/001
crw-rw-r--  1 root root 189, 257 Aug 25 10:43 /dev/bus/usb/003/002
crw-rw-r--  1 root root 189, 259 Aug 25 10:43 /dev/bus/usb/003/004
crw-rw-r--+ 1 root root 189, 262 Aug 25 15:00 /dev/bus/usb/003/007
crw-rw-r--  1 root root 189, 384 Aug 25 10:43 /dev/bus/usb/004/001
crw-rw-r--  1 root root 189, 385 Aug 25 10:43 /dev/bus/usb/004/002
crw-rw-r--  1 root root 189, 512 Aug 25 10:43 /dev/bus/usb/005/001
crw-rw-r--  1 root root 189, 640 Aug 25 10:43 /dev/bus/usb/006/001
crw-rw-r--  1 root root 189, 768 Aug 25 10:43 /dev/bus/usb/007/001
crw-rw-r--  1 root root 189, 896 Aug 25 10:43 /dev/bus/usb/008/001
don@dibl-patience:/$ getfacl /dev/bus/usb/003/007
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/003/007
# owner: root
# group: root
user::rw-
user:don:rw-
group::rw-
group:scanner:rw-
mask::rw-

My user has rw permisstion on the scanner device on USB /dev/bus/usb/003/007. So that's not the problem.
« Last Edit: 2021/08/25, 21:05:14 by dibl »
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 charlyheinz

  • User
  • Posts: 99
Re: Skanlite "Operation not supported", similar with xsane
« Reply #13 on: 2021/08/26, 12:18:02 »
@dibil
sorry for the delay:

Are you using your scanner via network? If so you need to configure something:

https://download.ebz.epson.net/man/linux/iscan_e.html#sec9

My scanner is connected to a network-switch. So I had to configure epcowa.conf as discribed in this howto.

If you have connected your scanner via USB the iscan-network-nt plugin  is not necessary. You can install the software manualy with dpkg without using the script. If you had extracted the bundle you can install iscan-data / iscan-core seperat.

I have had no depedencie-problems while using the original script.

Before that remove iscan.
Please read the manual 'cause it is interesting

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Skanlite "Operation not supported", similar with xsane
« Reply #14 on: 2021/08/26, 12:36:22 »
Got it -- thank you.  No, my scanner is connected directly to my desktop via USB. So I don't care about network configuration.

I will uninstall what I installed yesterday and try again with dpkg.  Thank you very much!
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