854
edits
m (added languages and translate tags) |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
__TOC__ | __TOC__ | ||
<translate> | <translate> | ||
= Overview = | = Overview = <!--T:1--> | ||
<!--T:2--> | |||
[[File: mhwd.png|left]] | [[File: mhwd.png|left]] | ||
<!--T:3--> | |||
The '''M'''anjaro '''H'''ard'''W'''are '''D'''etection (mhwd) command is a unique feature of Manjaro. There are currently two types of mhwd command: | The '''M'''anjaro '''H'''ard'''W'''are '''D'''etection (mhwd) command is a unique feature of Manjaro. There are currently two types of mhwd command: | ||
<!--T:4--> | |||
'''1. mhwd:''' Enables the automatic detection and configuration of computer hardware the system is running on. This includes both hardware connected internally via '''[http://en.wikipedia.org/wiki/Conventional_PCI PCI]''' (e.g. graphics cards), and connected externally via '''[http://en.wikipedia.org/wiki/USB USB]''' (e.g. flashdrives). '''Note:''' The mhwd command is still ''under development'', and at present is only able to install drivers for graphics cards connected internally via pci. | '''1. mhwd:''' Enables the automatic detection and configuration of computer hardware the system is running on. This includes both hardware connected internally via '''[http://en.wikipedia.org/wiki/Conventional_PCI PCI]''' (e.g. graphics cards), and connected externally via '''[http://en.wikipedia.org/wiki/USB USB]''' (e.g. flashdrives). '''Note:''' The mhwd command is still ''under development'', and at present is only able to install drivers for graphics cards connected internally via pci. | ||
<!--T:5--> | |||
'''2. mhwd-kernel:''' Enables the installation and easy management of ''multiple'' kernels on your system. | '''2. mhwd-kernel:''' Enables the installation and easy management of ''multiple'' kernels on your system. | ||
<br clear="all" /> | <br clear="all" /> | ||
= mhwd = | = mhwd = <!--T:6--> | ||
<!--T:7--> | |||
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: | 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: | ||
<!--T:8--> | |||
* The choice of free (i.e. open-source) or non-free (i.e. proprietary) drivers | * 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 your system's hardware | ||
Line 26: | Line 32: | ||
== mhwd Commands == | == mhwd Commands == <!--T:9--> | ||
<!--T:10--> | |||
All mhwd commands are undertaken using the terminal. The syntax of a mhwd command is: | All mhwd commands are undertaken using the terminal. The syntax of a mhwd command is: | ||
mhwd [option(s)] <config(s)> | <!--T:11--> | ||
mhwd [option(s)] <config(s)> | |||
<!--T:12--> | |||
The mhwd options available are: | The mhwd options available are: | ||
<u>'''Option'''</u> <u>'''Explanation'''</u> | <!--T:13--> | ||
<u>'''Option'''</u> <u>'''Explanation'''</u> | |||
--pci list only pci devices and driver configs | --pci list only pci devices and driver configs | ||
--usb list only usb devices and driver configs | --usb list only usb devices and driver configs | ||
Line 53: | Line 63: | ||
=== Listing Hardware Information === | === Listing Hardware Information === <!--T:14--> | ||
<!--T:15--> | |||
To identify and list your computer's hardware, the syntax is: | To identify and list your computer's hardware, the syntax is: | ||
mhwd -lh [optional: detailed view] [optional: pci or usb devices only] | <!--T:16--> | ||
mhwd -lh [optional: detailed view] [optional: pci or usb devices only] | |||
<!--T:17--> | |||
For example, a detailed list of your hardware can be obtained by entering: | For example, a detailed list of your hardware can be obtained by entering: | ||
mhwd -lh -d | <!--T:18--> | ||
mhwd -lh -d | |||
<!--T:19--> | |||
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 with a PCI connection: | 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 with a PCI connection: | ||
mhwd -lh -d --pci | <!--T:20--> | ||
mhwd -lh -d --pci | |||
=== Listing Installed Driver Information === | === Listing Installed Driver Information === <!--T:21--> | ||
<!--T:22--> | |||
To identify and list Manjaro's installed drivers, the syntax is: | To identify and list Manjaro's installed drivers, the syntax is: | ||
mhwd -li [optional: detailed view] [optional: pci or usb devices only] | <!--T:23--> | ||
mhwd -li [optional: detailed view] [optional: pci or usb devices only] | |||
<!--T:24--> | |||
For example, a detailed list of your installed drivers can be obtained by entering: | For example, a detailed list of your installed drivers can be obtained by entering: | ||
mhwd -li -d | <!--T:25--> | ||
mhwd -li -d | |||
<!--T:26--> | |||
It is also possible to filter your list of installed drivers by whether they are used on hardware connected via pci or usb. In this instance, a detailed list will be generated only for installed drivers used on hardware with a PCI connection: | It is also possible to filter your list of installed drivers by whether they are used on hardware connected via pci or usb. In this instance, a detailed list will be generated only for installed drivers used on hardware with a PCI connection: | ||
mhwd -li -d --pci | <!--T:27--> | ||
mhwd -li -d --pci | |||
=== Listing Available Drivers === | === Listing Available Drivers === <!--T:28--> | ||
<!--T:29--> | |||
'''To list all the drivers that are available''' (whether appropriate for your system or not), the basic syntax is: | '''To list all the drivers that are available''' (whether appropriate for your system or not), the basic syntax is: | ||
mhwd -la [optional: pci or usb] | <!--T:30--> | ||
mhwd -la [optional: pci or usb] | |||
<!--T:31--> | |||
For example, a list of all drivers available for just USB devices (and not just those connected to your system) can be obtained by entering: | For example, a list of all drivers available for just USB devices (and not just those connected to your system) can be obtained by entering: | ||
mhwd -la --usb | <!--T:32--> | ||
mhwd -la --usb | |||
<!--T:33--> | |||
'''To list only the appropriate drivers that are available for your system''', the basic syntax is: | '''To list only the appropriate drivers that are available for your system''', the basic syntax is: | ||
mhwd -l [optional: pci or usb] | <!--T:34--> | ||
mhwd -l [optional: pci or usb] | |||
<!--T:35--> | |||
For example, a list of all available drivers specifically for devices connected via pci <u>on your system</u> can be obtained by entering: | For example, a list of all available drivers specifically for devices connected via pci <u>on your system</u> can be obtained by entering: | ||
mhwd -l --pci | <!--T:36--> | ||
mhwd -l --pci | |||
= See also = | = See also = <!--T:37--> | ||
<!--T:38--> | |||
* A guide to using the '''mwhd''' command to identify, install or remove graphics drivers can be found in the '''[[Configure Graphics Cards|Configure Graphics Cards page]]'''. | * A guide to using the '''mwhd''' command to identify, install or remove graphics drivers can be found in the '''[[Configure Graphics Cards|Configure Graphics Cards page]]'''. | ||
* A guide to using the '''mhwd-kernel''' command can be found in the '''[[Manjaro_Kernels|Manjaro Kernels page]]'''. | * A guide to using the '''mhwd-kernel''' command can be found in the '''[[Manjaro_Kernels|Manjaro Kernels page]]'''. |