You are not logged in.

#1 2005-07-08 21:13:48

matjaz
Member
Registered: 2004-03-08
Posts: 16

klaptop using /proc/acpi/sleep instead of /sys/power/state

This is a problem in kde since it disables most of the features of klaptop. In other words for me at-least kde cpu frequency scaling, standby, suspend do not work through klaptop since it seems to use /proc/acpi/sleep instead of /sys/power/state which is the only thing available in the new kernel. I am not sure if this is a kde problem, my kernel problem, or just simply my particular problem.
Is there a way to fix this.

Thanks for the help,
Matt

Offline

#2 2005-07-08 21:26:51

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

/proc/acpi/sleep is deprecated, so most likely klaptop needs to be rebuilt - no idea if it needs to be patched or if it's a setting somewhere...

Offline

#3 2005-07-09 07:35:38

matjaz
Member
Registered: 2004-03-08
Posts: 16

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

Well that is my question is this a bug or just a setup option. And can I fix this easily without rebuilding kde.

Offline

#4 2005-07-09 09:01:00

matjaz
Member
Registered: 2004-03-08
Posts: 16

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

It also seems kde is not reading the current cpu frequency correctly. It seems to use/proc/cpuinfo instead of /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq to get the current frequency. In addition when clicking setup helper applications under ACPI Config in klaptop I get:
The /opt/kde/bin/klaptop_acpi_helper application does not seem to have the same size or checksum as when it was compiled we do NOT recommend you proceed with making it setuid-root without further investigation
Are other people having these problems as well or is this unique to me.

Offline

#5 2005-07-12 09:05:25

sven
Member
Registered: 2005-02-01
Posts: 311

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

I am having the same problem with my laptop and the new kernel 2.6.12 (cko and swsusp2 patches)

Offline

#6 2005-07-12 11:25:43

sven
Member
Registered: 2005-02-01
Posts: 311

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

I found one solution: you must enable /proc/acpi/sleep in kernel. I am using this kernel with cko and ATI radeon support now and I edited the PKGBUILD. On the line where there is yes | make config, remove the yes part and set make menuconfig instead for easier editing.

Offline

#7 2005-07-12 11:34:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

Filed a bug with the kde people yet?

Offline

#8 2005-07-12 13:00:58

matjaz
Member
Registered: 2004-03-08
Posts: 16

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

I haven't filled this as a bug yet since I wasn't sure it was one. Since other people are having the same problem I will do so, so they can check it out.

Offline

#9 2005-07-12 15:34:53

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: klaptop using /proc/acpi/sleep instead of /sys/power/state

yeah, it's an upstream KDE problem - it's deprecated in the kernel, so they need to change their code

Offline

Board footer

Powered by FluxBB