hwlib

Crates.iohwlib
lib.rshwlib
version0.11.0
created_at2025-06-23 07:32:48.801765+00
updated_at2025-12-17 14:56:25.413728+00
descriptionTool for checking Ubuntu hardware certification status
homepagehttps://github.com/canonical/hardware-api/
repositoryhttps://github.com/canonical/hardware-api/
max_upload_size
id1722562
size122,578
Nadzeya Hutsko (nadzyah)

documentation

https://github.com/canonical/hardware-api/

README

Hardware API Client

Snapcraft Crates.io Documentation status Test client lib and CLI tool codecov

The Hardware API Client is the tool to check the certification status of hardware configurations.

It consists of both the hwlib library and hwctl CLI tool.

  • hwlib: Rust library for communicating with the API server.
  • hwctl: CLI tool leveraging the hwlib library.

Basic Usage

To check the machine certification status, simply run hwctl with root1 privileges:

sudo hwctl

To send the request to a different server than the default, specify the HW_API_URL environment variable:

sudo HW_API_URL=https://your.server.url hwctl

Installation

hwctl is available on all major Linux distributions.

On snap-ready systems, you can install it on the command-line with:

sudo snap install hwctl

On Questing Quokka (25.10), you can also install it using apt:

sudo apt-get install hwctl

Community and Support

You can report any issues, bugs, or feature requests on the project's GitHub repository.

Contribute to the Hardware API Client

The Hardware API Client is open source. Contributions are welcome.

If you're interested, start with the client contribution guide.

License and Copyright

The Hardware API Client is released under the LGPL-3.0 license

© 2025 Canonical Ltd.

Footnotes

  1. The client requires root access since we collect the hardware information using SMBIOS data.

Commit count: 0

cargo fmt