Closed lunarwhite closed 2 years ago
version 007 is from 2013, please work with your distro to use a more up to date version, nothing I can do about that.
And yes, newer versions of lsusb use better device id information, it relies on the hw.ids database.
Please work with your distro to resolve this, it is not an upstream issue. Use the support contract you are paying them for to help resolve this issue. Good luck!
Thanks for your reply. I've fixed the 007
version problem by using latest Ubuntu verison. But the lsusb
outputs are still outdated.
So I want to figure out, if I want to get the latest device id information(like way-1 outputs), what depenencies must be installed? Did I miss any package?
Or the output just rely on the hw.ids database, not the usbutils? Should I try to update the database manually?
I do not know, please work with your distribution on this, it all depends on how they have packaged this tool as to where it finds the information from.
[update] issue solved, share the solution for someone who got same error.
usbutils
has these dependencies:
usb.ids
hwdb.bin
Make sure you have these installed. For me, apt install udev
will install the hwdb.bin
.
Find more details in https://unix.stackexchange.com/questions/621265/how-to-use-lsusb-in-a-docker-container-to-get-usb-device-descriptions
Hi, I try to install and explore the usage of usbutils in two different ways:
1 install from apt
install
use
2 make and install from source code
install & make
use
My env:
Linux 3f0a1abbf23a 5.13.0-51-generic #58~20.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
And I use docker for these tests:
docker run -it ubuntu:18.04
My questions:
apt update
, but usbutils installed version is007
which is outdated?014
is up-to-date, but thelsusb
outputs are not up-to-date? I go to check the usb.ids in http://www.linux-usb.org/usb.ids, and I find the outputs don't match the latest usb.ids.lsusb
outputs through way-2's installation steps?Is there something I misunderstood?
Thanks in advance :)