Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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 seems libusb has a problem with timeouts when using libusb_interrupt_transfer call... – user14067 Apr 14 '11 at 18:58

Your Answer


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