Your message dated Mon, 27 Oct 2014 08:31:38 +0100
with message-id <7076224.F7l8pp819P@merkur>
and subject line libsane: HP PhotoSmart S20 (USB) not supported
has caused the Debian Bug report #135210,
regarding libsane: HP PhotoSmart S20 (USB) not supported
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
135210: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=135210
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xsane
Version: 0.78-1
Severity: normal
I have a HP Photosmart S20 (USB) plugged in.
As per instructions in http://www.linux-usb.org/USB-guide/x722.html
I have setup /etc/sane.d/hp.conf to say --
----------------------------------------------------------------------
/dev/usb/scanner0
option connect-device
----------------------------------------------------------------------
(As !root) sane-find-scanner says --
----------------------------------------------------------------------
sane-find-scanner: found USB scanner (vendor = 0x03f0, product = 0x0102) at
device /dev/usb/scanner0
----------------------------------------------------------------------
When I say
----------------------------------------------------------------------
$ ls -l /dev/usb/scanner0
crw-rw-rw- 1 root root 180, 48 Feb 12 16:54 /dev/usb/scanner0
----------------------------------------------------------------------
But when I run xsane, it spends a looooong time looking for a scanner
but doesn't find one.
When I watch using strace, I see the following last-few lines --
----------------------------------------------------------------------
open("/etc/sane.d/hp.conf", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=232, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40023000
read(6, "/dev/usb/scanner0\n option conne"..., 4096) = 232
read(6, "", 4096) = 0
brk(0x80ee000) = 0x80ee000
open("/dev/usb/scanner0", O_RDWR|O_EXCL) = 7
write(7, "\33E", 2) = 2
write(7, "\33*s257E", 7) = 7
read(7,
----------------------------------------------------------------------
(This is where he gets stuck).
As I see it, he's able to open the file (getting FD 7) but after that
he's going nowhere in writing to it.
Just in case it helps --
----------------------------------------------------------------------
$ cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 22/900 us ( 2%), #Int= 2, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=1820
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 31 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=2036 Rev= 1.01
S: Product=General Purpose USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=31 Port=00 Cnt=01 Dev#= 32 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=0102 Rev= 0.14
S: Product=HP PhotoSmart C5101A - S20
S: SerialNumber=C0140662
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl= 16ms
----------------------------------------------------------------------
Finally, a small bugreport: the xsane manpage (right at the top) says
there's a commandline arg --debug-level but that just doesn't seem to
work.
-ans.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux sanna 2.4.17 #2 Sun Feb 10 18:45:12 IST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages xsane depends on:
ii libc6 2.2.5-3 GNU C Library: Shared libraries an
ii libgimp1.2 1.2.2-2.1 Libraries necessary to run the GIM
ii libglib1.2 1.2.10-3 The GLib library of C routines
ii libgtk1.2 1.2.10-9 The GIMP Toolkit set of widgets fo
ii libjpeg62 6b-5 The Independent JPEG Group's JPEG
ii libpng2 1.0.12-3 PNG library - runtime
ii libsane 1.0.6-0.1 API library for scanners
ii libtiff3g 3.5.5-6 Tag Image File Format library
ii xlibs 4.1.0-13 X Window System client libraries
ii zlib1g 1:1.1.3-19 compression library - runtime
--
Ajay Shah [email protected]
Consultant, http://www.mayin.org/~ajayshah
Department of Economic Affairs,
Ministry of Finance, New Delhi
--- End Message ---
--- Begin Message ---
see last message.
--
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8 EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E
CAcert Key S/N: 0E:D4:56
Jörg Frings-Fürst
D-54526 Niederkail
Threema-ID: SYR8SJXB
IRC: [email protected], [email protected]
signature.asc
Description: This is a digitally signed message part.
--- End Message ---