On Sun, 5 May 2002 01:41, Marc Britten wrote: > On Thu, 2002-05-02 at 22:59, Brad Hards wrote: > > On Fri, 3 May 2002 12:41, Marc Britten wrote: > > > Hi, > > > > > > I've been looking around but I have been unable to find mention of a > > > utility like USB snoop for Linux. I've been using USB snoop to snag > > > data in MS Windows to work on figuring out a protocol. > > > > You can just turn on the debugging options in the kernel, either as > > compile time directives, or as module options (cf modinfo) > > Ok, I recompiled my kernel made usbcore and usb-uhci modules like they > should be, and compiled in debug info (under USB support) and while i'm > getting more data back than before I'm not getting what I really want, > and thats the URB's being sent. > > modinfo -p usbcore or modinfo -p usb-uhci both return nothing so i'm > assuming they have no module options to turn up debugging. I looked at uhci - you might try that (since JE probably does most of the libusb development with his driver :) For usb-uhci, a quick look found a #if 0 / #endif block that you could uncomment to get the setup packets, if you think that might be a problem. You could probably add similar code to other parts of the driver.
Brad _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
