Retro-fit USB monitor

2014-07-21 Thread Dave
I'm at a loss. I want to retrofit a USB host driver with the calls necessary to implement USB monitoring but I can't find any good reference material. Can someone point me in the right direction? The usbmon.txt file does a nice job on using the facility but doesn't say much about the driver

Re: Retro-fit USB monitor

2014-07-21 Thread Alan Stern
On Mon, 21 Jul 2014, Dave wrote: I'm at a loss. I want to retrofit a USB host driver with the calls necessary to implement USB monitoring but I can't find any good reference material. Can someone point me in the right direction? The usbmon.txt file does a nice job on using the facility but

Re: Retro-fit USB monitor

2014-07-21 Thread Greg KH
On Mon, Jul 21, 2014 at 04:52:40PM -0400, Dave wrote: I'm at a loss. I want to retrofit a USB host driver with the calls necessary to implement USB monitoring but I can't find any good reference material. Can someone point me in the right direction? The usbmon.txt file does a nice job on using

Re: Retro-fit USB monitor

2014-07-21 Thread Dave
It's the gadget driver for the Freescale Dual role controller. Sent from my iPhone On Jul 21, 2014, at 5:01 PM, Greg KH g...@kroah.com wrote: On Mon, Jul 21, 2014 at 04:52:40PM -0400, Dave wrote: I'm at a loss. I want to retrofit a USB host driver with the calls necessary to implement USB

Re: Retro-fit USB monitor

2014-07-21 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Mon, Jul 21, 2014 at 05:17:16PM -0400, Dave wrote: It's the gadget driver for the Freescale Dual role controller. gadget drivers do not use usbmon on the gadget side, sorry. That's a

Re: Retro-fit USB monitor

2014-07-21 Thread Dave
Sorry about the poor form! Bad habit I suppose. That's a host-controller-only interface for now. That being usbmon - right? But there is no intrinsic reason I couldn't use the USB core as a model for retrofitting the Freescale DR driver is there? BTW - I haven't found any thing describing

Re: Retro-fit USB monitor

2014-07-21 Thread Greg KH
On Mon, Jul 21, 2014 at 06:08:05PM -0400, Dave wrote: Sorry about the poor form! Bad habit I suppose. That's a host-controller-only interface for now. That being usbmon - right? Yes. But there is no intrinsic reason I couldn't use the USB core as a model for retrofitting the