Check hardware compatibility: Difference between revisions

From Alpine Linux
(Add a note about the hw-probe package from edge/testing)
 
(Add Category:Hardware)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Note|This article is related to bare-metal Alpine installations. This is not for Alpine installed in any virtual environment (Docker, VZ container or VM).}}
{{Note|This article is related to bare-metal Alpine installations. This is not for Alpine installed in any virtual environment (Docker, VZ container or VM).}}


There is an easy and quick method to check all hardware devices on the motherboard for Linux-compatibility with the help of recently added [https://pkgs.alpinelinux.org/packages?name=hw-probe hw-probe package] in edge/testing. The tool checks operability of devices by analysis of logs and searches for missed drivers by the [https://cateee.net/lkddb/ LKDDb].
There is an easy and quick method to check all hardware devices on the motherboard for Linux-compatibility with the help of recently added {{Pkg|hw-probe}} package in Edge/Testing. The tool checks operability of hardware devices by analysis of logs and tries to find missed drivers with the help of [https://cateee.net/lkddb/ LKDDb].
 
== Install ==


= Install =
The package can be installed from edge/testing repository by the following command:
The package can be installed from edge/testing repository by the following command:


    sudo apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing hw-probe
{{Cmd|# apk add --no-cache -X <nowiki>https://dl-cdn.alpinelinux.org/alpine/edge/testing</nowiki> hw-probe}}
 
== Check hardware ==


= Check hardware =
{{Note|Private information (including the username, machine's hostname, IP addresses, MAC addresses and serial numbers) is NOT uploaded to the database. The tool uploads 32-byte prefix of salted SHA512 hash of MAC addresses and serial numbers to properly identify unique computers and hard drives. All the data is uploaded securely via HTTPS.}}
{{Note|Private information (including the username, machine's hostname, IP addresses, MAC addresses and serial numbers) is NOT uploaded to the database. The tool uploads 32-byte prefix of salted SHA512 hash of MAC addresses and serial numbers to properly identify unique computers and hard drives. All the data is uploaded securely via HTTPS.}}
{{Tip|If you are security paranoid try to run [https://hub.docker.com/r/linuxhw/hw-probe/ Docker image] or [https://flathub.org/apps/details/org.linux_hardware.hw-probe Flatpak app] instead of the apk package to restrict access to meaningful system resources.}}
{{Tip|If you are security paranoid try to run [https://hub.docker.com/r/linuxhw/hw-probe/ Docker image] or [https://flathub.org/apps/details/org.linux_hardware.hw-probe Flatpak app] instead of the apk package to restrict access to meaningful system resources.}}


Use this command:
Use this command:


    sudo -E hw-probe -all -upload
{{Cmd|hw-probe -all -upload}}


Sample output:
Sample output:
Line 24: Line 27:


Now follow the link to check if everything is fine according to the hardware knowledge base.
Now follow the link to check if everything is fine according to the hardware knowledge base.
[[Category:Installation]]
[[Category:Hardware]]

Latest revision as of 09:23, 7 July 2024

Note: This article is related to bare-metal Alpine installations. This is not for Alpine installed in any virtual environment (Docker, VZ container or VM).

There is an easy and quick method to check all hardware devices on the motherboard for Linux-compatibility with the help of recently added hw-probe package in Edge/Testing. The tool checks operability of hardware devices by analysis of logs and tries to find missed drivers with the help of LKDDb.

Install

The package can be installed from edge/testing repository by the following command:

# apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/testing hw-probe

Check hardware

Note: Private information (including the username, machine's hostname, IP addresses, MAC addresses and serial numbers) is NOT uploaded to the database. The tool uploads 32-byte prefix of salted SHA512 hash of MAC addresses and serial numbers to properly identify unique computers and hard drives. All the data is uploaded securely via HTTPS.
Tip: If you are security paranoid try to run Docker image or Flatpak app instead of the apk package to restrict access to meaningful system resources.

Use this command:

hw-probe -all -upload

Sample output:

   Probe for hardware ... Ok
   Reading logs ... Ok
   Uploaded to DB, Thank you!
   Probe URL: https://linux-hardware.org/?probe=43a8c9674e

Now follow the link to check if everything is fine according to the hardware knowledge base.