Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

MeerkatBrowser/nhwd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manjaro HardWare Detection (mhwd)

Copyright (C) 2012 2013 2014 2015 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:

  1. 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).
  2. 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!

Have a happy coding ! 👍

About

Namib Hardware Detection | Forked from Manjaro Hardware Detection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 78.7%
  • Shell 19.1%
  • CMake 1.3%
  • C 0.9%