Gentoo Archives: gentoo-laptop

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-laptop@l.g.o
Subject: [gentoo-laptop] system temperature on lifebook P1610 fujitsu
Date: Tue, 31 Mar 2009 15:28:08
Message-Id: 49D23677.1070704@gmail.com
1 Hello,
2
3 I am new to lm_sensors and have recently installed version 2.10.7. The
4 output of sensors is:
5
6 -> sensors
7 coretemp-isa-0000
8 Adapter: ISA adapter
9 Core 0: +54°C (high = +100°C)
10
11 and I am wondering why I am not seeing the system temperature which I
12 believe it is listed under
13
14 -> cat /proc/acpi/thermal_zone/TZ00/temperature
15 temperature: 27 C
16
17 or
18
19 -> cat /proc/acpi/thermal_zone/TZ01/temperature
20 temperature: 27 C
21
22 (why two zones? I am not sure either). The kernel modules loaded are:
23
24 -> lsmod
25 Module Size Used by
26 coretemp 4736 0
27 sbs 11144 0
28 sbshc 4736 1 sbs
29 i2c_i801 8080 0
30
31 During the lm_sensors install it required the smartbatt module but the
32 kernel 2.6.27.12 would only build shs.ko. Which brings me to another
33 question of whether the battery info should be listed in the output of
34 sensors??
35
36 -> cat /proc/acpi/battery/CMB1/info
37 present: yes
38 design capacity: 5200 mAh
39 last full capacity: 5200 mAh
40 battery technology: rechargeable
41 design voltage: 10800 mV
42 design capacity warning: 644 mAh
43 design capacity low: 72 mAh
44 capacity granularity 1: 1 mAh
45 capacity granularity 2: 1 mAh
46 model number: CP229725 / CP229726
47 serial number: 1
48 battery type: LION
49 OEM info: Fujitsu
50
51 Thank you in advance for your help with these basic questions.
52
53 --
54 Valmor
55
56
57
58 -> sensors-detect
59 # sensors-detect revision 5291 (2008-06-23 23:40:46 -0700)
60
61 This program will help you determine which kernel modules you need
62 to load to use lm_sensors most effectively. It is generally safe
63 and recommended to accept the default answers to all questions,
64 unless you know what you're doing.
65
66 We can start with probing for (PCI) I2C or SMBus adapters.
67 Do you want to probe now? (YES/no): YES
68 Probing for PCI bus adapters...
69 Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
70
71 We will now try to load each adapter module in turn.
72 Load `i2c-i801' (say NO if built into your kernel)? (YES/no): NO
73 If you have undetectable or unsupported I2C/SMBus adapters, you can have
74 them scanned by manually loading the modules before running this script.
75
76 We are now going to do the I2C/SMBus adapter probings. Some chips may
77 be double detected; we choose the one with the highest confidence
78 value in that case.
79 If you found that the adapter hung after probing a certain address,
80 you can specify that address to remain unprobed.
81
82 Next adapter: SMBus I801 adapter at 18a0 (i2c-0)
83 Do you want to scan it? (YES/no/selectively): YES
84 Client found at address 0x0b
85 Probing for `Smart Battery'... Success!
86 (confidence 5, driver `smartbatt')
87 Client found at address 0x19
88 Probing for `Analog Devices ADM1021'... No
89 Probing for `Analog Devices ADM1021A/ADM1023'... No
90 Probing for `Maxim MAX1617'... No
91 Probing for `Maxim MAX1617A'... No
92 Probing for `Maxim MAX1668'... No
93 Probing for `Maxim MAX1805'... No
94 Probing for `Maxim MAX1989'... No
95 Probing for `Maxim MAX6655/MAX6656'... No
96 Probing for `TI THMC10'... No
97 Probing for `National Semiconductor LM84'... No
98 Probing for `Genesys Logic GL523SM'... No
99 Probing for `Onsemi MC1066'... No
100 Probing for `Maxim MAX1619'... No
101 Probing for `National Semiconductor LM82/LM83'... No
102 Probing for `Maxim MAX6680/MAX6681'... No
103
104 Some chips are also accessible through the ISA I/O ports. We have to
105 write to arbitrary I/O ports to probe them. This is usually safe though.
106 Yes, you do have ISA I/O ports even if you do not have any ISA slots!
107 Do you want to scan the ISA I/O ports? (YES/no): YES
108 Probing for `National Semiconductor LM78' at 0x290... No
109 Probing for `National Semiconductor LM78-J' at 0x290... No
110 Probing for `National Semiconductor LM79' at 0x290... No
111 Probing for `Winbond W83781D' at 0x290... No
112 Probing for `Winbond W83782D' at 0x290... No
113 Probing for `IPMI BMC KCS' at 0xca0... No
114 Probing for `IPMI BMC SMIC' at 0xca8... No
115
116 Some Super I/O chips may also contain sensors. We have to write to
117 standard I/O ports to probe them. This is usually safe.
118 Do you want to scan for Super I/O sensors? (YES/no): YES
119 Probing for Super-I/O at 0x2e/0x2f
120 Trying family `National Semiconductor'... No
121 Trying family `SMSC'... Yes
122 Found unknown non-standard chip with ID 0x7a
123 Probing for Super-I/O at 0x4e/0x4f
124 Trying family `National Semiconductor'... No
125 Trying family `SMSC'... Yes
126 Found unknown chip with ID 0x0b00
127
128 Some south bridges, CPUs or memory controllers may also contain
129 embedded sensors. Do you want to scan for them? (YES/no): YES
130 Silicon Integrated Systems SIS5595... No
131 VIA VT82C686 Integrated Sensors... No
132 VIA VT8231 Integrated Sensors... No
133 AMD K8 thermal sensors... No
134 AMD K10 thermal sensors... No
135 Intel Core family thermal sensor... Success!
136 (driver `coretemp')
137 Intel AMB FB-DIMM thermal sensor... No
138 VIA C7 thermal and voltage sensors... No
139
140 Now follows a summary of the probes I have just done.
141 Just press ENTER to continue:
142
143 Driver `smartbatt' (should be inserted):
144 Detects correctly:
145 * Bus `SMBus I801 adapter at 18a0'
146 Busdriver `i2c-i801', I2C address 0x0b
147 Chip `Smart Battery' (confidence: 5)
148
149 Driver `coretemp' (should be inserted):
150 Detects correctly:
151 * Chip `Intel Core family thermal sensor' (confidence: 9)
152
153 To load everything that is needed, execute the commands below...
154
155 #----cut here----
156 # I2C adapter drivers
157 modprobe i2c-i801
158 # Chip drivers
159 # Warning: the required module smartbatt is not currently installed
160 # on your system. For status of 2.6 kernel ports check
161 # http://www.lm-sensors.org/wiki/Devices. If driver is built
162 # into the kernel, or unavailable, comment out the following line.
163 modprobe smartbatt
164 # Warning: the required module coretemp is not currently installed
165 # on your system. For status of 2.6 kernel ports check
166 # http://www.lm-sensors.org/wiki/Devices. If driver is built
167 # into the kernel, or unavailable, comment out the following line.
168 modprobe coretemp
169 # sleep 2 # optional
170 /usr/bin/sensors -s # recommended
171 #----end cut here----
172 Do you want to generate /etc/conf.d/lm_sensors? Enter s for other
173 filename (yes/NO/s): yes
174 Done.
175 You should now start the lm_sensors service to load the required
176 kernel modules.