Bug#330183: Same problem with USB HP ScanJet 5370C and libsane

2006-09-13 Thread Anders Jackson
fre 2006-09-08 klockan 15:22 +0200 skrev Aurelien Jarno:
 Anders Jackson wrote:
  Package: libsane
  Version: 1.0.18-3
  Followup-For: Bug #330183
  
  I got same problem.  scanimage -L doesn't give anything, but
  sane-find-scanner finds it ok.
 
 Could you please retry with the USB_DEBUG environment variable set to 
 255 and send us the result? Thanks

Yes, I send you a log now.

 Also, do you have an USB hub between the computer and the scanner? If 
 yes, could you please try without it?

No hub.  Straight into a Dell machine.

[EMAIL PROTECTED]:~$ export SANE_DEBUG_NET=255
[EMAIL PROTECTED]:~$ export USB_DEBUG=255
[EMAIL PROTECTED]:~$ export SANE_DEBUG_AVISION=255
[EMAIL PROTECTED]:~$ ls -l /dev/bus/usb/001/00*
crw-rw-r-- 1 root root189, 0 2006-09-13 19:30 /dev/bus/usb/001/001
crw-rw-r-- 1 root scanner 189, 1 2006-09-13 19:30 /dev/bus/usb/001/002
[EMAIL PROTECTED]:~$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try modprobe sg.

usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: No route to host
error obtaining child information: Operation not permitted
USB error: error sending control message: Protocol error
USB error: error sending control message: Protocol error
found USB scanner (vendor=0x03f0, product=0x0701) at libusb:001:002
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
[EMAIL PROTECTED]:~$ scanimage -L
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: No route to host
error obtaining child information: Operation not permitted
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
[sanei_debug] Setting debug level of avision to 255.
[avision] sane_init:(Version: 1.0 Build: 201)
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
[avision] sane_init: parsing config line 
[avision] sane_init: config file line 1: ignoring empty line
[avision] sane_init: parsing config line # This are the possible options. Normally any scanner
[avision] sane_init: config file line 2: ignoring comment line
[avision] sane_init: parsing config line # should work just fine without them - and they are only
[avision] sane_init: config file line 3: ignoring comment line
[avision] sane_init: parsing config line # needed for test and debugging. So if you experience problems
[avision] sane_init: config file line 4: ignoring comment line
[avision] sane_init: parsing config line # and you solve them with enabling options here, please notify
[avision] sane_init: config file line 5: ignoring comment line
[avision] sane_init: parsing config line # the SANE/Avision maintainer: Rene Rebe [EMAIL PROTECTED]
[avision] sane_init: config file line 6: ignoring comment line
[avision] sane_init: parsing config line 
[avision] sane_init: config file line 7: ignoring empty line
[avision] sane_init: parsing config line #option disable-gamma-table
[avision] sane_init: config file line 8: ignoring comment line
[avision] sane_init: parsing config line #option disable-calibration
[avision] sane_init: config file line 9: ignoring comment line
[avision] sane_init: parsing config line #option force-a4
[avision] sane_init: config file line 10: ignoring comment line
[avision] sane_init: parsing 

Bug#330183: Same problem with USB HP ScanJet 5370C and libsane

2006-09-13 Thread Julien BLACHE
Anders Jackson [EMAIL PROTECTED] wrote:

Hi Anders,

 Could you please retry with the USB_DEBUG environment variable set to 
 255 and send us the result? Thanks

 Yes, I send you a log now.

Thanks for the log. Aurélien is away this week, he'll have a look at
it as soon as he'll be back I guess :) (unless he has access to his
mail, but I don't think so?)

Looks like the call for setting the device configuration fails for
some reason, though I can't tell why. Aurélien will maybe have an
idea.

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



Bug#330183: Same problem with USB HP ScanJet 5370C and libsane

2006-09-13 Thread Julien BLACHE
Anders Jackson [EMAIL PROTECTED] wrote:

Hi,

 I'm not in a great hurry, I have a Debian Sarge running for scanning.
 But would be good to have it working for Etch, wouldn't it :)

Yes, sure :)

 Is there something missing, or did you get the information that you (or
 Aurélien) wanted?  Just ask and I will try to help you out. Firewall etc

For now, I think we've got all we needed, thanks :)

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



Bug#330183: Same problem with USB HP ScanJet 5370C and libsane

2006-09-08 Thread Aurelien Jarno

Anders Jackson wrote:

Package: libsane
Version: 1.0.18-3
Followup-For: Bug #330183

I got same problem.  scanimage -L doesn't give anything, but
sane-find-scanner finds it ok.


Could you please retry with the USB_DEBUG environment variable set to 
255 and send us the result? Thanks


Also, do you have an USB hub between the computer and the scanner? If 
yes, could you please try without it?



--
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#330183: Same problem with USB HP ScanJet 5370C and libsane

2006-09-07 Thread Anders Jackson
Package: libsane
Version: 1.0.18-3
Followup-For: Bug #330183

I got same problem.  scanimage -L doesn't give anything, but
sane-find-scanner finds it ok.

[avision] sane_init: config file line 21: ignoring comment line
[avision] sane_init: parsing config line usb 0x03f0 0x0701
[avision] sane_init: config file line 22: trying to attach USB:usb 0x03f0 
0x0701'
[avision] attach:
[avision] attach: opening libusb:001:004
[avision] attach: open failed (Invalid argument)
[avision] sane_init: parsing config line 
[avision] sane_init: config file line 23: ignoring empty line
[avision] sane_init: Trying to find USB device 638 a27 ...


[avision] sane_init: Trying to find USB device 638 a61 ...
[avision] sane_init: Trying to find USB device 638 a45 ...
[avision] sane_init: Trying to find USB device 3f0 701 ...
[avision] attach:
[avision] attach: opening libusb:001:004
[avision] attach: open failed (Invalid argument)
[avision] sane_init: Trying to find USB device 3f0 701 ...
[avision] attach:
[avision] attach: opening libusb:001:004
[avision] attach: open failed (Invalid argument)
[avision] sane_init: Trying to find USB device 3f0 801 ...
[avision] sane_init: Trying to find USB device 3f0 b01 ...

Looks like a problem with libusb, if I make a guess.

Worked before, but not now with those latest upgrades.  (Discovered it
this week when I needed to scan)

Tried to add user to group scanner and as root, but still same error.

Yours
Anders Jackson

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (800, 'stable'), (400, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages libsane depends on:
ii  adduser  3.97Add and remove users and groups
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgphoto2-2 2.2.1-2 gphoto2 digital camera library
ii  libgphoto2-port0 2.2.1-2 gphoto2 digital camera port librar
ii  libieee1284-30.2.10-3cross-platform library for paralle
ii  libjpeg626b-13   The Independent JPEG Group's JPEG 
ii  libtiff4 3.8.2-6 Tag Image File Format (TIFF) libra
ii  libusb-0.1-4 2:0.1.12-2  userspace USB programming library
ii  makedev  2.3.1-82creates device files in /dev

Versions of packages libsane recommends:
ii  module-init-tools 3.2.2-3tools for managing Linux kernel mo
ii  sane-utils1.0.18-3   API library for scanners -- utilit
ii  udev [hotplug]0.093-1/dev/ and hotplug management daemo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]