Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to use usbmon but modprobe usbmon does not work.

The error is

FATAL: Module usbmon not found

I'm using kernel version 2.6.31-23-generic-pae do I need to recompile the kernel? Is there another way to monitor usb traffic?

Also is there a known bug in usb driver? At the app level I at times fail to receive a packet. I am using libusb 1.0 and it's not reporting any errors.

share|improve this question
add comment

1 Answer 1

The stock kernel is configured with CONFIG_USB_MON=y, which means that it's a built-in feature, so you don't need to load any module before using the usbmon functionality.

share|improve this answer
    
Thanx, for the reply. Got it going...it seems libusb has a problem with timeouts when using libusb_interrupt_transfer call... –  user14067 Apr 14 '11 at 18:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.