regenerated
[www.git] / www / psensor / faq.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="generator" content="Asciidoctor 1.5.4">
8 <title>Psensor Frequently Asked Questions</title>
9 <link rel="stylesheet" href="./../style.css">
10 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
11 <script src="nav.js"></script>
12 <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
13 </head>
14 <body class="article">
15 <div id="header">
16 <h1>Psensor Frequently Asked Questions</h1>
17 </div>
18 <div id="content">
19 <div id="preamble">
20 <div class="sectionbody">
21 <div class="paragraph">
22 <p>The last version of this FAQ is available at <a href="http://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=doc/faq.html;hb=HEAD" class="bare">http://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=doc/faq.html;hb=HEAD</a>.</p>
23 </div>
24 </div>
25 </div>
26 <div class="sect1">
27 <h2 id="S_NoSensors">No sensors or only cpu usage is displayed</h2>
28 <div class="sectionbody">
29 <div class="paragraph">
30 <p>Psensor is relying on few libraries or softwares for retrieving the
31 information about the computer:</p>
32 </div>
33 <div class="ulist">
34 <ul>
35 <li>
36 <p>motherboard and CPUs sensors: the information is retrieved
37 from the lm-sensors library, it requires that
38 sensors-detect has been run and the kernel module
39 correctly installed. sensors can be used for checking.</p>
40 </li>
41 <li>
42 <p>GPUs: it depends on which driver you are using:</p>
43 <div class="ulist">
44 <ul>
45 <li>
46 <p>Opensource drivers (nouveau for Nvidia GPUs or
47 radeon/ati for ATI GPUs) is used and support sensor
48 monitoring for your GPU, the information is using
49 lm-sensors, same steps than above.</p>
50 </li>
51 <li>
52 <p>proprietary driver Nvidia: run nvidia-settings to
53 check that it supports sensors monitoring.</p>
54 </li>
55 <li>
56 <p>proprietary driver Catalyst/fglx: use aticonfig to
57 check that it supports sensors monitoring. Important
58 note: it requires that you are using a Psensor
59 binary compiled with the ATI support.</p>
60 </li>
61 </ul>
62 </div>
63 </li>
64 </ul>
65 </div>
66 <div class="paragraph">
67 <p>For hard disk drives, psensor can use:</p>
68 </div>
69 <div class="ulist">
70 <ul>
71 <li>
72 <p>udisks2: added since 1.1.2 release. It is the default and
73 recommended provider.</p>
74 </li>
75 <li>
76 <p>hddtemp: verify that it is correctly reporting temperature by
77 using the command: sudo hddtemp /dev/sda. It is the default
78 provider until 1.1.2 release.</p>
79 </li>
80 <li>
81 <p>atasmart library: before the 1.1.2 release it can be enabled
82 by using the command line option --use-libatasmart.</p>
83 </li>
84 </ul>
85 </div>
86 <div class="paragraph">
87 <p>If the underlying software is reporting sensors which are not
88 displayed by Psensor, it is probably a bug in Psensor, so please
89 report it. Otherwise, the issue is on the underlying software itself
90 and you should contact the corresponding development team or refer to
91 its documentation.</p>
92 </div>
93 <div class="paragraph">
94 <p>Since the release 1.1.2, the providers can be enabled or disabled directly
95 from the user interface (Preferences&gt;Provider).</p>
96 </div>
97 </div>
98 </div>
99 <div class="sect1">
100 <h2 id="S_ATIMonitoring">How to monitor an ATI card using the Catalyst driver?</h2>
101 <div class="sectionbody">
102 <div class="paragraph">
103 <p>For monitoring ATI card using the proprietary Catalyst driver, Psensor
104 must be compiled with a proprietary library which is not packaged in
105 any Linux distribution.</p>
106 </div>
107 <div class="paragraph">
108 <p>Unfortunely, due to the license of this library, I cannot provide a
109 compiled version of Psensor, even in a Ubuntu PPA or Ubuntu/Debian
110 standard repositories. You have to compile Psensor sensor. You can
111 find the instructions in the section ATI/AMD GPU Support of the
112 README file available in the Psensor source archives.</p>
113 </div>
114 <div class="paragraph">
115 <p>If you are using the ATI OpenSource driver, it is not needed to
116 compile Psensor with this proprietary library.</p>
117 </div>
118 </div>
119 </div>
120 <div class="sect1">
121 <h2 id="S_WrongTemperature">The reported temperature is obviously wrong</h2>
122 <div class="sectionbody">
123 <div class="paragraph">
124 <p>If the reported temperature is obviously wrong (never change, lower
125 than the ambiant temperature, negative, higher than the sun
126 temperature, etc):</p>
127 </div>
128 <div class="ulist">
129 <ul>
130 <li>
131 <p>most of the time it is not a bug in Psensor nor in the
132 underlying monitoring libraries:</p>
133 <div class="ulist">
134 <ul>
135 <li>
136 <p>if the temperature does not change, it might be due
137 to an existent sensor not wired by the hardware
138 manufacturer.</p>
139 </li>
140 <li>
141 <p>the goal of the sensor is to allow the system to
142 detect critical temperature and NOT to report an
143 exact temperature. Most sensors report a relative
144 temperature. The more it differs from the critical
145 temperature , the more it is wrong.</p>
146 </li>
147 </ul>
148 </div>
149 </li>
150 <li>
151 <p>It is only a bug in Psensor if the underlying libraries
152 report a different information than Psensor (use the
153 appropriate command or software: sensors, aticonfig or
154 hddtemp to check). In this case, please report a bug.</p>
155 </li>
156 </ul>
157 </div>
158 </div>
159 </div>
160 <div class="sect1">
161 <h2 id="S_WhatIsTheSensor">What is the sensors XXXX?</h2>
162 <div class="sectionbody">
163 <div class="paragraph">
164 <p>Since Psensor v0.7.0.4, open the preferences of the sensor (click on
165 its name in the main window and select the menu item Preferences), and
166 look at the Chip field.</p>
167 </div>
168 <div class="paragraph">
169 <p>For older Psensor releases, look at the Id field, if the string is
170 starting with:</p>
171 </div>
172 <div class="ulist">
173 <ul>
174 <li>
175 <p>lmsensor coretemp: Intel CPU.</p>
176 </li>
177 <li>
178 <p>lmsensor k10temp, lmsensor k8temp, lmsensor fam15h_power: AMD CPU.</p>
179 </li>
180 <li>
181 <p>nvidia or lmsensor nouveau: NVIDIA GPU.</p>
182 </li>
183 <li>
184 <p>hdd: hard disk drive.</p>
185 </li>
186 <li>
187 <p>amd: AMD GPU.</p>
188 </li>
189 <li>
190 <p>lmsensor C B: C is the name of the chip, B the name of the adapter.</p>
191 </li>
192 </ul>
193 </div>
194 <div class="paragraph">
195 <p>For more information about lmsensor devices, see
196 <a href="http://lm-sensors.org/wiki/Devices" class="bare">http://lm-sensors.org/wiki/Devices</a>.</p>
197 </div>
198 </div>
199 </div>
200 <div class="sect1">
201 <h2 id="S_BugReport">How to report a bug?</h2>
202 <div class="sectionbody">
203 <div class="paragraph">
204 <p>Please use <a href="https://bugs.launchpad.net/psensor/+filebug" class="bare">https://bugs.launchpad.net/psensor/+filebug</a> to report bugs
205 even if it can only reproduced with a non-Ubuntu distribution or a
206 release not available in the standard Ubuntu repositories.</p>
207 </div>
208 <div class="paragraph">
209 <p>You can also use
210 <a href="https://bugs.launchpad.net/ubuntu/+source/psensor/+filebug" class="bare">https://bugs.launchpad.net/ubuntu/+source/psensor/+filebug</a> if the bug
211 can be reproduced with a package from the standard Ubuntu
212 repositories.</p>
213 </div>
214 <div class="paragraph">
215 <p>If you don’t want to use the launchpad, you can send the report by
216 email to:</p>
217 </div>
218 <div class="ulist">
219 <ul>
220 <li>
221 <p><a href="mailto:psensor-users@googlegroups.com">psensor-users@googlegroups.com</a></p>
222 </li>
223 <li>
224 <p>or <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>.</p>
225 </li>
226 </ul>
227 </div>
228 <div class="paragraph">
229 <p>If the bug is concerning Debian or Ubuntu derivatives distribution,
230 please add in its description the output of the command: apt-cache
231 policy psensor.</p>
232 </div>
233 <div class="paragraph">
234 <p>If it is related to the Psensor source compilation, please add the
235 full output of the configure command.</p>
236 </div>
237 </div>
238 </div>
239 <div class="sect1">
240 <h2 id="S_SubmitIdea">How to send ideas, questions or comments?</h2>
241 <div class="sectionbody">
242 <div class="paragraph">
243 <p>Check the FAQ or the TODO pages.</p>
244 </div>
245 <div class="paragraph">
246 <p>If you don’t find the information, you can send an email to the public
247 mailing-list <a href="mailto:psensor-users@googlegroups.com">psensor-users@googlegroups.com</a> or directly to me:
248 <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>.</p>
249 </div>
250 </div>
251 </div>
252 <div class="sect1">
253 <h2 id="S_Contribute">How to contribute?</h2>
254 <div class="sectionbody">
255 <div class="paragraph">
256 <p>See <a href="http://wpitchoune.net/blog/psensor/how-to-contribute/" class="bare">http://wpitchoune.net/blog/psensor/how-to-contribute/</a>.</p>
257 </div>
258 </div>
259 </div>
260 <div class="sect1">
261 <h2 id="S_UbuntuInstall">How to install Psensor on Ubuntu?</h2>
262 <div class="sectionbody">
263 <div class="paragraph">
264 <p>Psensor is in the official repository, search psensor in the
265 software center and install it. More information at:
266 <a href="http://wpitchoune.net/blog/psensor/ubuntu-integration/" class="bare">http://wpitchoune.net/blog/psensor/ubuntu-integration/</a>.</p>
267 </div>
268 </div>
269 </div>
270 <div class="sect1">
271 <h2 id="S_DebianInstall">How to install Psensor on Debian?</h2>
272 <div class="sectionbody">
273 <div class="paragraph">
274 <p>Psensor is in the official repository since Debian 7.0. You can get
275 the last packaged version from the sid repository. More information
276 at: <a href="http://packages.qa.debian.org/p/psensor.html" class="bare">http://packages.qa.debian.org/p/psensor.html</a>.</p>
277 </div>
278 </div>
279 </div>
280 <div class="sect1">
281 <h2 id="S_PPA">What is the difference between the 3 Ubuntu PPAs?</h2>
282 <div class="sectionbody">
283 <div class="ulist">
284 <ul>
285 <li>
286 <p>ppa:jfi/ppa: last stable version.</p>
287 </li>
288 <li>
289 <p>ppa:jfi/psensor-unstable: last development version, no
290 major bug is expected.</p>
291 </li>
292 <li>
293 <p>ppa:jfi/psensor-daily-trunk: build each day directly from
294 the GIT source repository. It may contain major bugs or
295 incomplete features. Useful for contributors or testing
296 whether a bug is fixed.</p>
297 </li>
298 </ul>
299 </div>
300 </div>
301 </div>
302 <div class="sect1">
303 <h2 id="S_ArchLinuxInstall">How to install Psensor on ArchLinux?</h2>
304 <div class="sectionbody">
305 <div class="paragraph">
306 <p>See <a href="http://aur.archlinux.org/packages.php?ID=37807" class="bare">http://aur.archlinux.org/packages.php?ID=37807</a>.</p>
307 </div>
308 </div>
309 </div>
310 <div class="sect1">
311 <h2 id="S_OtherInstall">How to install Psensor on my Linux distribution?</h2>
312 <div class="sectionbody">
313 <div class="paragraph">
314 <p>Psensor packages are available in the standard repositories of Ubuntu
315 (since Oneiric) and Debian (since v7) distributions.</p>
316 </div>
317 <div class="paragraph">
318 <p>For other distributions, you will find the compilation and
319 installation instructions in the section Installation from source
320 archive in the README file of the source archive. Psensor should
321 compile in any modern distribution.</p>
322 </div>
323 </div>
324 </div>
325 <div class="sect1">
326 <h2 id="S_LOG">How to log sensors temperatures?</h2>
327 <div class="sectionbody">
328 <div class="paragraph">
329 <p>The best way is probably to use sensord or a custom script based on
330 the output of the different commands like sensors.</p>
331 </div>
332 <div class="paragraph">
333 <p>Anyway, as I received several requests about such feature, since the
334 0.7.0.4 release it is implemented in both psensor ( menu preferences &gt;
335 sensors &gt; enable log of measures) and psensor-server
336 (--sensor-log-file option). For psensor the log file is
337 $HOME/.psensor/sensors.log.</p>
338 </div>
339 </div>
340 </div>
341 <div class="sect1">
342 <h2 id="S_NO_GRAPH_DISPLAYED">No graphs are displayed, but the table of the main window is displaying sensors</h2>
343 <div class="sectionbody">
344 <div class="paragraph">
345 <p>In the sensors table of the main window, switch on the checkbox of the last
346 column (named Enabled or Graph depending on the Psensor version).</p>
347 </div>
348 </div>
349 </div>
350 <div class="sect1">
351 <h2 id="S_autostart">Launch Psensor automaticaly on session startup</h2>
352 <div class="sectionbody">
353 <div class="paragraph">
354 <p>Since the version 1.0.1, Psensor is no more started automaticaly by default.</p>
355 </div>
356 <div class="paragraph">
357 <p>Open the Preferences window, select the Startup tab and switch on
358 the option Launch on session startup.</p>
359 </div>
360 <div class="paragraph">
361 <p>This feature is requiring that the Desktop Environment supports the
362 <a href="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
363 specification</a>.</p>
364 </div>
365 </div>
366 </div>
367 <div class="sect1">
368 <h2 id="S_disk">How to monitor the temperature of a disk with hddtemp?</h2>
369 <div class="sectionbody">
370 <div class="paragraph">
371 <p>Until the release 1.1.2, Psensor is using hddtemp by default to
372 retrieve the temperature of the disks.</p>
373 </div>
374 <div class="paragraph">
375 <p>If hddtemp is installed but no disk temperature is reported, check
376 that the daemon is running by using for example the command ps
377 -eaf|grep hddtemp.
378 It should output something like:</p>
379 </div>
380 <div class="listingblock">
381 <div class="content">
382 <pre>root      1433     1  0 May28 ?        00:00:21 /usr/sbin/hddtemp -d -l 127.0.0.1 -p 7634 -s | /dev/sdb</pre>
383 </div>
384 </div>
385 <div class="paragraph">
386 <p>Depending on the Linux distribution, the installation of the hddtemp
387 package does not enable the hddtemp daemon automaticaly.</p>
388 </div>
389 <div class="paragraph">
390 <p>In this case, edit the file /etc/default/hddtemp and set
391 RUN_DAEMON to "true". After edition, it should contain the
392 following line:</p>
393 </div>
394 <div class="listingblock">
395 <div class="content">
396 <pre>RUN_DAEMON="true"</pre>
397 </div>
398 </div>
399 <div class="paragraph">
400 <p>For Debian/Ubuntu, you can use at root:</p>
401 </div>
402 <div class="listingblock">
403 <div class="content">
404 <pre>dpkg-reconfigure hddtemp</pre>
405 </div>
406 </div>
407 <div class="paragraph">
408 <p>and reply yes when asked whether hddtemp daemon must be
409 run during the startup.</p>
410 </div>
411 </div>
412 </div>
413 <div class="sect1">
414 <h2 id="S_SimilarSoft">Is there any other similar softwares?</h2>
415 <div class="sectionbody">
416 <div class="paragraph">
417 <p>Here is a list of few well-known sensors monitoring softwares:</p>
418 </div>
419 <div class="ulist">
420 <ul>
421 <li>
422 <p>for X11: <a href="http://freecode.com/projects/xsensors" class="bare">http://freecode.com/projects/xsensors</a></p>
423 </li>
424 <li>
425 <p>for GNOME2: <a href="http://sensors-applet.sourceforge.net/" class="bare">http://sensors-applet.sourceforge.net/</a></p>
426 </li>
427 <li>
428 <p>for Ubuntu Unity: <a href="https://launchpad.net/indicator-sensors" class="bare">https://launchpad.net/indicator-sensors</a></p>
429 </li>
430 <li>
431 <p>more general, but can be configured to display sensors
432 information: <a href="http://conky.sourceforge.net/" class="bare">http://conky.sourceforge.net/</a></p>
433 </li>
434 </ul>
435 </div>
436 </div>
437 </div>
438 <div class="sect1">
439 <h2 id="S_HideSensor">Is it possible to hide sensors in the main window?</h2>
440 <div class="sectionbody">
441 <div class="paragraph">
442 <p>Before v1.1.1, the sensors retrieved from the lm-sensor library can be
443 ignored directly in the lm-sensor configuration. See the manpage
444 of sensors.conf(5).</p>
445 </div>
446 <div class="paragraph">
447 <p>Since v1.1.1, it is possible to hide a sensor, uncheck the setting
448 'Display sensor in the list of sensors' in the sensor preferences.</p>
449 </div>
450 </div>
451 </div>
452 </div>
453 <div id="footer">
454 <div id="footer-text">
455 Last updated 2016-06-14 10:13:47 CEST
456 </div>
457 </div>
458 </body>
459 </html>