Package: libsane
Version: 1.0.27-3.2 


regarding this scanner (and may be others, too?)
lsusb ....
Bus 004 Device 008: ID 04b8:0142 Seiko Epson Corp. GT-F730
[GT-S630/Perfection V33/V330 Photo]

I installed this scanner in 2016 under jessie, operated it under sid, 
but after upgrade to buster, I get
Fehler beim Öffnen des Gerätes `epkowa:interpreter:004:003' 
(error opening device ....)

tried this (delete ~/.sane) , but no help
https://bbs.archlinux.org/viewtopic.php?id=176756

-------------------

This scanner is not supported by sane as listed here
http://www.sane-project.org/man/sane-epson2.5.html

For first install back in 2016, I followed this instruction
https://www.mogilowski.net/lang/en-us/2014/05/14/install-epson-perfection-v33-scanner-on-ubuntu-14-04/

.deb packages are supplied by the vendor:
http://support.epson.net/linux/en/iscan.php?model=perfection-v330&version=1.0.0

It boils down to

dpkg --install
  iscan-perfection-v330-bundle-1.0.0.x64.deb/data/iscan-data_1.36.0-1_all.deb
dpkg --install
  
iscan-perfection-v330-bundle-1.0.0.x64.deb/core/iscan_2.30.1-1~usb0.1.ltdl7_amd64.deb
dpkg --install
  
iscan-perfection-v330-bundle-1.0.0.x64.deb/plugins/esci-interpreter-perfection-v330_0.2.0-1_amd64.deb
 


So I purged these packages and reinstalled them.
looks like one of those has problems matching
‘/lib/udev/rules.d/60-libsane.rules’

----8<---------------------------
root@wjrws3:~/epson$ dpkg --install
iscan-perfection-v330-bundle-1.0.0.x64.deb/data/iscan-data_1.36.0-1_all.deb
Selecting previously unselected package iscan-data. (Reading
database ... 484351 files and directories currently installed.)
Preparing to unpack .../iscan-data_1.36.0-1_all.deb ... Unpacking
iscan-data (1.36.0-1) ... Setting up iscan-data (1.36.0-1) ...
expr: syntax error: missing argument after ‘-’
tail: invalid number of lines: ‘/lib/udev/rules.d/60-libsane.rules’
Processing triggers for udev (241-7~deb10u2) ...
----8<---------------------------

After that, I still can't access `epkowa:interpreter:004:003'

By some halfway educated guess, I found that file 
/lib/udev/rules.d/60-iscan.rules
is 2986 bytes long in my unoperable fresh install, 
but 19059 bytes long in my old working sid snapshot

So I tried to copy the file over as a crude hack and - voila - it works.
I can scan, so status is "works for me".

I may assume that the epson package has a crude compatibility test (just
by silly line count?) against 
/lib/udev/rules.d/60-libsane.rules
before they generate (supposedly propriate?)
/lib/udev/rules.d/60-iscan.rules

There may be some reason while they do this.
Simply copying over the file just skips this test without knowing what
happens. 
It looks like it worked for me by luck, but may break in the future.
It also may break for others, particularly for new installations.



So, I see that this is not the most elegant solution.
imho preferrable solution in falling preference
- support by sane
- integration of the epson driver into debian and consistent maintenance
- updated driver from epson
- change in libsane so that the contingency is not broken
- just keep this crude solution as a record here, in the hope that
  google & friends may find it


regards
-- 
Wolfgang Rosner

Reply via email to