aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 04f172f2ac8f0b5edb8186bd7e4f33e33839b330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
HARDINFO
========

HardInfo is a system profiler and benchmark for Linux systems. It is able to
obtain information from both hardware and basic software, and organize them
in a simple to use GUI.

Features include:
- Report generation (in either HTML or plain text)
- Benchmark result synchronization
- Ability to explore the information on remote computers

Status
------

Capabilities: Hardinfo currently decteds software and detected hardware by the OS, mostly almost all.
Features: the remote sync was disable due server was lost
Development: currently are made by contribution, a stable and fixed/dedicated maintainer are required.

DEPENDENCIES
------------

Required:
- GTK+ 2.10 (or newer)
- GLib 2.10 (or newer)
- Zlib (for zlib benchmark)

Optional (for synchronization/remote):
- Libsoup 2.24 (or newer)

BUILDING
--------

Create a build directory and build from there:

``` bash
	hardinfo $ mkdir build
	hardinfo $ cd build
	build $ cmake ..
	build $ make
```

There are some variables that can be changed:

 * `CMAKE_BUILD_TYPE` : Can be either Release or Debug
   * `[Default: Release]` Debug builds prints messages to console and are not recommended for general use
 * `CMAKE_INSTALL_PREFIX` : Sets the installation prefix.
   * `[Default: /usr/local]` : distributions generalli changes to `/usr`
 * `HARDINFO_NOSYNC` : Disables network synchronization
   * `[Default: 1]` : Disabled by default due the server service was lost.

To set a variable, pass use cmake's -D command-line parameter. For example:

`	build $ cmake .. -DCMAKE_BUILD_TYPE=Debug `

Network sync are enabled if libsoup are detected, if having trouble building with libsoup, disable it with:

`	build $ cmake -DHARDINFO_NOSYNC=1`

SETTING UP
----------

Most things in HardInfo are detected automatically. However, some things
depends on manual set up. They are:

### Sensors

**lm-sensors**: If your computer is compatible with lm-sensors module, use by example the
`sensors-detect` program included with the lm-sensors package of Debian based distros, and be sure
to have the detected kernel modules loaded.

**hddtemp**: To obtain the hard disk drive temperature, be sure to run hddtemp
in daemon mode, using the default port.

### Memory Speed

The module `eeeprom` mus be loaded to display info about memory hardware instaled.
Load with `modprobe eeprom` and refres the module screen.