You are not logged in.

#1 2006-04-06 10:55:38

hehejo_
Member
From: Germany
Registered: 2005-10-08
Posts: 47
Website

Notebook questions: acpid & fan working like in hell

Hello, I'm using the stock arch kernel on my Samsung X05 Centrino notebook.

I'm not quite sure if it's a real problem - but let's see.
cpudyn is working. It scales my cpu between 1400 MHz and 600 Mhz. The governor is powersafe.

But a boot the first start of "acpid" always fails - but cpudyn is working.
Do I need acpid? The batterymonitor works.

Next thing - my fan is working and working although my cpu is nearly sleeping.

Here's some info from /proc/acpi.

[~]
cat /proc/acpi/processor/CPU0/throttling 
state count:             8
active state:            T0
states:
   *T0:                  00%
    T1:                  12%
    T2:                  25%
    T3:                  37%
    T4:                  50%
    T5:                  62%
    T6:                  75%
    T7:                  87%
[~]
cat /proc/acpi/processor/CPU0/power 
active state:            C2
max_cstate:              C8
bus master activity:     4488910f
states:
    C1:                  type[C1] promotion[C2] demotion[--] latency[000] usage[00000010]
   *C2:                  type[C2] promotion[C3] demotion[C1] latency[001] usage[00539846]
    C3:                  type[C3] promotion[--] demotion[C2] latency[085] usage[00001420]
[~]
cat /proc/acpi/power_resource/PFAN/state 
state:                   on
system level:            S0
order:                   0
reference count:         0
[~]
cat /proc/acpi/thermal_zone/THRM/*
cooling mode:   active
<polling disabled>
state:                   ok
temperature:             30 C
critical (S5):           120 C
active[0]:               65 C: devices=0xdffe9fe0

So it seemes, that one hand doesn't know that the other hand scales the cpu.
What do I have to do, that my fan is "quiet" and cools only if needed.
ATM the CPU-Temperature is about 30°C - and the fan is running like hell!

uname -a and kernelversion

[~]
uname -a
Linux pirove 2.6.16-ARCH #1 SMP PREEMPT Thu Apr 6 08:28:36 CEST 2006 i686 Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux
[~]
pacman -Q kernel26 
kernel26 2.6.16.1-7

Modules and damons from rc.conf

MODULES=(uhci_hcd eepro100 ipw2100 ohci1394 yenta_socket snd-intel8x0 snd-pcm-oss speedstep-centrino cpufreq_powersave cpufreq_userspace freq_table )


DAEMONS=(syslog-ng klogd @network portmap !fam hal acpid cpudyn uptimed !pcmcia !hotplug)

Offline

#2 2006-04-08 08:28:49

hehejo_
Member
From: Germany
Registered: 2005-10-08
Posts: 47
Website

Re: Notebook questions: acpid & fan working like in hell

LAPTOP-MODE!
Jeha! It did the job!

Offline

#3 2006-04-08 12:52:33

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Notebook questions: acpid & fan working like in hell

hehejo_ wrote:

LAPTOP-MODE!
Jeha! It did the job!

howto enable the LAPTOP-MODE?


THX!!
cu matsche

Offline

#4 2006-04-08 16:24:19

rztka
Member
From: Czech Republic
Registered: 2006-03-10
Posts: 37

Re: Notebook questions: acpid & fan working like in hell

maybe he means laptop-mode-tools, it's in community, i'm trying it now..

Offline

#5 2006-04-10 10:28:04

hehejo_
Member
From: Germany
Registered: 2005-10-08
Posts: 47
Website

Re: Notebook questions: acpid & fan working like in hell

Jap. that's exactly what I mean.

It's working great -- hm, only 2 things bother me.
At shutdown I get the error, that /etc/rc.d/laptop-mode isn't found.
And starting it manually: I get this error:

root [/home/jo]
/etc/rc.d/laptop-mode restart
:: Stopping laptop-mode                                                            [DONE] 
:: Starting laptop-mode                                                            [BUSY]
/usr/sbin/laptop_mode: line 784: echo: write error: Das Argument ist ungültig
                                                                                   [DONE] 
root [/home/jo]

Das Argument ist ungültig == the argument is not valid.

779 # Set kernel setting, showing an error if this fails.
780 # Parameter 1: sysctl/proc path
781 # Parameter 2: the value
782 set_sysctl() {
783     echo "Executing: echo $2 > $1" >> $OUTPUT
784    if ! echo "$2" > "$1" ; then
785        echo "SETTING OF KERNEL PARAMETER FAILED: echo $2 > $1"
786    fi
787 }

Hacking into that file and >ing it to a file it get's me this:
Executing: echo 1 > /proc/sys/vm/dirty_background_ratio


But I don't know what's wrong.

Offline

#6 2006-04-10 21:13:01

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Notebook questions: acpid & fan working like in hell

hi, works here on [testing] and stock kernel 2.6.16.2 wothout any problems!


THX!!
cu matsche

Offline

Board footer

Powered by FluxBB