[linux-usb-devel] USB Mass Storage Device question - PIO mapped, not DMA based HCDs

2007-03-10 Thread Michael Cook
Hi, I'm trying to understand how the USB Mass Storage Device works in 2.6. Specifically 2.6.14. I see a fair amount of churn in this subsystem. My principle concern/question is how does data from a file on the filesystem get transported to a memory stick? I have dumped info at many stages and

Re: [linux-usb-devel] USB Mass Storage Device question - PIO mapped, not DMA based HCDs

2007-03-11 Thread Michael Cook
between 2.6.9, 2.6.14. AFter 2.6.14 there is very little change. I have yet to find a decent source that may describe why these changes were made and hence wonder if different versions may cause incompatibility with this example driver? Thanks, Mike. --- Alan Stern <[EMAIL PROTECTED]> wro

Re: [linux-usb-devel] USB Mass Storage Device question - PIO mapped, not DMA based HCDs

2007-03-11 Thread Michael Cook
Thanks Alan, It is good to get some feedback on how the buffer manipulation should work. I appreciate you taking the time. > > Did you take care about checking byte-endian issues? > Yep, I didn't take enough care. I thought I had, but I have just found the URB transfer buffer is fragmented i