[sane-devel] suddenly problems opening /dev/usbscanner0

Christoph Bier christoph.bier@web.de
Fri, 30 May 2003 22:52:48 +0200


This is a multi-part message in MIME format.
--------------030906010307090201010901
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

Henning Meier-Geinitz schrieb:
> Hi,
> 
> On Fri, May 30, 2003 at 09:03:01PM +0200, Christoph Bier wrote:

[. . .]

> Well, that could also be a reason. But it can't be completely
> defective because it is at least detected. I think it's rather
> unlikely. But better try on a different computer with Windows.

I don't know where =).

> Do other USB devices work on that system?

I don't have any other USB device.

> 
>>[gt68xx] sane_open: start (devicename = `/dev/usbscanner0')
> 
> 
> That's still the kernel scanner driver, not libusb.

Oops, sorry!! Too much experimentation.
Now the log file looks different. BTW: It
makes no difference whether usb-uhci or
uhci is loaded.

Thanks again!

Greetings,

Christoph
-- 
Christoph Bier, Dipl.Oecotroph., Email: bier@wiz.uni-kassel.de
Universitaet Kassel, FG Oekologische Lebensmittelqualitaet und
Ernaehrungskultur \\ Postfach 12 52 \\ 37202 Witzenhausen
Tel.: +49 (0) 55 42 / 98 -17 21, Fax: -17 13

--------------030906010307090201010901
Content-Type: text/plain;
 name="log.uhci"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="log.uhci"

[sanei_debug] Setting debug level of gt68xx to 255.
[gt68xx] SANE GT68xx backend version 1.0 build 46 from sane-backends 1.0.12
[gt68xx] sane_init: authorize != null
[gt68xx] sane_init: little endian machine
[gt68xx] sane_init: reading config file `gt68xx.conf'
[gt68xx] sane_init: config file line 1: ignoring comment line
[gt68xx] sane_init: config file line 2: ignoring comment line
[gt68xx] sane_init: config file line 3: ignoring comment line
[gt68xx] sane_init: config file line 4: ignoring empty line
[gt68xx] sane_init: config file line 5: ignoring comment line
[gt68xx] sane_init: config file line 6: ignoring comment line
[gt68xx] sane_init: config file line 7: ignoring comment line
[gt68xx] sane_init: config file line 8: trying to attach `usb 0x05d8 0x4002'
[gt68xx] sane_init: config file line 9: ignoring empty line
[gt68xx] sane_init: config file line 10: ignoring comment line
[gt68xx] sane_init: config file line 11: ignoring empty line
[gt68xx] sane_init: config file line 12: ignoring comment line
[gt68xx] sane_init: config file line 13: ignoring comment line
[gt68xx] sane_init: config file line 14: ignoring comment line
[gt68xx] sane_init: config file line 15: ignoring comment line
[gt68xx] sane_init: config file line 16: ignoring comment line
[gt68xx] sane_init: config file line 17: ignoring comment line
[gt68xx] sane_init: config file line 18: ignoring comment line
[gt68xx] sane_init: config file line 19: ignoring empty line
[gt68xx] sane_init: config file line 20: ignoring comment line
[gt68xx] sane_init: config file line 21: ignoring comment line
[gt68xx] sane_init: config file line 22: ignoring empty line
[gt68xx] sane_init: config file line 23: ignoring comment line
[gt68xx] sane_init: config file line 24: ignoring comment line
[gt68xx] sane_init: config file line 25: ignoring comment line
[gt68xx] sane_init: config file line 26: ignoring comment line
[gt68xx] sane_init: config file line 27: ignoring comment line
[gt68xx] sane_init: config file line 28: ignoring comment line
[gt68xx] sane_init: config file line 29: ignoring comment line
[gt68xx] sane_init: config file line 30: ignoring comment line
[gt68xx] sane_init: config file line 31: ignoring comment line
[gt68xx] sane_init: config file line 32: ignoring comment line
[gt68xx] sane_init: config file line 33: ignoring comment line
[gt68xx] sane_init: config file line 34: ignoring comment line
[gt68xx] sane_init: config file line 35: ignoring empty line
[gt68xx] sane_init: config file line 36: ignoring comment line
[gt68xx] sane_init: config file line 37: ignoring comment line
[gt68xx] sane_init: config file line 38: ignoring empty line
[gt68xx] sane_init: config file line 39: ignoring comment line
[gt68xx] sane_init: config file line 40: ignoring comment line
[gt68xx] sane_init: config file line 41: trying to attach `usb 0x055f 0x021e'
[gt68xx] sane_init: config file line 42: ignoring comment line
[gt68xx] sane_init: config file line 43: ignoring empty line
[gt68xx] sane_init: config file line 44: ignoring comment line
[gt68xx] sane_init: config file line 45: ignoring comment line
[gt68xx] sane_init: config file line 46: trying to attach `usb 0x055f 0x0218'
[gt68xx] sane_init: config file line 47: ignoring comment line
[gt68xx] sane_init: config file line 48: ignoring empty line
[gt68xx] sane_init: config file line 49: ignoring comment line
[gt68xx] sane_init: config file line 50: ignoring comment line
[gt68xx] sane_init: config file line 51: trying to attach `usb 0x055f 0x0219'
[gt68xx] sane_init: config file line 52: ignoring empty line
[gt68xx] sane_init: config file line 53: ignoring comment line
[gt68xx] sane_init: config file line 54: ignoring comment line
[gt68xx] sane_init: config file line 55: trying to attach `usb 0x055f 0x021d'
[gt68xx] attach: start: devp != NULL, may_wait = 0
[gt68xx] attach: trying to open device `libusb:002:002'
[gt68xx] gt68xx_device_new: enter
[gt68xx] gt68xx_device_new:: leave: ok
[gt68xx] gt68xx_device_open: enter: dev=0x8065468
[gt68xx] gt68xx_device_open: leave: ok
[gt68xx] attach: device `libusb:002:002' successfully opened
[gt68xx] attach: found Mustek flatbed scanner BearPaw 2400 CU Plus at libusb:002:002
[gt68xx] gt68xx_device_close: enter: dev=0x8065468
[gt68xx] gt68xx_device_close: leave: ok
[gt68xx] attach: exit
[gt68xx] sane_init: device mustek-bearpaw-2400-cu-plus: firmware will be loaded from /usr/local/share/sane/gt68xx/PS2Dfw.usb
[gt68xx] sane_init: config file line 57: ignoring comment line
[gt68xx] sane_init: config file line 58: ignoring comment line
[gt68xx] sane_init: config file line 59: trying to attach `usb 0x055f 0x021c'
[gt68xx] sane_init: config file line 60: ignoring comment line
[gt68xx] sane_init: config file line 61: ignoring comment line
[gt68xx] sane_init: config file line 62: ignoring empty line
[gt68xx] sane_init: config file line 63: ignoring comment line
[gt68xx] sane_init: config file line 64: ignoring comment line
[gt68xx] sane_init: config file line 65: trying to attach `usb 0x055f 0x0210'
[gt68xx] sane_init: config file line 66: ignoring empty line
[gt68xx] sane_init: config file line 67: ignoring comment line
[gt68xx] sane_init: config file line 68: ignoring comment line
[gt68xx] sane_init: config file line 69: trying to attach `usb 0x043d 0x002d'
[gt68xx] sane_init: config file line 70: ignoring empty line
[gt68xx] sane_init: config file line 71: ignoring comment line
[gt68xx] sane_init: config file line 72: ignoring comment line
[gt68xx] sane_init: config file line 73: trying to attach `usb 0x07b3 0x0401'
[gt68xx] sane_init: config file line 74: ignoring empty line
[gt68xx] sane_init: config file line 75: ignoring comment line
[gt68xx] sane_init: config file line 76: ignoring comment line
[gt68xx] sane_init: config file line 77: trying to attach `usb 0x0458 0x2011'
[gt68xx] sane_init: exit
[gt68xx] sane_get_devices: start: local_only = false
[gt68xx] sane_get_devices: exit
[gt68xx] sane_open: start (devicename = `libusb:002:002')
[gt68xx] sane_open: found `mustek-bearpaw-2400-cu-plus' in devlist
[gt68xx] gt68xx_device_open: enter: dev=0x8065468
[gt68xx] gt68xx_device_open: leave: ok
[gt68xx] gt68xx_device_activate: model "mustek-bearpaw-2400-cu-plus"
[gt68xx] gt68xx_device_generic_req: command=0x70
[gt68xx] >> 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00
[gt68xx] gt68xx_device_generic_req: reading response failed: Invalid argument
[gt68xx] download_firmware: trying /usr/local/share/sane/gt68xx/PS2Dfw.usb
[gt68xx] firmware size: 7410
[gt68xx] gt68xx_device_memory_write: dev=0x8065468, addr=0x0, size=0x40, data=0x8074348
[gt68xx] gt68xx_device_memory_write: sanei_usb_control_msg failed: Invalid argument
[gt68xx] somewhere: gt68xx_device_memory_write (dev, addr, block_size, block): Invalid argument
[gt68xx] download_firmware_file: firmware download failed: Invalid argument
[gt68xx] somewhere: download_firmware_file (dev): Invalid argument
scanimage: open of device gt68xx:libusb:002:002 failed: Invalid argument
[gt68xx] sane_exit: start
[gt68xx] gt68xx_device_free: enter: dev=0x8065468
[gt68xx] gt68xx_device_close: enter: dev=0x8065468
[gt68xx] gt68xx_device_close: leave: ok
[gt68xx] gt68xx_device_free: freeing dev
[gt68xx] gt68xx_device_free: leave: ok
[gt68xx] sane_exit: exit

--------------030906010307090201010901--