Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryptic error when usbmon module is no loaded #27

Open
lucaspiller opened this issue Jul 7, 2019 · 5 comments
Open

Cryptic error when usbmon module is no loaded #27

lucaspiller opened this issue Jul 7, 2019 · 5 comments

Comments

@lucaspiller
Copy link

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?

@aguinet
Copy link
Owner

aguinet commented Dec 21, 2019

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

@mikkorantalainen
Copy link

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.

@jouellnyc
Copy link

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

@adventurist
Copy link

modprobe usbmon worked for me, too

@IAmAnubhavSaini
Copy link

IAmAnubhavSaini commented Jan 5, 2025

sudo apt install usbtop

# modprobe intelligently adds or removes a module from the Linux kernel (from man modprobe)
sudo modprobe usbmon

# run usbtop with elevated privileges.
sudo usbtop

EDIT: read README.md after posting above. Find the same info here: https://github.com/aguinet/usbtop?tab=readme-ov-file#usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants