hw-probe

A tool to probe for hardware and upload result to the Linux Hardware Database

Subscribe to updates I use hw-probe


Statistics on hw-probe

Number of watchers on Github 21
Number of open issues 5
Average time to close an issue 2 months
Main language Perl
Open pull requests 1+
Closed pull requests 2+
Last commit 3 months ago
Repo Created over 2 years ago
Repo Last Updated 3 months ago
Size 109 KB
Homepage https://linux-har...
Organization / Authorlinuxhw
Latest Release1.3
Contributors2
Page Updated
Do you use hw-probe? Leave a review!
View open issues (5)
View hw-probe activity
View on github
Latest Open Source Launches
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating hw-probe for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

HW PROBE 1.3

Hardware Probe Tool (HW Probe) a tool to probe for hardware, check its operability and upload result to the Linux hardware database: https://linux-hardware.org

Contents

  1. About
  2. Usage
  3. Docker
  4. Live ISO
  5. Install
  6. Inventory
  7. Offline View

About

Probe is a snapshot of your computer's hardware state and system logs. HW Probe tool returns permanent URL to view the probe of the computer.

Sample probe: https://linux-hardware.org/?probe=b394035f90

Share your probes and logs with Linux developers in order to debug and fix problems on your computer. Simplify inventory of hardware and navigate over the computers in your company.

You can make a probe with the help of a script, Docker image or Linux ISO (see below).

Usage

sudo hw-probe -all -upload -id DESC

DESC any description of the probe.

Docker

You can easily make a probe on any Linux distribution without installing the tool with the help of the Docker image:

sudo docker run -it \
-v /dev:/dev:ro \
-v /lib/modules:/lib/modules:ro \
-v /etc/os-release:/etc/os-release:ro \
-v /var/log:/var/log:ro \
--privileged --net=host --pid=host \
linuxhw/hw-probe -all -upload -id DESC

You may need to run 'xhost +local:' before docker run to collect X11 info (xrandr, xinput, etc.).

Docker hub repository: https://hub.docker.com/r/linuxhw/hw-probe/

Live ISO

If the tool is not pre-installed in your system or you have troubles with installing the tool or its dependencies (e.g. hwinfo is not available in the repository) then try this Linux ISO with hw-probe installed: https://mirror.yandex.ru/rosa/rosa2016.1/iso/ROSA.Fresh.R10/

Boot this Linux ISO in Live mode on your computer and make a probe (see USAGE).

Install

sudo make install prefix=/usr

If you don't want to install anything to your system, then you can probe your computer by Docker image or Live ISO (see above).

Install On Debian

On Debian, Ubuntu, Mint and other Debian-based Linux distributions you can install a PPA package:

sudo add-apt-repository ppa:mikhailnov/hw-probe
sudo apt update
sudo apt install hw-probe
Requires
  • Perl 5
  • hwinfo (https://github.com/openSUSE/hwinfo or https://linux-hardware.org/downloads/hwinfo/)
  • curl
  • dmidecode
  • smartmontools (smartctl)
  • pciutils (lspci)
  • usbutils (lsusb)
Suggests
  • hdparm
  • edid-decode
  • sysstat (iostat)
  • memtester
  • systemd-tools (systemd-analyze)
  • ...

See full list of suggested packages in the INSTALL file.

Inventory

hw-probe -get-group
sudo hw-probe -all -upload -id DESC -group ID

Offline View

Create your probes collection view for offline use:

sudo hw-probe -import DIR
hw-probe open issues Ask a question     (View All Issues)
  • over 1 year ERROR: failed to upload probe
  • over 2 years Add an option to generate HTML view of the probe
  • over 2 years Add new probes: nvidia-smi, CUDA-Z and numactl -H
hw-probe open pull requests (View All Pulls)
  • Added vdpauinfo and linux-tools-common for cpupower output
hw-probe list of languages used
hw-probe latest release notes
1.3 Hardware Probe Tool 1.3

New Features

  1. Docker image for HW Probe to run anywhere
  2. Detecting NVMe drives
  3. Create offline collections of probes with -import option
  4. Collecting logs in C.UTF-8 locale
  5. Added probes: vulkaninfo, iostat, vainfo, uptime, memtester, cpuinfo, i2cdetect, numactl and lsinitrd
  6. Made -dump-acpi and -decode-acpi public options
  7. Improved support for Alpine Linux

Bug Fixes

  1. Fixed detection of computer vendor/model
  2. Fixed detection of HWid
  3. Fixed collecting of X11 logs
  4. Fixed xdpyinfo probe
1.2 Hardware Probe Tool 1.2
  1. Use ip addr command to detect hwaddr if ifconfig command is not available
  2. Fixed hdparm and smartctl logs
1.0 Hardware Probe Tool 1.0

This is a first public release of the tool, that was used internally for testing hardware compatibility of the Linux distributions since 2014.

Other projects in Perl