LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   acpi on Mandriva 2006/Intel duo core/945GM (https://www.linuxquestions.org/questions/mandriva-30/acpi-on-mandriva-2006-intel-duo-core-945gm-466645/)

105659 07-22-2006 08:13 PM

acpi on Mandriva 2006/Intel duo core/945GM
 
Hi all,
I've pretty much given up trying to get sleep and/or hibernate working on my HP nx6310 (centrino duo core with 945GM chipset) running Mandriva 2006. It been a totally frustrating waste of time.

My kernel has acpi in it:
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_HOTKEY=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_IBM=m
# CONFIG_ACPI_IBM_DOCK is not set
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=m


Acpi is running:

[root@localhost Me]# /etc/init.d/acpi status
Modules Loaded:
Nothing

(Umm, Is that normal ?)

[root@localhost Me]# /etc/init.d/acpid status
acpid (pid 4138) is running...


For a start, I've been trying to get klaptop to work. Perhaps someone can tell me what I'm doing wrong here. When I click on the ACPI Config tab in klaptop all of the check boxes are indeed greyed-out. So, following the nice detailed instructions below said greyed-out boxes, I dutifully click the "Setup Helper apps" button. It says I will need to provide the root passwd. No problem I think as I click on the continue button. Then nothing else happens, and nothing changes. Sigh. Help!

Where do I even _start_ to debug this?

\begin{rant}
If even MS/HP can make it work out of the box could the linux/KDE/Gnu/whomever world please fix these types of problems before moving on to the next piece of sometimes-sort-of-partly-functional software? This is all too common and it's sinking linux.
\end{rant}

Thanks in advance for any help.

GlennsPref 07-23-2006 02:16 AM

Firstly, it's only in your mind that linux is sinking, it really has come a long way, who uses hibernate anyway? lol!. end rant...

You must have a package missing or your not configuring as root, might explain the greyed out check boxes (not available). Perhaps that is what was meant by the error message, login as root.

I would start a session as root and see if you can configure it then.

I haven't had this problem, so I stand corrected if proven wrong.

Cheers

105659 07-24-2006 10:52 PM

I've re-installed (--force) all the relevant rpms for acpi & klaptop etc that I could think of. Whether that made any difference or not I do not know, but now the throttling option is shown and works in the klaptop battery status applet with my usual custom kernel (2.6.7.3, plus current alsa and ipw3945 intel centrino wireless.)

Running klaptop configuration as root makes no difference.

However, when I boot kernel vmlinuz-2.6.12-12mdksmp (which lacks other essentials) I do also get suspend and hibernate choices in the klaptop menu (accessed via the battery icon), but they do not work; they have no apparent affect at all. So, I suspect I have something missing from my custom kernel .config , in addition to acpi configuration problems.

Searching the web for ideas I find references to files in /proc/acpi/sleep . I do not even have that directory:

$ ls -al /proc/acpi

dr-xr-xr-x 148 root root 0 Jul 24 18:49 ../
-r-------- 1 root root 0 Jul 24 18:50 event
dr-xr-xr-x 11 root root 0 Jul 24 18:50 ./
dr-xr-xr-x 3 root root 0 Jul 24 20:24 video/
dr-xr-xr-x 7 root root 0 Jul 24 20:24 thermal_zone/
dr-xr-xr-x 4 root root 0 Jul 24 20:24 processor/
dr-xr-xr-x 7 root root 0 Jul 24 20:24 power_resource/
-r--r--r-- 1 root root 0 Jul 24 20:24 info
dr-xr-xr-x 6 root root 0 Jul 24 20:24 fan/
-r-------- 1 root root 0 Jul 24 20:24 fadt
dr-xr-xr-x 3 root root 0 Jul 24 20:24 embedded_controller/
-r-------- 1 root root 0 Jul 24 20:24 dsdt
-rw-r--r-- 1 root root 0 Jul 24 20:24 debug_level
-rw-r--r-- 1 root root 0 Jul 24 20:24 debug_layer
dr-xr-xr-x 5 root root 0 Jul 24 20:24 button/
dr-xr-xr-x 4 root root 0 Jul 24 20:24 battery/
dr-xr-xr-x 3 root root 0 Jul 24 20:24 ac_adapter/

My guess is that I should be looking to fix whatever it is that adds "modules" to acpi, which would be listed by: "/etc/init.d/acpi status " (currently lists "nothing" which seems suspicious). This is difficult at the moment as I don't know what it is I'm looking for.

Could someone please run /etc/init.d/acpi status on a laptop on which sleep/hibernate/ suspend to memory and/or disk etc are working and post the output?

# more acpi/events/sleep
event=button/sleep
action=/usr/sbin/pmsuspend2 memory

Sleep button (Fn F3, apparently) does nothing.

Battery/AC power switching is detected correctly (screen brighness and CPU speed are adjusted)
Closing the lid only shuts off the backlight, and I suspect that's done in the hardware anyway.

# ls /etc/acpi/actions/ -al
total 20
drwxr-xr-x 2 root root 4096 Jun 7 01:53 ./
drwxr-xr-x 4 root root 4096 Jun 7 01:53 ../
-rwxr-xr-x 1 root root 112 Aug 18 2004 lm_ac_adapter.sh*
-rwxr-xr-x 1 root root 1621 Aug 4 2005 lm_battery.sh*
-rwxr-xr-x 1 root root 126 Oct 26 2004 lm_lid.sh*

Cheers!
105659

GlennsPref 07-25-2006 08:32 AM

Instead of rpm......-force.....

have you tried urpmi ? like, urpmi klaptop

I've found it finds all the neccessary packages from the repositories or your set up disks.

If you haven't, google "easyurpmi" and when you get there just follow the prompts.


All times are GMT -5. The time now is 11:14 PM.