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 root    189, 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 config line ""
[avision] sane_init: config file line 11: ignoring empty line
[avision] sane_init: parsing config line "#scsi AVISION"
[avision] sane_init: config file line 12: ignoring comment line
[avision] sane_init: parsing config line "#scsi FCPA"
[avision] sane_init: config file line 13: ignoring comment line
[avision] sane_init: parsing config line "#scsi MINOLTA"
[avision] sane_init: config file line 14: ignoring comment line
[avision] sane_init: parsing config line "#scsi MITSBISH MCA-S600C"
[avision] sane_init: config file line 15: ignoring comment line
[avision] sane_init: parsing config line "#scsi MITSBISH MCA-SS600"
[avision] sane_init: config file line 16: ignoring comment line
[avision] sane_init: parsing config line "#scsi HP"
[avision] sane_init: config file line 17: ignoring comment line
[avision] sane_init: parsing config line "#scsi hp"
[avision] sane_init: config file line 18: ignoring comment line
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 19: ignoring empty line
[avision] sane_init: parsing config line "#scsi /dev/scanner"
[avision] sane_init: config file line 20: ignoring comment line
[avision] sane_init: parsing config line "# usb libusb:002:003"
[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:002
USB error: could not set config 1: Protocol error
[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 a3c ...
[avision] sane_init: Trying to find USB device 638 a33 ...
[avision] sane_init: Trying to find USB device 638 a24 ...
[avision] sane_init: Trying to find USB device 638 a25 ...
[avision] sane_init: Trying to find USB device 638 a3a ...
[avision] sane_init: Trying to find USB device 638 a23 ...
[avision] sane_init: Trying to find USB device 638 a2a ...
[avision] sane_init: Trying to find USB device 638 a2a ...
[avision] sane_init: Trying to find USB device 638 a19 ...
[avision] sane_init: Trying to find USB device 638 a41 ...
[avision] sane_init: Trying to find USB device 638 a16 ...
[avision] sane_init: Trying to find USB device 638 a13 ...
[avision] sane_init: Trying to find USB device 638 a18 ...
[avision] sane_init: Trying to find USB device 638 a66 ...
[avision] sane_init: Trying to find USB device 638 a40 ...
[avision] sane_init: Trying to find USB device 638 a68 ...
[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:002
USB error: could not set config 1: Protocol error
[avision] attach: open failed (Invalid argument)
[avision] sane_init: Trying to find USB device 3f0 701 ...
[avision] attach:
[avision] attach: opening libusb:001:002
USB error: could not set config 1: Protocol error
[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 ...
[avision] sane_init: Trying to find USB device 638 26a ...
[avision] sane_init: Trying to find USB device 686 4004 ...
[avision] sane_init: Trying to find USB device 686 400d ...
[avision] sane_init: Trying to find USB device 686 400e ...
[avision] sane_init: Trying to find USB device 638 a15 ...
[avision] sane_init: Trying to find USB device 638 a16 ...
[avision] sane_init: Trying to find USB device 4c5 1029 ...
[avision] sane_init: Trying to find USB device 40a 6001 ...
[avision] sane_init: Trying to find USB device 40a 6002 ...
[avision] sane_init: Trying to find USB device 40a 6003 ...
[avision] sane_init: Trying to find USB device 40a 6004 ...
[avision] sane_init: Trying to find USB device 40a 6005 ...
[avision] sane_init: Trying to find USB device 638 268 ...
[avision] sane_init: Trying to find USB device 4a7 449 ...
[avision] sane_init: Trying to find USB device 4a7 44c ...
[avision] sane_init: Trying to find USB device 4a7 475 ...
[avision] sane_get_devices:
[sanei_debug] Setting debug level of net to 255.
[net] sane_init: authorize = 0x804ae20, version_code = 0xaff1b668
[net] sane_init: SANE net backend version 1.0.13 (AF-indep+IPv6) from sane-backends 1.0.18
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: trying to add localhost
[net] add_device: adding backend localhost
[net] add_device: backend localhost added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_get_devices: local_only = 0
[net] connect_dev: trying to connect to localhost
[net] connect_dev: [0] connection succeeded (IPv4)
[net] connect_dev: sanei_w_init
[net] connect_dev: net_init (user=admin, local version=1.0.3)
[net] connect_dev: freeing init reply (status=Success, remote version=1.0.3)
[net] connect_dev: done
[net] sane_get_devices: finished (0 devices)

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[avision] sane_exit:
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x805ccf0, ctl=3
[net] sane_exit: finished.
[EMAIL PROTECTED]:~$ lsusb
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
Bus 001 Device 002: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c
Bus 001 Device 001: ID 0000:0000
[EMAIL PROTECTED]:~$ groups
admin adm dialout cdrom floppy audio src video plugdev users scanner lpadmin
[EMAIL PROTECTED]:~$ aptitude show sane
Paket: sane
Status: installerad
Automatiskt installerade: nej
Version: 1.0.14-1
Prioritet: valfri
Sektion: graphics
Paketansvarig: Julien BLACHE <[EMAIL PROTECTED]>
Uppackad storlek: 254k
Kräver: libatk1.0-0 (>= 1.9.0), libc6 (>= 2.3.5-1), libgimp2.0 (>= 2.2.0+rel),
         libglib2.0-0 (>= 2.8.0), libgtk2.0-0 (>= 2.6.0), libieee1284-3,
         libjpeg62, libpango1.0-0 (>= 1.8.2), libsane (>= 1.0.11-3),
         libusb-0.1-4 (>= 2:0.1.10a)
Föreslår: gimp
Konflikter: sane-gimp1.2, sane-gimp1.3
Byter ut: sane-gimp1.2, sane-gimp1.3
Beskrivning scanner graphical frontends
 This package includes :
 o xscanimage, a scanner graphical frontend with GIMP 2.0 support
 o scanadf, a command-line frontend for scanners with Automatic Document Feeder
 o xcam, for acquiring images continuously from cameras.

 An alternative to xscanimage called xsane is packaged separately.

 The scanner frontends use SANE.  SANE stands for "Scanner Access Now Easy" and
 is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner,
 video- and still-cameras, frame-grabbers, etc.). The SANE standard is free and
 its discussion and development are open to everybody. The current source code
 is written to support several operating systems, including GNU/Linux, OS/2,
 Win32 and various Unices and is available under the GNU General Public License
 (commercial applications and backends are welcome, too, however).

Taggar: interface::x11, role::sw:application, uitoolkit::gtk, use::downloading,
        works-with::image:raster, x11::application

[EMAIL PROTECTED]:~$ aptitude show libsane
Paket: libsane
Status: installerad
Automatiskt installerade: ja
Version: 1.0.18-3
Prioritet: valfri
Sektion: libs
Paketansvarig: Julien BLACHE <[EMAIL PROTECTED]>
Uppackad storlek: 8753k
Kräver: adduser (>= 3.47), makedev (>= 2.3.1-58), libc6 (>= 2.3.6-6),
         libgphoto2-2 (>= 2.2.1), libgphoto2-port0 (>= 2.2.1), libieee1284-3,
         libjpeg62, libtiff4, libusb-0.1-4 (>= 2:0.1.12)
Rekommenderar: hotplug | udev (>= 0.88-1), module-init-tools (>= 3.2.2-1),
               sane-utils (>= 1.0.18-3)
Föreslår: libsane-extras (>= 1.0.18.1), hpoj, hplip
Konflikter: libusb0, libsane-extras (< 1.0.18.1)
Byter ut: libsane-extras (< 1.0.18.1)
Beskrivning API library for scanners
 SANE stands for "Scanner Access Now Easy" and is an application programming
 interface (API) that provides standardized access to any raster image scanner
 hardware (flatbed scanner, hand-held scanner, video- and still-cameras,
 frame-grabbers, etc.). The SANE standard is free and its discussion and
 development are open to everybody. The current source code is written to
 support several operating systems, including GNU/Linux, OS/2, Win32 and various Unices and is available under the GNU General Public License (commercial
 applications and backends are welcome, too, however).

 This package includes the backends for many scanners. A libsane-extras package
 containing some not-yet-included backends is available separately.

 Graphical frontends for sane are available in the packages sane and xsane.
 Command line frontend scanimage, saned and sane-find-scanner are available in
 the sane-utils package.

Taggar: devel::library, works-with::image:raster

[EMAIL PROTECTED]:~$ uname -a
Linux mymachine 2.6.17-2-686 #1 SMP Thu Aug 31 12:53:18 UTC 2006 i686 GNU/Linux





Reply via email to