Re: usbmon problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2 Apr 2010, Oliver Neukum wrote:

> Am Donnerstag, 1. April 2010 16:46:55 schrieb Alan Stern:
> > On Mon, 15 Mar 2010, Alan Stern wrote:
> > 
> > > On Fri, 12 Mar 2010, Alan Stern wrote:
> > > 
> > > > Maybe we could have the scatter-gather library put pointers to the
> > > > scatterlist elements in the URBs, and then for each URB have usbmon
> > > > call dma_sync_sg() with nelems set to 1 (see
> > > > Documentation/DMA-API.txt).  I'm not sure whether this will work
> > > > properly if the original scatter-gather list contained more than one
> > > > element, but it probably will.  I can ask.
> > > 
> > > Here's a patch.  Oliver, does it fix your problem?
> > 
> > Oliver, has there been any opportunity to test this?  I'd like to get 
> > it submitted well before 2.6.34 is released.
> 
> Hi,
> 
> sorry it took quite some time. Yes the fix works, the buffer is displayed
> correctly. Do you need me to test the binary API?

No, if one works then the other will also because the unmapping occurs 
before the usbmon_urb_complete() call.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux