On Wed, 23 Jun 2004, Ian E. Morgan wrote:

The only immediate thing that stands out to me is that in 2.4 the INQUIRY is
'12 00 00 00 FF 00' (Allocation length 255), while in 2.6 it is '12 00 00 00 24 00' (Allocation length 36 (makes sense)).

I added an unusual_devs.h entry:

UNUSUAL_DEV(  0x0dbf, 0x0302, 0x0000, 0xffff,
    "Addonics",
    "USb to IDE Cable",
    US_SC_DEVICE, US_PR_DEVICE, NULL,
    US_FL_FIX_INQUIRY ),

to bypass the INQUIRY command, thinking that it was not being liked by the
reader, but now it just goes immediately on to the TEST_UNIT_READY command
which fails in exactly the same way (1st 31 byte chunk OK, 2nd 13 byte chunk
times out).

Jun 23 17:13:20 light kernel: usb-storage: Command TEST_UNIT_READY (6 bytes)
Jun 23 17:13:20 light kernel: usb-storage:  00 00 00 00 00 00
Jun 23 17:13:20 light kernel: usb-storage: Bulk Command S 0x43425355 T 0x20 L 0 F 0 
Trg 0 LUN 0 CL 6
Jun 23 17:13:20 light kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jun 23 17:13:20 light kernel: usb-storage: Status code 0; transferred 31/31
Jun 23 17:13:20 light kernel: usb-storage: -- transfer complete
Jun 23 17:13:20 light kernel: usb-storage: Bulk command transfer result=0
Jun 23 17:13:20 light kernel: usb-storage: Attempting to get CSW...
Jun 23 17:13:20 light kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Jun 23 17:13:50 light kernel: usb-storage: command_abort called
Jun 23 17:13:50 light kernel: usb-storage: usb_stor_stop_transport called
Jun 23 17:13:50 light kernel: usb-storage: -- cancelling URB
Jun 23 17:13:50 light kernel: usb-storage: Status code -104; transferred 0/13
Jun 23 17:13:50 light kernel: usb-storage: -- transfer cancelled
Jun 23 17:13:50 light kernel: usb-storage: Bulk status result = 4
Jun 23 17:13:50 light kernel: usb-storage: -- command was aborted
Jun 23 17:13:50 light kernel: usb-storage: usb_stor_Bulk_reset called
Jun 23 17:13:50 light kernel: usb-storage: usb_stor_control_msg: rq=ff rqtype=21 
value=0000 index=00 len=0
Jun 23 17:14:10 light kernel: usb-storage: Timeout -- cancelling URB
Jun 23 17:14:10 light kernel: usb-storage: Soft reset failed: -104
Jun 23 17:14:10 light kernel: usb-storage: scsi command aborted
Jun 23 17:14:10 light kernel: usb-storage: *** thread sleeping.


Regards, Ian Morgan

--
-------------------------------------------------------------------
 Ian E. Morgan          Vice President & C.O.O.       Webcon, Inc.
 imorgan at webcon dot ca       PGP: #2DA40D07       www.webcon.ca
    *  Customized Linux Network Solutions for your Business  *
-------------------------------------------------------------------


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to