[sane-devel] scaner on HP LaserJet M1005 MFP

viktor vraniak tyctor at post.cz
Wed Apr 7 16:36:53 UTC 2010


ok first mail with attached log i have send directly to you, so sorry for mistake ;o)

so here is different part:

first 89lines are same:
[sanei_debug] Setting debug level of hpljm1005 to 255.
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: Looking for libusb devices
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 001
usb_os_find_busses: Found 004
usb_os_find_busses: Found 002
usb_os_find_busses: Found 003
usb_os_find_busses: Found 005
usb_os_find_devices: Found scanner0 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found scanner0 on 004
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found scanner0 on 002
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found scanner0 on 003
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found scanner0 on 005
error obtaining child information: Operation not permitted
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x3b17) interface 0 at libusb:001:scanner0
[sanei_usb] store_device: add dn 0 with libusb:001:scanner0
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x0686/0x3009, interface 0 doesn't look like a scanner (0/7)
[sanei_usb] sanei_usb_init: device 0x0686/0x3009: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:001:scanner0
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x3b17
[hpljm1005] New device found: libusb:001:scanner0
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x5617
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x5717
[hpljm1005] Found device libusb:001:scanner0
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:scanner0'
USB error: could not set config 1: Device or resource busy
[sanei_usb] sanei_usb_open: libusb complained: could not set config 1: Device or resource busy
[sanei_usb] Maybe the kernel scanner driver or usblp claims the interface? Ignoring this error...
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open: interface nr: 0
[sanei_usb] sanei_usb_open: alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x01)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 3 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x03)
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open: interface nr: 1
[sanei_usb] sanei_usb_open: alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 0x01), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 0x81), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:scanner0' (*dn=0)
scanimage: rounded value of br-x from 220 to 220
scanimage: rounded value of br-y from 330 to 330
[hpljm1005] Sending packet 21, next data size 0, device libusb:001:scanner0
[sanei_usb] sanei_usb_write_bulk: trying to write 32 bytes
[sanei_usb] 000 41 53 50 01 00 00 00 15 00 00 00 00 00 00 00 00 ASP.............
[sanei_usb] 010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[sanei_usb] sanei_usb_write_bulk: wanted 32 bytes, wrote 32 bytes
[hpljm1005] Sending packet 0, next data size 0, device libusb:001:scanner0
[sanei_usb] sanei_usb_write_bulk: trying to write 32 bytes
[sanei_usb] 000 41 53 50 01 00 00 00 00 00 00 00 00 00 00 00 00 ASP.............
[sanei_usb] 010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[sanei_usb] sanei_usb_write_bulk: wanted 32 bytes, wrote 32 bytes
[hpljm1005] Waiting scanner answer on device libusb:001:scanner0
[sanei_usb] sanei_usb_read_bulk: trying to read 32 bytes


after lines are different:
if scanimage hangs, theese lines occurs in log:

[sanei_usb] sanei_usb_read_bulk: read failed: No such device
USB error: could not clear/halt ep 129: No such device
[sanei_usb] sanei_usb_read_bulk: trying to read 32 bytes
USB error: error submitting URB: No such device


if scanimage is OK, theese lines occurs in log:

[sanei_usb] 000 41 53 50 01 00 00 00 00 00 00 00 00 00 00 00 00 ASP.............
[sanei_usb] 010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[sanei_usb] sanei_usb_read_bulk: wanted 32 bytes, got 32 bytes
[hpljm1005] Sending packet 6, next data size 0, device libusb:001:scanner0
[sanei_usb] sanei_usb_write_bulk: trying to write 32 bytes
[sanei_usb] 000 41 53 50 01 00 00 00 06 00 00 00 00 00 00 00 00 ASP.............
[sanei_usb] 010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[sanei_usb] sanei_usb_write_bulk: wanted 32 bytes, wrote 32 bytes
[hpljm1005] Waiting scanner answer on device libusb:001:scanner0
[sanei_usb] sanei_usb_read_bulk: trying to read 32 bytes
....
and so on

so i think, opened device is renewed and scanimage lost/not get descriptor for new device?

viktor




> ------------ Původní zpráva ------------
> Od: m. allan noah <kitno455 at gmail.com>
> Předmět: Re: [sane-devel] scaner on HP LaserJet M1005 MFP
> Datum: 07.4.2010 17:57:33
> ----------------------------------------
> Try getting some more debug output:
>
> SANE_DEBUG_SANEI_USB=255 SANE_DEBUG_HPLJM1005=255 scanimage 2>1.log
>
> then repeat with a different log file, and lets see if anything funny shows up.
>
> allan
>
> On Wed, Apr 7, 2010 at 11:53 AM, viktor vraniak <tyctor at post.cz> wrote:
> > i forgot to write that i have disable CONFIG_USB_SUSPEND in my kernel too...
> >
> >
> > --
> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >             to sane-devel-request at lists.alioth.debian.org
> >
>
>
>
> --
> "The truth is an offense, but not a sin"
>
>
> 



More information about the sane-devel mailing list