HWINFO(8)
π HWINFO(8) β System configuration, but make it cute π
okay so welcome to the hwinfo(8) manual page, bestie β this is the System configuration corner and we're about to probe for hardware together. No cap, it's giving "detective but for devices" ππ
β¨ NAME β¨
hwinfo β probe for hardware. That's the whole vibe: it finds out what hardware is chillin' in your system. π«Ά
π¦ SYNOPSIS π¦
hwinfo [ OPTIONS ]
π DESCRIPTION π
hwinfo is used to probe for the hardware present in the system. It can be used to generate a system overview log which can be later used for support. So yeah, it's the "what's in my computer?" tool, and the log it makes is lowkey perfect for support later. π
πΈ OPTIONS πΈ
big note first: running hwinfo without any options is roughly equivalent to hwinfo --all --log=-. Slay.
--<HARDWARE_ITEM>β This option can be given more than once. Probe for a particular HARDWARE_ITEM. Available hardware items are:all,arch,bios,block,bluetooth,braille,bridge,camera,cdrom,chipcard,cpu,disk,dsl,dvb,fingerprint,floppy,framebuffer,gfxcard,hub,ide,isapnp,isdn,joystick,keyboard,memory,mmc-ctrl,modem,monitor,mouse,netcard,network,partition,pci,pcmcia,pcmcia-ctrl,pppoe,printer,redasd,reallyall,scanner,scsi,smp,sound,storage-ctrl,sys,tape,tv,uml,usb,usb-ctrl,vbe,wlan,xen,zip. Note that if this option is missing, no hardware probing will be done! literally none. β οΈ--shortβ Show only a summary. Use this option in addition to a hardware probing option.--listmdβ Normallyhwinfodoes not report RAID devices. Add this option to see them.--only DEVNAMEβ This option can be given more than once. If you add this option only entries in the device list matching DEVNAME will be shown. Note that you also have to specify--<HARDWARE_ITEM>to trigger any device probing.--save-config SPECβ Store config for a particular device below/var/lib/hardware. SPEC can be a device name, an UDI, or'all'. This option must be given in addition to a hardware probing option.--show-config UDIβ Show saved config data for a particular device.--mapβ If disk names have changed (e.g. after a kernel update) this prints a list of disk name mappings. Note that you must have used--save-configat some point before for this can work.--debug Nβ Set debug level to N. The debug info is shown only in the log file. If you specify a log file, the debug level is implicitly set to a reasonable value (N is a bitmask of individual flags).--verboseβ Increase verbosity. Only together with--map.--log FILEβ Write log info to FILE. Don't forget to also specify--<HARDWARE_ITEM>to trigger any device probing.--dump-db Nβ Dump hardware data base. N is either 0 for the external data base in/var/lib/hardware, or 1 for the internal data base.--versionβ Printlibhdversion.--helpβ Print usage.
π ENVIRONMENT π
hwprobe can hold a comma-separated list of probing flags preceded by + or - to be turned on or off. To get a complete list of supported flags, run hwinfo -all (note: not --all) and look at the top of the output.
hwinfo also looks at /proc/cmdline for a hwprobe option.
π EXAMPLES π
- show all disks
hwinfo --disk
- just an overview
hwinfo --short --block
- show a particular disk
hwinfo --disk --only /dev/sdb
- save disk config state
hwinfo --disk --save-config=all
- try 4 graphics card ports for monitor data (default: 3)
hwprobe=bios.ddc.ports=4 hwinfo --monitor
- monitor detection runs the Video BIOS to get the monitor data; dump a complete BIOS code execution trace to the log
hwprobe=bios.ddc.ports=1,x86emu=trace:dump:trace.only=0:dump.only=0
hwinfo --monitor --log=foo
π§ FILES π§
/var/lib/hardware/hd.idsβ External hardware data base (in readable text form). Try the--dump-dboption to see the format./var/lib/hardware/udiβ Directory where persistent config data are stored (see--save-configoption).
π BUGS π
Not all hardware can be detected. π
π₯ SEE ALSO π₯
More documentation in /usr/share/doc/packages/hwinfo. Source repository: git@github.com:openSUSE/hwinfo.git.
Signed off with love: this is the hwinfo source/version, dated June 2016, and you're reading HWINFO(8). Bye bestie πβ¨
π¦ where this page comes from
- alpine 3.24: hwinfo-doc 25.4-r0 Β· GPL-2.0-or-later
- arch rolling: hwinfo 26.0-1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hwinfo 25.5-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hwinfo 25.5-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hwinfo 25.5-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hwinfo 25.5-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms