aguinet/usbtop

Cryptic error when usbmon module is no loaded

Opened this issue · 3 comments

When the usbmon module is not loaded the following error is returned when trying to run usbtop:

No USB bus can be captured thanks to libpcap. Check your name filter and make sure relevent permissions are set !

Is it possible to have something less cryptic, i.e. saying that the problem is the module isn't loaded?

A bit related to #30. Will try and look into it during these holidays...

Any progress with this issue? At very least the error message should probably the changed as follows

Failed to capture data from USB bus. Maybe try running "sudo usbtop" or "modprobe usbmon" first?

I would guess mentioning libpcap here is rarely useful.

Google brought me here.... "modprobe usbmon" works for me ...