mardicas Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/170357489247c6d028ea2d8.jpg)
Joined: 07 Jan 2008 Posts: 112 Location: Tallinn
|
Posted: Sun Feb 24, 2008 11:02 am Post subject: Cstate on Fujitsu-siemens Lifebook S7110 |
|
|
Hello,
i would like to make some notes about this laptop, maybe it applys to other lifebooks or laptops as well.
There are 3(actualy 4) states of Cstates.
Code: |
tuxu mardicas # cat /proc/acpi/processor/CPU0/power
active state: C0
max_cstate: C3
bus master activity: 00000000
maximum allowed latency: 2000 usec
states:
C1: type[C1] promotion[--] demotion[--] latency[001] usage[00000029] duration[00000000000000000000]
C2: type[C2] promotion[--] demotion[--] latency[001] usage[00002168] duration[00000000000001644047]
C3: type[C3] promotion[--] demotion[--] latency[017] usage[00055558] duration[00000000000732598140]
|
When linux goes to C3, then it starts to make a noise, i managed to fix this by setting the max_cstate=2 bootflag. But i still would like to know if this sound is generated with windows too? Any fixes to this?
Another funny thing happens when i use the dock. If i insert the laptop to a doc then the noise stops(C0) because it charges, when i remove the laptop then ACPI does not realise that it is not on AC anymore. Therefore stays on C0 and thinks that it is on AC.
ON BATTERY, now pluging in the power cord.
Code: |
Feb 24 12:56:40 tuxu acpid: received event "ac_adapter AC 00000080 00000001"
Feb 24 12:56:40 tuxu acpid: notifying client 6104[0:0]
Feb 24 12:56:40 tuxu acpid: notifying client 6631[104:445]
Feb 24 12:56:40 tuxu acpid: notifying client 7063[0:0]
Feb 24 12:56:40 tuxu acpid: executing action "/etc/acpi/default.sh ac_adapter AC 00000080 00000001"
Feb 24 12:56:40 tuxu cpufreqd: cpufreqd_set_profile : Profile "ondemand" set for cpu0
Feb 24 12:56:40 tuxu cpufreqd: cpufreqd_set_profile : Profile "ondemand" set for cpu1
Feb 24 12:56:40 tuxu logger: LCD Brightness to max
Feb 24 12:56:40 tuxu acpid: action exited with status 0
Feb 24 12:56:40 tuxu acpid: executing action "/etc/acpi/actions/pmg_switch_runlevel.sh ac_adapter AC 00000080 00000001"
Feb 24 12:56:42 tuxu logger: Switching to default runlevel
Feb 24 12:56:43 tuxu acpid: action exited with status 0
Feb 24 12:56:43 tuxu acpid: executing action "/etc/acpi/actions/lm_ac_adapter.sh ac_adapter AC 00000080 00000001"
Feb 24 12:56:45 tuxu acpid: action exited with status 0
Feb 24 12:56:45 tuxu acpid: completed event "ac_adapter AC 00000080 00000001"
|
ON AC, now pulling the plug.
Code: |
Feb 24 12:57:01 tuxu acpid: received event "ac_adapter AC 00000080 00000000"
Feb 24 12:57:01 tuxu acpid: notifying client 6104[0:0]
Feb 24 12:57:01 tuxu acpid: notifying client 6631[104:445]
Feb 24 12:57:01 tuxu acpid: notifying client 7063[0:0]
Feb 24 12:57:01 tuxu acpid: executing action "/etc/acpi/default.sh ac_adapter AC 00000080 00000000"
Feb 24 12:57:01 tuxu cpufreqd: cpufreqd_set_profile : Profile "conservative" set for cpu0
Feb 24 12:57:01 tuxu cpufreqd: cpufreqd_set_profile : Profile "conservative" set for cpu1
Feb 24 12:57:01 tuxu logger: LCD Brightness to low
Feb 24 12:57:01 tuxu acpid: action exited with status 0
Feb 24 12:57:01 tuxu acpid: executing action "/etc/acpi/actions/pmg_switch_runlevel.sh ac_adapter AC 00000080 00000000"
Feb 24 12:57:03 tuxu logger: Switching to battery runlevel
Feb 24 12:57:05 tuxu logger: LCD Brightness to low
Feb 24 12:57:06 tuxu acpid: action exited with status 0
Feb 24 12:57:06 tuxu acpid: executing action "/etc/acpi/actions/lm_ac_adapter.sh ac_adapter AC 00000080 00000000"
Feb 24 12:57:07 tuxu acpid: action exited with status 0
Feb 24 12:57:07 tuxu acpid: completed event "ac_adapter AC 00000080 00000000"
|
Everything is normal this way, but.
ON BATTERY docing laptop.
Code: |
Feb 24 12:57:20 tuxu usb 1-4: new high speed USB device using ehci_hcd and address 6
Feb 24 12:57:20 tuxu usb 1-4: configuration #1 chosen from 1 choice
Feb 24 12:57:20 tuxu hub 1-4:1.0: USB hub found
Feb 24 12:57:20 tuxu hub 1-4:1.0: 4 ports detected
Feb 24 12:57:21 tuxu cpufreqd: cpufreqd_set_profile : Profile "ondemand" set for cpu0
Feb 24 12:57:21 tuxu cpufreqd: cpufreqd_set_profile : Profile "ondemand" set for cpu1
Feb 24 12:57:21 tuxu ACPI: \_SB_.REPL - docking
|
IN DOCK, now removing laptop from it
Code: |
Feb 24 12:57:50 tuxu usb 1-4: USB disconnect, address 6
Feb 24 12:57:51 tuxu cpufreqd: cpufreqd_set_profile : Profile "conservative" set for cpu0
Feb 24 12:57:51 tuxu cpufreqd: cpufreqd_set_profile : Profile "conservative" set for cpu1
|
Any ideas? Why is there no ACPI event? _________________ http://mardicas.dyndns.org |
|