On Mon, 10 Apr 2023 22:40:14 +0200, "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2023-03-27 16:21, Carlos E.R. wrote:
On 2023-03-27 16:10, Robert Webb via openSUSE Users wrote:
On Mon, 27 Mar 2023 15:02:38 +0200, "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2023-03-27 14:51, Robert Webb via openSUSE Users wrote:
On Mon, 27 Mar 2023 13:56:54 +0200 (CEST), "Carlos E. R." <robin.listas@telefonica.net> wrote:
I had a bug that have been nagging me for a few years, for forgetting to report.
I plugged my Epson scanner (Perfection 1650):
<0.6> 2023-03-27T13:42:49.583719+02:00 Telcontar kernel - - - [145303.237970][T12173] usb 3-1: new full-speed USB device number 3 using xhci_hcd <0.6> 2023-03-27T13:42:49.919401+02:00 Telcontar kernel - - - [145303.574601][T12173] usb 3-1: New USB device found, idVendor=04b8, idProduct=0110, bcdDevice= 3.02 <0.6> 2023-03-27T13:42:49.919413+02:00 Telcontar kernel - - - [145303.574606][T12173] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 <0.6> 2023-03-27T13:42:49.919414+02:00 Telcontar kernel - - - [145303.574608][T12173] usb 3-1: Product: EPSON Scanner <0.6> 2023-03-27T13:42:49.919415+02:00 Telcontar kernel - - - [145303.574609][T12173] usb 3-1: Manufacturer: EPSON
I opened up gimp, selected File, Create Xsane device dialog. Then I would select the first entry in the photo, using epson2 library:
https://paste.opensuse.org/pastes/d884de97a177
An one day, suddenly, that library failed, and I had to select the "epson" library instead. That could be Leap 15.2 or 15.3. So, today, as I was going to scan some papers I remembered and decided to report, so started to take notes as I prepared the scanner.
And today it works! Heisenbug? :-o
Does it make any difference whether you connect/power-on the scanner before vs. after logging in to your DE?
Doesn't make sense, I have to be logged in in order to start gimp and choose what xsane device to use.
Sense #1: a) Connect scanner b) Log in c) Start gimp ...
Sense #2: a) Log in b) Connect scanner c) Start gimp ...
Any difference?
It can be weeks till I next log out. I can try with another user.
But I don't think it will make any difference. The scanner is always detected, that's not the problem. The problem is when actually trying to scan, that version 2 of the library fails.
Ok, I tried with a second user, without login out from the first, the scanner connected. The scanner was detected fine, and epson2 failed with the same error when attempting to scan.
Just had to reboot, accidentally. Scanner was powered and connected since boot. Made no difference.
Acknowledged. I can show info from my system for you to compare with. For my scanner, I needed to get 'epsonscan2-bundle-6.6.40.0.x86_64.rpm.tar.gz' from the Epson site, and install the packages (epsonscan2, epsonscan2-non-free-plugin) contained within. 'zypper se -i epson scan sane gimp': S | Name | Summary ---+----------------------------+-------------------------------------------------------------- i | epson-inkjet-printer-escpr | Epson ESC/P-R Inkjet Printer Driver i+ | epsonscan2 | Next Generation Image Acquisition Utilities i+ | epsonscan2-non-free-plugin | Next Generation Image Acquisition Utilities i | gimp | The GNU Image Manipulation Program i+ | gimp-devel | The GNU Image Manipulation Program i | gimp-help | Help System Data for GIMP i | gimp-plugin-aa | The GNU Image Manipulation Program -- ASCII-Art output plugin i | gimp-plugins-python | The GNU Image Manipulation Program - python-gtk based plugins i+ | gimp-ufraw | Raw photo loader plugin for The GIMP i | hplip-sane | SANE backends for HP scanners and all-in-one devices i+ | hplip-scan-utils | HPLIP scanning frontends hp-scan and hp-uiscan i | inkscape-extensions-gimp | GIMP extensions for Inkscape i+ | iscan-firmware | Firmware files for Epson scanners i | ksanecore-lang | Translations for package ksanecore i | libgimp-2_0-0 | The GNU Image Manipulation Program - Libraries i | libgimpui-2_0-0 | The GNU Image Manipulation Program - UI Libraries i | libKF5Sane5 | KDE scan library i | libksane-lang | Translations for package libksane i | libKSaneCore1 | Qt interface for the SANE library for scanner hardware i | libsane1 | Core SANE library i | sane-backends | SANE (Scanner Access Now Easy) Scanner Drivers i | sane-backends-autoconfig | USB Scanner Autoconfiguration i | yast2-scanner | YaST2 - Scanner Configuration 'epsonscan2 --list' reports: === List of available devices == device ID :Perfection V600/GT-X820:003:002 ModelID:ES00A1 'scanimage -L': [...] default device is `epsonscan2:Perfection V600/GT-X820:003:002:esci2:usb:ES00A1:314' I take scans by calling 'scanimage' from a script of mine. Then, separately, from GIMP I open the PNGs or JPEGs made by scanimage. To try taking a scan from GIMP directly, the way that your problem is showing up, if I (in GIMP 2.10.34) open the menu, File >> Create, there is no Xsane device dialog available. It has been a while since I read the GIMP docs. Is there some setup needed to interface Xsane into GIMP? -- Robert Webb