vcrhonek / hwdata Goto Github PK
View Code? Open in Web Editor NEWhwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.
License: Other
hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.
License: Other
To update the various IDs files, run 'make download'. Related: * python binding https://github.com/xsuchy/python-hwdata
I recently saw that the UEFI Forum (https://uefi.org) hosts its own registry of PNP IDs (and ACPI IDs, FWIW): https://www.uefi.org/PNP_ACPI_Registry
This registry seems to be actively updated, as seen by sorting the list by approval date: https://www.uefi.org/pnp_id_list?search=&order=field_pnp_approved_on_date&sort=desc
What is not clear to me is what is the relation of this registry with the Microsoft one, though.
Should hwdata switch to this registry for pnp.ids?
Looks like something has been changed in 0.347 test suite and it started failing.
[tkloczko@barrel hwdata-0.347]$ make check
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
OK: /sbin/lspci -i pci.ids
OK: ./check-pci-ids.py
Listing usb devices:
sudo: podman: command not found
cat: /tmp/tmp.9gRim197YD/err.out: No such file or directory
Expected: pci.ids: UTF-8 Unicode text
Got instead: pci.ids: ASCII text
I wonder why
https://usb-ids.gowdy.us/read/UD/2433/b200
is know (I have this HW), but not present in usb.ids (albeit neither in gowdy.us). Can you enlight me please why it is not present in the file?
It would be great to move to a more open platform, like gitlab.freedesktop.org where other related projects are hosted.
I am not sure why a blacklist is included here. At any rate, some distributions (e.g. Arch Linux) find it undesirable to install such a blacklist in their hwdata package. Would it be reasonable to add a configure
option to stop installing the blacklist file?
When working on some sandboxing / permissions management in the Exherbo Linux package build system, I found that the hwdata test suite is running the command lspci -i pci.ids
. This command attempts to read the list of devices from the host system PCI bus - and the sandboxing blocks that, resulting in lspci returning an error (and the test failing).
lspci supports a PCI bus access method named "dump" which reads from a text file instead of reading from the real hardware. The dump can be generated using lspci, like so:
$ lspci -x -n
00:00.0 0600: 1022:1630
00: 22 10 30 16 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 e1 87
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
(...)
And should be committed to the git repository as test data. That dump file can then be used to test that lspci is able to use the pci.ids file, with a command like the following:
$ lspci -A dump -O dump.name=lspci.dump -i pci.ids
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
(...)
This would allow users of the library to easily check the dep and its version, and get the proper pkgdatadir
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.