hwdata

hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.

Latest version: 0.409

Add to xmake.lua

add_requires("hwdata 0.409")

Learn how to add and link packages with Xmake →

Information

License
GPL-2.0-or-later
Kind
library
Recipe updated
2026-07-06T06:14:36.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64

Options

No configurable options.

Versions

  • v0.397
  • v0.399
  • v0.400
  • v0.401
  • v0.402
  • v0.406
  • v0.407
  • v0.408
  • v0.409

Dependencies

No dependencies declared.

Used by (2)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "hwdata 0.409"

show info

xrepo info "hwdata"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("hwdata 0.409")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("hwdata")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "hwdata 0.409" shell