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