Dear Pete, Thanks a lot for providing me this information. I will try to backport from 2.6.12 to 2.6.4. Also, for compiling USBMON 3.0 version, it need JDK 1.5.0, I could not find this in the Java web site. Would you please provide me the link to download JDK 1.5
Regards, Upadhyaya > > ----- Original Message ----- > From: "Pete Zaitcev" <[EMAIL PROTECTED]> > To: "SRINIVASA UPADHYAYA" <[EMAIL PROTECTED]> > Cc: <linux-usb-devel@lists.sourceforge.net>; <[EMAIL PROTECTED]> > Sent: Tuesday, April 12, 2005 11:27 PM > Subject: Re: Data transfer - How? > > > > On Tue, 12 Apr 2005 04:19:21 -0700 (PDT) SRINIVASA UPADHYAYA > <[EMAIL PROTECTED]> wrote: > > > > > I am trying to port USBMon, that was developed by > > > David Harding, from linux 2.4 to linux 2.6.4. [...] > > > > What for? I already have Harding's USBMon running with usbmon in 2.6.12. > > Please refer to materials at > > http://people.redhat.com/zaitcev/linux/ > > It should be much easier to backport usbmon from 2.6.12 to 2.6.4 than > > to bother with the Harding's patch. > > > > That said, the following is a problem for usbmon as well, and there's > > nothing in 2.6.12 to address it: > > > > > In linux 2.4.4 the data was transferred to and from the device using > > > urb->transfer_buffer. But in linux 2.4.6, it looks like most of the > time > > > the address pointed by urb->transfer_buffer is NULL and data transfer > > > happens via DMA using urb->tansfer_dma. Following is the trace that I > > > captured while analysis. [] > > > > The only solution that I see is to use pkmap to map the page temporarily > > using an atomic map. I did not look too close into it, so I do not know > > if one of exising pkmap pages can be used or if you need a new one. > > This may be a significant performance hit, depending on the speed > > of the device in question and the block size. > > > > I welcome patches. > > > > -- Pete > > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel