On Mon, 4 Sep 2006 17:24:52 -0700 (PDT), Siddharth Choudhuri <[EMAIL 
PROTECTED]> wrote:

> [...] What I need is [request_type (R/W), size,
> logical address (sector number)] being issued to the
> usb-flash storage device. My guess is block number is 
> being converted to logical address (sector number) as
> a request reaches device driver (i.e., lower level) ?

Very well, use usbmon then. You'll need to decode its output
with a script, but the information is there.

For example:

ca6a349c 3984599108 S Bo:004:02 -115 31 = 55534243 49000000 00400000 80000a28 
00000000 20000020 00000000 000000

ca6a349c        Tag
3984599108      Time
S               Send
Bo:004:02
-115            Status (unused)
31              CSW Size = 31

Data:
55534243        Magic
49000000 00400000
8000            Input data transfer
0a              10 byte CDB
28000000 00200000 2000 --
                SCSI command: 0x28=READ(10), Block=0x20, Length=0x20*512
000000000000    Unused

-- Pete

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to