Manjaro Hardware Detection
- C++ 80.6%
- Shell 17.3%
- CMake 1.2%
- C 0.9%
| libmhwd | ||
| scripts | ||
| src | ||
| .gitignore | ||
| AUTHORS | ||
| CMakeLists.txt | ||
| COPYING | ||
| README.md | ||
Manjaro HardWare Detection (mhwd)
Copyright © 2012-2018 Manjaro Developers
Project licensed under GNU GPL v.3 - Check COPYING file
The Manjaro HardWare Detection (mhwd) command is a unique feature of Manjaro Linux operating system.
There are currently two types of mhwd command:
- mhwd: Enables the automatic detection and configuration of computer hardware the system is running on. This includes both hardware connected internally via PCI (e.g. graphics cards), and connected externally via USB (e.g. flashdrives).
- mhwd-kernel: Enables the installation and easy management of multiple kernels on your system.
For more info about mhwd go to mhwd wiki page.
TODO list
- allow to set the base lib dir
- force to remove db config
- show detailed info for one config
- set architecture from library not from bash
- pass ids and bus ids to script
- don't remove packages on reinstallation...
- add option similar to pacman --root ...
Contribute
Code Convention
The code convention used in this project is CamelCase. For example:
Instead of:
void Mhwd::set_version_mhwd(std::string version_of_software, std::string year_copyright)
{
}
write:
void Mhwd::setVersionMhwd(std::string versionOfSoftware, std::string yearCopyright)
{
}
Indentation of Code
Don't use tabs, instead use spaces and count 4 characters.
Software need for coding or testing
Building
In a terminal window do:
[your-name@your-name mhwd]$ mkdir build
[your-name@your-name mhwd]$ cd build/
[your-name@your-name build]$ cmake ..
[your-name@your-name build]$ make
now you have the mhwd program in the folder mhwd/bin/
or
[your-name@your-name build]$ make install
to install the files in linux directories!