I am trying to monitor the USB traffic in Ubuntu 10.0.4. According to many websites, the usbmon is already included in the kernel, but typing modprobe usbmon. It will return "Can't find module".
Well you can tell for sure if your kernel was compiled with USBMON by running:
grep CONFIG_USB_MON /boot/config-`uname -r`
In my case, I see CONFIG_USB_MON=y as the response... This means it's built directly into the kernel instead of as a module. I built my own kernel but to my knowledge, the .config used stems from a Maverick kernel.
I don't have a standard Maverick box to test on but my media centre box is just upgrading now. Won't be too long.
My media centre is on Mav now. Still returning y so it is built into the kernel.
Well you can tell for sure if your kernel was compiled with USBMON by running:
In my case, I see
CONFIG_USB_MON=y
as the response... This means it's built directly into the kernel instead of as a module. I built my own kernel but to my knowledge, the.config
used stems from a Maverick kernel.I don't have a standard Maverick box to test on but my media centre box is just upgrading now. Won't be too long.
My media centre is on Mav now. Still returning
y
so it is built into the kernel.Usbmon is directly compiled in the ubuntu kernel ( not as a module ). I tested on maverick but you can confirm that on 10.04 doing this.
Go to the 'config' folder of your kernel:
Search usbmon configuration:
If your output is something like this:
Then usbmod is already compiled inside your kernel.
Also you can refer to this bug (that was marked as Invalid): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/364085