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

Christoph Bier christoph.bier at web.de
Fri May 30 20:03:01 BST 2003


Henning Meier-Geinitz schrieb:
> Hi,
> 
> On Fri, May 30, 2003 at 07:52:11PM +0200, Christoph Bier wrote:
> 
>>Using libusb only slightly changes the error
>>messages to "no devices available".
> 
> 
> This may be a different problem. Check the log file again. Does that
> also happen as root?

It also happens as root. I diffed the log files
and can't see anything special. If I may take
the liberty, I send the new log file again --
just to be sure, that I didn't overlook some-
thing.

[. . .]

>>Do you know the package name?
> 
> 
> libsane. See http://people.debian.org/~aurel32/sane.html . There is
> already a 1.0.12 release.

=|. I was looking for something like sane-
backends . . . libsane is already installed
in version 1.0.12.

> 
>>What else could I try?
> 
> 
> Try to find out the difference between the woking and the not working

That's what I already did before asking my
question. I couldn't find anything. From the
log file you can exclude, that the scanner is
defect!?!

> system. This scanner works on my syste,. I just tested it (sane
> 1.0.12, kernel 2.4.21rc1).

Yeah, it *did* too on my system since
beginning of the week -- last friday I
just scanned a lot . . .

*wondering what's going wrong*

Greetings,

Christoph
-- 
Christoph Bier, Dipl.Oecotroph., Email: bier at 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
-------------- next part --------------
[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: trying to attach `/dev/usbscanner0'
[gt68xx] attach: start: devp != NULL, may_wait = 0
[gt68xx] attach: trying to open device `/dev/usbscanner0'
[gt68xx] gt68xx_device_new: enter
[gt68xx] gt68xx_device_new:: leave: ok
[gt68xx] gt68xx_device_open: enter: dev=0x8065548
[gt68xx] gt68xx_device_open: leave: ok
[gt68xx] attach: device `/dev/usbscanner0' successfully opened
[gt68xx] attach: found Mustek flatbed scanner BearPaw 2400 CU Plus at /dev/usbscanner0
[gt68xx] gt68xx_device_close: enter: dev=0x8065548
[gt68xx] gt68xx_device_close: leave: ok
[gt68xx] attach: exit
[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: device `/dev/usbscanner0' was already in device list
[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=0x80655c0
[gt68xx] gt68xx_device_open: sanei_usb_open failed: Access to resource has been denied
[gt68xx] attach: couldn't open device `libusb:002:002': Access to resource has been denied
[gt68xx] gt68xx_device_free: enter: dev=0x80655c0
[gt68xx] gt68xx_device_free: freeing dev
[gt68xx] gt68xx_device_free: leave: ok
[gt68xx] somewhere: attach (devname, &dev, 0): Access to resource has been denied
[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 = `/dev/usbscanner0')
[gt68xx] sane_open: found `mustek-bearpaw-2400-cu-plus' in devlist
[gt68xx] gt68xx_device_open: enter: dev=0x8065548
[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: writing command failed: Error during device I/O
[gt68xx] download_firmware: trying /usr/local/share/sane/gt68xx/PS2Dfw.usb
[gt68xx] firmware size: 7410
[gt68xx] gt68xx_device_memory_write: dev=0x8065548, addr=0x0, size=0x40, data=0x8074490
[gt68xx] gt68xx_device_memory_write: sanei_usb_control_msg failed: Error during device I/O
[gt68xx] somewhere: gt68xx_device_memory_write (dev, addr, block_size, block): Error during device I/O
[gt68xx] download_firmware_file: firmware download failed: Error during device I/O
[gt68xx] somewhere: download_firmware_file (dev): Error during device I/O
scanimage: open of device gt68xx:/dev/usbscanner0 failed: Error during device I/O
[gt68xx] sane_exit: start
[gt68xx] gt68xx_device_free: enter: dev=0x8065548
[gt68xx] gt68xx_device_close: enter: dev=0x8065548
[gt68xx] gt68xx_device_close: leave: ok
[gt68xx] gt68xx_device_free: freeing dev
[gt68xx] gt68xx_device_free: leave: ok
[gt68xx] sane_exit: exit


More information about the sane-devel mailing list