#5719 closed enhancement (fixed)
usbutils-008
Reported by: | Fernando de Oliveira | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.7 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Change History (12)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
comment:3 by , 9 years ago
It is difficult, but I will try a first version of both: usbutils and ne package hwids. New ticket for the latter: #5724.
comment:4 by , 9 years ago
comment:5 by , 9 years ago
Bruce, script lsusb.py needs python2 at runtime.
BTW, I wrote:
lsusb.py is a more human and limited form of lsusb.
In the script, we have:
# lsusb.py # Displays your USB devices in reasonable form.
Perhaps, what I wrote could be modified.
Finally, using
lsusb.py usage or lsusb.py -h
gives the options. Particularly interesting is the last sentence of the help output:
Use lsusb.py -ciu to get a nice overview of your USB devices.
What do you think, some comments in the page?
Shall I do them, or you will do together with hwids?
comment:7 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
I'll take a look and update as needed.
comment:9 by , 9 years ago
Bruce, thanks for solving this.
You missed the command "udevadm hwdb --update". Was it intentional? Any problem if I add it to the Configuration section?
If the user needs wget, is it required option?
comment:10 by , 9 years ago
OK, just seen LFS commit 10779.
So, just left the question about adding wget as required for configuration. If you agree and don't have time I can do it.
comment:11 by , 9 years ago
Go ahead if you want. It's really optional. Only those using the py version need it.
At first sight, 5 minutes of work, but..
his is a very difficult one. Systemd strikes again?
https://lkml.org/lkml/2014/10/21/771
Particularly, it means not installing usb.ids nor update-usbids.
Bad result is that I only get
While previously we had:
By hwdb, Arch Linux seems to think about
https://www.archlinux.org/packages/core/any/hwids/
But this only installs usb.ids and pci.ids.
First problem, a new package? Not necessarily, couçd just be extra download.
Second problem if installing both ids, it overwrites the ones by pciutils.
Third problem, I couldn't make lsusb grab the descriptors from hwids.