Re: Stackable USB Driver

"Victor L. DiCara" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <005d01c7f33f$aa206f10$0b11a8c0@perdition>
Thanks Pete.
I'm a little confused - you mentioned two C programs, but the package I
downloaded at Oliver's hint (USBMon-0.2a.tar.tar) contains only Java code.

You're right about my mistakenly saying "debug kernel". More precisely what
I meant was that we have a Redhat image packaged by Oracle and then
re-packaged by another software company that (apparently) doesn't include
usbmon. I'd have to change the kernel, but that change would exist only in
my lab and not the field. This path would require that I convince someone to
restore usbmon to the kernel distribution.

Thanks for your help
Vic

-----Original Message-----
From: Pete Zaitcev [mailto:[email protected]] 
Sent: Sunday, September 09, 2007 4:42 PM
To: [email protected]
Cc: 'Oliver Neukum'; [email protected];
[email protected]
Subject: Re: Stackable USB Driver

On Sun, 9 Sep 2007 15:46:16 -0700, "Victor L. DiCara" <[email protected]>
wrote:

> I think usbmon requires the debug kernel, which could be a problem.

I do not understand completely what you are implying here.
There's no such thing as a "debug kernel". If you mean a kernel
different from one shipped by distributions, then usbmon is
supposed to be enabled at all times, just like the raw socket
for the tcpdump.

> I also need to feed the output into another program for further
processing.
> Think usbmon can be adapted?

Sure, why not. In fact I don't think you need to adapt anything,
it should work as is. Look at the binary API for usbmon.
There may be issues if you want to tap into usbmon's trace
from inside a kernel though. I intended for anyone needing
that to create a new reader in the same way mon_text.c and
mon_bin.c exist today.

-- Pete



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.