I'm kind of writing a usb sniffer (but not quite), I'd just like to avoid having to manually parsing those files... Any suggestions? Thanks, Dave. On Thu, 2008-01-24 at 10:12 -0800, Greg KH wrote: > On Thu, Jan 24, 2008 at 10:43:41AM -0300, Davidlohr Bueso A. wrote: > > Hi all, > > > > Does anyone know (and have any examples) of how I can obtain the data > > captured by the usbmon module without having to look at > > the /sys/kernel/debug/ files. > > Is there a userland API for usbmon? I don't want to have to parse a > > bunch of files to get the information I need. > > I've been reading and googling, but everything I find indicates that I > > have to use usbmon in kernel space. > > usbmon runs in the kernel, and from userspace you just read the > /sys/kernel/debug/usbmon files directly. > > Does that not work for you? What specifically are you trying to do with > usbmon? > > thanks, > > greg k-h >
Attachment:
signature.asc
Description: This is a digitally signed message part