Manjaro Hardware Detection Overview
Views
Actions
Namespaces
Variants
Tools
Overview
The Manjaro HardWare Detection (mhwd) command is a unique feature of Manjaro, which enables the automatic detection and configuration of any kind of computer hardware the system is running on. This includes both hardware connected via PCI (e.g. graphics cards), and connected via USB (e.g. flashdrives).
Run automatically during the installation process, it allows for Manjaro to work fully on your system 'straight out of the box', without the need to manually identify and install the necessary drivers or to manually edit the appropriate configuration files. Also usable via the terminal after installation, the features of the mhwd command include:
- The choice of free (i.e. open-source) or non-free (i.e. proprietary) drivers
- Identification and listing (general or detailed) of your system's hardware
- Identification and listing (general or detailed) of installed drivers
- Listing of available drivers for installation (free and proprietary)
- Support of hybrid graphics cards (e.g. Nvidia Optimus)
- Easy removal and installation of drivers (selected automatically, or you can identify and choose your own)
mhwd Commands
All mhwd commands are undertaken using the terminal. The basic syntax of the mhwd command is:
mhwd [option(s)] <config(s)>
The mhwd options available are:
option Explanation --pci list only pci devices and driver configs --usb list only usb devices and driver configs -h/--help show help -f/--force force reinstallation -d/--detail show detailed info for -l/-li/-lh -l/--list list available configs for devices -la/--listall list all driver configs -li/--listinstalled list installed driver configs -lh/--listhardware list hardware information -i/--install <usb/pci> <config(s)> install driver config(s) -ic/--installcustom <usb/pci> <path> install custom config(s) -r/--remove <usb/pci> <config(s)> remove driver config(s) -a/--auto <usb/pci> <free/nonfree> <classid> auto install configs for classid --pmcachedir <path> set package manager cache path --pmconfig <path> set package manager config --pmroot <path> set package manager root
Listing Hardware Information
To identify and list your computer's hardware, the basic syntax is:
mhwd -lh [optional: detailed view] [optional: pci or usb devices only]
For example, for a detailed list of your hardware, enter:
mhwd -ld -d
It is also possible to filter your list by devices connected via pci or usb. In this instance, a detailed list will be generated only of hardware connected via PCI:
mhwd -lh -d --pci
Listing Installed Driver Information
To identify and list Manjaro's installed drivers, enter:
mhwd -li
For a detailed list, enter:
mhwd -li -d
Listing Available Drivers
Graphics Cards
A guide to using the mwhd command to identify, install or remove graphics drivers can be found in the (name) page.
Kernels
A guide to using the mhwd-kernel command to install and manage the use of multiple kernels can be found in the Manjaro Kernels page.