Re: g_ncm.ko: delayed response for lsusb command

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

 



On Thu, Apr 23, 2015 at 10:07:35AM +0530, Niranjan H Y wrote:
> Hello Everyone,
> 
> I'm newbie to driver development & have a question on CDC NCM gadget driver.
> 
> When I load the module g_ncm.ko on the target board
> and execute "lsusb" on host, there is some delay in response.
> (about 5-10 seconds)
> 
> However, if I trim the string as shown below (in code changes),
> "lsusb" responds quickly. I was wondering if anyone could help
> me understand the reason for this behavior.
> 
> I'm looking at  kernel version 3.0.35.
> https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_3.0.35_4.1.0/drivers/usb/gadget/f_ncm.c#L341

3.0 is really old and obsolete, have you tried a modern, newer kernel?

Also, run usbmon on the host and see where the delay is, that should
give you an idea of what is going on.

thanks,

greg k-h
--
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