[ltp] X60s: Heat, power management, battery

Atul Chitnis linux-thinkpad@linux-thinkpad.org
Wed, 12 Jul 2006 22:42:11 +0530 (IST)


On Wed, 12 Jul 2006, Laurent Gilson wrote:

> Could you please run cat /proc/acpi/processor/CPU/power and post the output ?

[root@vader] ~# cat /proc/acpi/processor/CPU0/power
active state:            C2
max_cstate:              C8
bus master activity:     5248208f
states:
     C1:                  type[C1] promotion[C2] demotion[--] latency[000] 
usage[00000010]
    *C2:                  type[C2] promotion[C3] demotion[C1] latency[001] 
usage[04412241]
     C3:                  type[C3] promotion[--] demotion[C2] latency[017] 
usage[00117140]

(similar for CPU1)


> I´m thinking about the USB vs CPU-sleep "bug". A centrino CPU (PentiumM, 
> CoreSolo, CoreDuo,... ) can scale it´s frequency (and voltage) and go to 
> sleep (C-States). The frequency-scaling is based on the load and linux can 
> enforce it anytime. Sleeping is controlled by the CPU and stops working if 
> something is using a lot of bus master transfers. These happen then a 
> USB-device (like the internal card reader or bluetooth device) is connected. 
> There are workarounds and patches against that. Newer kernels should not 
> cause that.

This model doesnt have a bluetooth device (booo!!!!) and while it has an 
internal card reader, it is currently not directly supported under Linux 
(i.e. patch needed).

> The next point to check is the WLAN-card. iwconfig should output something 
> like this:
>
> eth0      IEEE 802.11g  ESSID:"XXXXXX"
>         Mode:Managed  Frequency:2.462 GHz  Access Point: 00:12:17:49:B9:33
>         Bit Rate=54 Mb/s   Tx-Power=10 dBm
>         Retry limit:7   RTS thr:off   Fragment thr:off
>         Encryption key:off
>         Power Management:on
>         Link Quality=79/100  Signal level=-50 dBm  Noise level=-82 dBm
>         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>         Tx excessive retries:0  Invalid misc:2   Missed beacon:0
>
> The important line is the "Power Management". off would be bad. "iwconfig 
> eth0 power period 10000" works good with intel 2200 chips.

eth1      IEEE 802.11b  ESSID:"achitnis"  Nickname:"vader.atulchitnis.net"
           Mode:Managed  Frequency:2.437 GHz  Access Point: 00:12:17:3A:B6:84
           Bit Rate:11 Mb/s   Tx-Power:15 dBm
           Retry limit:15   RTS thr:off   Fragment thr:off
           Power Management:off
           Link Quality=94/100  Signal level=-36 dBm  Noise level=-37 dBm
           Rx invalid nwid:0  Rx invalid crypt:1  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:28532   Missed beacon:0

[root@vader] ~# iwconfig eth1 power period 10000

Error for wireless request "Set Power Management" (8B2C) :
     SET failed on device eth1 ; Operation not supported.

Bleh. The chipset is ipw3945, btw. Support doesnt ship with FC5, so am 
using the driver from atrpms.net.

> And is it a model with touchscreen ?

No, the standard, non-tablet model.

Atul

-- 
-----------------------------------------
Atul Chitnis     | mail@atulchitnis.net
Bangalore, India | http://atulchitnis.net
-----------------------------------------