usb-scsi driver problem with SET_WINDOW?

From: Clark Case (ccase@rocketmail.com)
Date: Fri Feb 23 2001 - 12:21:28 PST

  • Next message: Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"

    I've been trying to get my Minolta Dimage Scan Dual II
    working under Linux with the usb-scsi driver developed
    for the HP 5300C, modified so it will recognize my
    scanner. To eliminate as many variables as possible,
    I'm using VueScan as the front end. After I modprobe
    in the usb-scsi driver, turn on my scanner, and start
    VueScan, the initialization process goes much as it
    does with the Windows VueScan, until VueScan sends a
    SET WINDOW command. At that point, usb-scsi pretty
    much freezes up for 10 minutes and then aborts. I sent
    the VueScan log to Ed Hamrick, and he hypothesised
    that the problem may be because the data being sent is
    longer than 64 bytes, and therefore would require more
    than one USB frame. Any ideas?

    Here is the pertinent line from the VueScan log:

    5115 0 SET WINDOW 24 0 0 0 0 0
    0 0 46 0 00000046 0000 W 0 0 0 0 0 0 b
    33 0 0 b 4 b 4 0 0 0 0 0 0 0 0 0 0 4
    b0 0 0 0 4 80 80 80 5 8 0 7f 3 0 0 0 0 0
    0 0 0 0 0 ff 14 60 ff 0 21 c 0 1 0 0 0 64
    0 64 0 64 0 0 0 0 0

    And the corresponding log data from my kernel log:

    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:683 (usc_scsi_queuecommand)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
    SET_WINDOW (10 bytes)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: 24 00 00
    00 00 00 00 00 46 00
    Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 24
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 14:58:19 localhost kernel: USB-SCSI: Line 701:
    trying to engage the cmd_lock.
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:705 (usc_scsi_queuecommand)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
    SET_WINDOW (10 bytes)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: 24 00 00
    00 00 00 00 00 46 00
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:644 (usc_build_transfer_context)
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    transfering to desc->ep_out == 1
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:741 (usc_scsi_queuecommand)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:600 (usc_command_done)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: transfer =
    c6e67abc context = c6e67b64
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    transfer->status = ffffff99 data-length = 46 sent = 0
    Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 24
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:602 (usc_command_done)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:604 (usc_command_done)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:473 (usc_transfer_cleanup)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: not
    locked.
    Feb 17 14:58:19 localhost kernel: USB-SCSI: running
    srb->callback.
    Feb 17 14:58:19 localhost kernel: USB-SCSI: releasing
    lock.
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:683 (usc_scsi_queuecommand)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
    TEST_UNIT_READY (6 bytes)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: 00 00 00
    00 00 00 00 00 00 00
    Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 24
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 14:58:19 localhost kernel: USB-SCSI: Line 701:
    trying to engage the cmd_lock.
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:705 (usc_scsi_queuecommand)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
    TEST_UNIT_READY (6 bytes)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: 00 00 00
    00 00 00 00 00 00 00
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:644 (usc_build_transfer_context)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:741 (usc_scsi_queuecommand)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:600 (usc_command_done)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: transfer =
    c6e67abc context = c6e67b64
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    transfer->status = 0 data-length = 0 sent = 6
    Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 04
    Feb 17 14:58:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:602 (usc_command_done)
    Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:611 (usc_command_done)
    Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:358 (usc_scsi_abort)
    Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:236 (usc_request_abort)
    Feb 17 15:08:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 04
    Feb 17 15:08:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:242 (usc_urb_abort)
    Feb 17 15:08:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 04
    Feb 17 15:08:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
    usb-scsi.c:370 (usc_scsi_host_reset)
    Feb 17 15:08:19 localhost kernel: USB-SCSI: desc at
    0xc6e67a00: halted = 00, toggle = 04
    Feb 17 15:08:19 localhost kernel: USB-SCSI:
    ep_out=c0008300 ep_response=40010380 ep_image=c0018380
    Feb 17 15:08:19 localhost kernel: hub.c: port 1,
    portstatus 103, change 0, 12 Mb/s

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 12:13:42 PST