USB device debugging

Greg KH greg at kroah.com
Tue May 24 10:46:29 EDT 2016


On Tue, May 24, 2016 at 01:48:16PM +0530, Narasimha M wrote:
> Thanks for the information. But i want to know the flow of receive
> packet from usb driver to linux stack. I am facing an issue that
> corrupted data is coming to usbnet_bh function. So i want to know
> about the place where we generate the data in usb driver and sent it
> to usbnet. Could you please help in finding out this. I am using
> Gobinet driver as usb driver.

Look in the usbnet driver itself, it is the one that receives the data
from the USB core.

If you suspect the USB core isn't getting the data properly, use usbmon
to look at the "raw" USB data for the device, instructions for how to
use that is in the kernel documentation directory.

greg k-h



More information about the Kernelnewbies mailing list