On Fri, 10 Nov 2006, mahendra varman wrote: > Hi Alan > > I tried to read data into the 1Gb transcend usb memory stick > by using read(6) with LBA address 0...But iam not getting any values... > I tried using read(10) also.... > > In what other way we can check whether the procedure is correct ?
If you're not getting any values then you don't need to do any more checking. You KNOW the procedure isn't correct. You could try getting some more information to find the problem. For example, what does the CSW contain? > Some commands i noted test unit ready , read capacity > initially can i try that Of course you can. You don't need my permission. :-) > I found one article explaining abt the data captured in the usb drive ...... > (i have attached that figure to u ) > while decoding the CBW in that figure they had used 12 h as operational code > but 12h is for Inquiry command, but in the article they had said as reading > from usb drive > > can u explain this...? No, I can't explain an article I have never read. It could be they meant that the INQUIRY command involves transferring data from the device to the computer, rather than from the computer to the device. > Thanks again for ur continous support You're welcome. Alan Stern ------------------------------------------------------------------------- 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 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel