Hi,

I'm starting to become convinced that flaky as the transport driver may
be it is as nothing to the devices it talks to :-(

Anyway I'm still getting intermittent problems with talking to the
Freecom USB sticks which I'd like to understand in better detail. At
least one of the commands (MODE_SENSE) seems to fail whenever the device
is plugged in:

usb-storage: Command MODE_SENSE (6 bytes)
usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x6 Trg 0 LUN 0 L 255 F 128 CL
6
hci_submit_urb: 122765->122766
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
hci_submit_urb: 122767->122768
error on received packet: cc=9,urb->status = -121
urb                   :89fce2c0
next                  :00000000
dev                   :8826dc00
pipe                  :C0008280 (type 3)
status                :-121
transfer_flags        :00000008
transfer_buffer       :895ed000
transfer_buffer_length:255
actual_length         :12
setup_packet          :00000000
start_frame           :10223
number_of_packets     :0
interval              :0
error_count           :0
context               :8826db74
complete              :c0132bc0
usb-storage: usb_stor_bulk_msg() returned -121 xferred 12/255
usb-storage: usb_stor_transfer_partial(): unknown error
usb-storage: Bulk data transfer result 0x2

The cc code from my transport indicates an DataUnderrun, however I
suspect it could be the device just give short replies. However if I
return a bad status I assume it just gets ignored by the higher level?

As all these commands are as I understand it meant to be SCSI commands
encapsulated over USB I thought I'd have a closer look at the contents:

contents:0xb 0x0 0x0 0x8 0x0 0x1 0xfffffff4 0x0 0x0 0x0 0x2 0x0

However I cannot find where the MODE_SENSE command is documented
(although granted I've not read every document on the T10 site). Can
anyone point me in the right direction?

-- 
Alex, homepage: http://www.bennee.com/~alex/
'In the Fyres of Struggle let us bake New Men, who Will Notte heed the
old Lies.'
(Feet of Clay)



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to