LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-22-2006, 08:13 PM   #1
105659
LQ Newbie
 
Registered: Nov 2005
Location: BC, Canada
Posts: 26

Rep: Reputation: 15
Unhappy 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.
 
Old 07-23-2006, 02:16 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
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
 
Old 07-24-2006, 10:52 PM   #3
105659
LQ Newbie
 
Registered: Nov 2005
Location: BC, Canada
Posts: 26

Original Poster
Rep: Reputation: 15
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
 
Old 07-25-2006, 08:32 AM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Core Duo Support ? bobbeck Linux - Hardware 8 01-10-2008 07:54 PM
Linux on Intel Core Duo Macbook?? BlackDahlia Linux - Laptop and Netbook 3 07-03-2006 02:21 AM
Intel core duo vs. Pentium D colinstu General 0 06-19-2006 04:02 PM
Intel Core Duo Processor mtzo81 Linux - Laptop and Netbook 7 06-15-2006 01:34 PM
AMD 64x2 vs Intel Core Duo genthree Linux - General 2 05-09-2006 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration