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