Add k10temp discussion to Aspire One 722 post.
authorW. Trevor King <wking@drexel.edu>
Sat, 17 Mar 2012 15:43:25 +0000 (11:43 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 17 Mar 2012 15:43:25 +0000 (11:43 -0400)
posts/Aspire_One_722.mdwn

index ddb9ef9e90a0dd486875861a74998fd7026e9531..6bb1306aacd67f5db003c7572ec34c37145f7416 100644 (file)
@@ -7,6 +7,28 @@ Processor
 The processor is an AMD Fusion [C-60][] (dual core, x86-64, 1 GHz;
 `CONFIG_MK8` option).
 
+You can monitor the processor temperature uring the [k10temp][] module
+(`CONFIG_SENSORS_K10TEMP` option), which communicates with the
+processor via the PCI bus:
+
+    $ lspci -k
+    …
+    00:18.3 Host bridge: Advanced Micro Devices [AMD] Device 1703
+       Kernel driver in use: k10temp
+       Kernel modules: k10temp
+    …
+
+You can find read the processor temperature in degrees Celsius using
+sysfs.  On my system, I can use:
+
+    $ cat '/sys/module/k10temp/drivers/pci:k10temp/0000:00:18.3/temp1_input'
+    75500
+
+You can also get there directly through the PCI interface:
+
+    $ cat '/sys/devices/pci0000:00/0000:00:18.3/temp1_input'
+    75500
+
 Graphics
 --------
 
@@ -112,10 +134,6 @@ Internals
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c-piix4
     …
-    00:18.3 Host bridge: Advanced Micro Devices [AMD] Device 1703
-       Kernel driver in use: k10temp
-       Kernel modules: k10temp
-    …
 
 TODO
 ----
@@ -140,6 +158,7 @@ What are these for?
     00:18.7 Host bridge: Advanced Micro Devices [AMD] Device 1719
 
 [C-60]: http://en.wikipedia.org/wiki/Amd_fusion#.22Ontario.@@_.2840.C2.A0nm.29
+[k10temp]: http://www.kernel.org/doc/Documentation/hwmon/k10temp
 [Evergreen]: http://en.wikipedia.org/wiki/Evergreen_(GPU_family)
 [hd6290]: http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units#IGP_.28HD_6xxx.29
 [HDA]: http://en.wikipedia.org/wiki/Intel_High_Definition_Audio