[sane-devel] Mustek 2400CU Plus

shirshegsm at freemail.lt shirshegsm at freemail.lt
Sun Oct 12 20:23:57 BST 2003


Oh shit. No, not everything's OK. After creating /dev/usbscanner0 scanimage finds
my scanner, but when I try to scan, it prints:
scanimage: open of device gt68xx:/dev/usbscanner0 failed: Error during device
I/O
I noticed that when I try to scan, my USB mouse doesn't respond anymore. So,
I tried to unplug the mouse but it doesn't help. After running 'SANE_DEBUG_GT68XX=255
scanimage > out.pnm' I get big output which is attached. I've read forums, there's
some problems with firmwares, but you (or maybe someone else :-)) gave a link
where should be .usb file with disabled firmware checking. There was same link
where from I've downloaded my scanner's .usb file. Tried to download and overwrite
it again, but it didn't work.

Linas


>Hi,
>
>On Sun, Oct 12, 2003 at 01:46:38PM -0200, shirshegsm at freemail.lt wrote:
>> I recompiled sane-backends and then tried 'SANE_DEBUG_GT68XX=255 scanimage
-L'.
>> Here's what I got:
>> 
>> root:/usr/src/sources# SANE_DEBUG_GT68XX=255 scanimage -L
>> [sanei_debug] Setting debug level of gt68xx to 255.
>> [gt68xx] sane_init: config file line 54: trying to attach `usb 0x055f 0x021d'

>> [gt68xx] attach: start: devp != NULL, may_wait = 0
>> [gt68xx] attach: trying to open device `libusb:001:003'
>> [gt68xx] gt68xx_device_new: enter
>> [gt68xx] gt68xx_device_new:: leave: ok
>> [gt68xx] gt68xx_device_open: enter: dev=0x806d290
>> [gt68xx] gt68xx_device_open: sanei_usb_open failed: Device busy
>
>[...]
>
>> As I understand there's something that uses USB port and doesn't let SANE
to
>> use my scanner. What's that can be?
>
>If that also happens after you unplug/replug the scanner one reason
>may be the kernel USB scanner module. Try lsmod, does it list
>"scanner"? And have a look at /proc/bus/usb/devices: Does it list your
>scanner with "driver=usbscanner"? If yes, the kernel scanner module
>claimed your scanner.
>
>That's not a problem because it's also possible to use the kernel
>scanner driver. Maybe you don't have the necessary devices like
>/dev/usb/scanner0? Running "MAKEDEV usb" in /dev should help.
>
>If that's not the problem, disable everything but gt68xx in dll.conf
>and send a more detailed log:
>
>SANE_DEBUG_GT68XX=255 SANE_DEBUG_SANEI_USB=255 scanimage -L
>
>Bye,
>  Henning
>
>_______________________________________________
>sane-devel mailing list
>sane-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>
http://www.freemail.lt
-------------- 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: ignoring empty line
[gt68xx] sane_init: config file line 4: ignoring comment 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: trying to attach `usb 0x05d8 0x4002'
[gt68xx] sane_init: config file line 8: ignoring empty line
[gt68xx] sane_init: config file line 9: ignoring comment line
[gt68xx] sane_init: config file line 10: ignoring empty line
[gt68xx] sane_init: config file line 11: ignoring comment 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 empty line
[gt68xx] sane_init: config file line 19: ignoring comment line
[gt68xx] sane_init: config file line 20: ignoring comment line
[gt68xx] sane_init: config file line 21: ignoring empty line
[gt68xx] sane_init: config file line 22: ignoring comment 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 empty line
[gt68xx] sane_init: config file line 35: ignoring comment line
[gt68xx] sane_init: config file line 36: ignoring comment line
[gt68xx] sane_init: config file line 37: ignoring empty line
[gt68xx] sane_init: config file line 38: ignoring comment line
[gt68xx] sane_init: config file line 39: ignoring comment line
[gt68xx] sane_init: config file line 40: trying to attach `usb 0x055f 0x021e'
[gt68xx] sane_init: config file line 41: ignoring comment line
[gt68xx] sane_init: config file line 42: ignoring empty line
[gt68xx] sane_init: config file line 43: ignoring comment line
[gt68xx] sane_init: config file line 44: ignoring comment line
[gt68xx] sane_init: config file line 45: trying to attach `usb 0x055f 0x0218'
[gt68xx] sane_init: config file line 46: ignoring comment line
[gt68xx] sane_init: config file line 47: ignoring empty line
[gt68xx] sane_init: config file line 48: ignoring comment line
[gt68xx] sane_init: config file line 49: ignoring comment line
[gt68xx] sane_init: config file line 50: trying to attach `usb 0x055f 0x0219'
[gt68xx] sane_init: config file line 51: ignoring empty line
[gt68xx] sane_init: config file line 52: ignoring comment line
[gt68xx] sane_init: config file line 53: ignoring comment line
[gt68xx] sane_init: config file line 54: trying to attach `usb 0x055f 0x021d'
[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=0x806c2b8
[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=0x806c2b8
[gt68xx] gt68xx_device_close: leave: ok
[gt68xx] attach: exit
[gt68xx] attach: start: devp != NULL, may_wait = 0
[gt68xx] attach: trying to open device `libusb:001:002'
[gt68xx] gt68xx_device_new: enter
[gt68xx] gt68xx_device_new:: leave: ok
[gt68xx] gt68xx_device_open: enter: dev=0x806c318
[gt68xx] gt68xx_device_open: sanei_usb_open failed: Invalid argument
[gt68xx] attach: couldn't open device `libusb:001:002': Invalid argument
[gt68xx] gt68xx_device_free: enter: dev=0x806c318
[gt68xx] gt68xx_device_free: freeing dev
[gt68xx] gt68xx_device_free: leave: ok
[gt68xx] somewhere: attach (devname, &dev, 0): Invalid argument
[gt68xx] sane_init: config file line 55: ignoring empty line
[gt68xx] sane_init: config file line 56: ignoring comment line
[gt68xx] sane_init: config file line 57: ignoring comment line
[gt68xx] sane_init: config file line 58: trying to attach `usb 0x055f 0x021c'
[gt68xx] sane_init: config file line 59: ignoring comment line
[gt68xx] sane_init: config file line 60: ignoring comment line
[gt68xx] sane_init: config file line 61: ignoring empty line
[gt68xx] sane_init: config file line 62: ignoring comment line
[gt68xx] sane_init: config file line 63: ignoring comment line
[gt68xx] sane_init: config file line 64: trying to attach `usb 0x055f 0x0210'
[gt68xx] sane_init: config file line 65: ignoring empty line
[gt68xx] sane_init: config file line 66: ignoring comment line
[gt68xx] sane_init: config file line 67: ignoring comment line
[gt68xx] sane_init: config file line 68: trying to attach `usb 0x043d 0x002d'
[gt68xx] sane_init: config file line 69: ignoring empty line
[gt68xx] sane_init: config file line 70: ignoring comment line
[gt68xx] sane_init: config file line 71: ignoring comment line
[gt68xx] sane_init: config file line 72: trying to attach `usb 0x07b3 0x0401'
[gt68xx] sane_init: config file line 73: trying to attach `usb 0x07b3 0x0400'
[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 0x07b3 0x0403'
[gt68xx] sane_init: config file line 78: ignoring empty line
[gt68xx] sane_init: config file line 79: ignoring comment line
[gt68xx] sane_init: config file line 80: ignoring comment line
[gt68xx] sane_init: config file line 81: trying to attach `usb 0x0458 0x2011'
[gt68xx] sane_init: config file line 82: ignoring empty line
[gt68xx] sane_init: config file line 83: ignoring comment line
[gt68xx] sane_init: config file line 84: ignoring comment line
[gt68xx] sane_init: config file line 85: trying to attach `usb 0x0458 0x2017'
[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=0x806c2b8
[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=0x806c2b8, addr=0x0, size=0x40, data=0x8075888
[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=0x806c2b8
[gt68xx] gt68xx_device_close: enter: dev=0x806c2b8
[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