Bug#727211: libsane: "Failed to start scanner: Invalid argument" when using a genesys supported scanner
Package: libsane
Version: 1.0.23-3
Severity: normal
Tags: upstream
Dear Maintainer,
I have attached a Canoscan Lide 110 scanner to my system that is running Debian
testing (with a bit of sid).
The scanner is recognized:
~$ lsusb
Bus 001 Device 006: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110
~$ sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x1909 [CanoScan]) at
libusb:001:006
PROBLEM:
My scanner program (xsane, but simple-scan has similar problems) reports no
problems when starting up, but when a scan is started a dialog pops up: "Failed
to start scanner: Invalid argument". After that the scanner must be re-plugged
to be recognized by the system again.
I tried Ubuntu 13.10 (live cd) and ran into the very same problem, which
suggets that my configuration is not to blame.
The hardware is fine too: No problems with Vuescan-linux or when attached to a
Win7 system.
.... so the culprit is probably SANE, which uses genesys for this scanner:
~$ scanimage -L
device `genesys:libusb:001:006' is a Canon LiDE 110 flatbed scanner
~$ man sane-genesys
At present, the following scanners are known to work with this backend:
Canon LiDE .../110/...
~$ cat /etc/sane.d/genesys.conf
.... # Canon LiDE 110
usb 0x04a9 0x1909
The genesis man-pages list the following files:
~$ man sane-genesys
FILES
/etc/sane.d/genesys.conf
/usr/lib/arch_triplet/sane/libsane-genesys.a
/usr/lib/arch_triplet/sane/libsane-genesys.so
However, /usr/lib/arch_triplet/ does not exist and no files that match libsane-
genesys.* can be found on my system.
The files libsane-genesys.a and libsane-genesys.so are part of the libsane-dev
package, but installing it makes no difference.
An internet search for "CanoScan LiDE 110" + "Invalid argument" results in many
hits, but no solution.
regards, and thanks for your help.
Johan Spee
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libsane depends on:
ii acl 2.2.52-1
ii adduser 3.113+nmu3
ii libavahi-client3 0.6.31-2
ii libavahi-common3 0.6.31-2
ii libc6 2.17-93
ii libcups2 1.6.3-1
ii libexif12 0.6.21-1
ii libgphoto2-2 2.4.14-2.3
ii libgphoto2-port0 2.4.14-2.3
ii libieee1284-3 0.2.11-12
ii libjpeg8 8d-1
ii libsane-common 1.0.23-3
ii libtiff4 3.9.7-2
ii libusb-1.0-0 2:1.0.17-1+b1
ii libv4l-0 1.0.0-1
ii multiarch-support 2.17-93
ii udev 204-5
Versions of packages libsane recommends:
pn libsane-extras <none>
ii sane-utils 1.0.23-3
Versions of packages libsane suggests:
ii avahi-daemon 0.6.31-2
ii hplip 3.13.9-2
pn hpoj <none>
-- Configuration Files:
/etc/sane.d/dll.conf changed:
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
canon_dr
cardscan
coolscan
coolscan3
dell1600n_net
dmc
epjitsu
epson2
fujitsu
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
mustek_usb
mustek_usb2
nec
niash
pie
pixma
plustek
qcam
ricoh
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
tamarack
teco1
teco2
teco3
u12
umax
umax1220u
v4l
xerox_mfp
hpaio
-- no debconf information
Reply to: