Skip to contentSkip to conversation

acpi related problem on ACER TM 4002WLMi running SuSE 9.2

DISCUSSION Carlos E Manglano-Villamarin 3 participants 4 messages Mar 14, 2005 – Mar 30, 2005 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi everyone,

my problem is that I cannot manage to have the battery icon showing when running 'kpowersave' in the pannel. Only the icon for AC mode appears, and the computer thinks it's running under AC :-/

I've tried to download and install some patch from this site but I have a serious doubt before messing around with the kernel. Let's go step-by-step:

1) I dowloaded the 'sbs-cm-20050213' patch, extracted it and followed the instructions
2) But when I get to step 8 and go to the webpage recommended
http://forums.gentoo.org/viewtopic.php?t=122145
I read the following line
"SuSE 9.0 already includes this patch in the default kernel! See /etc/sysconfig/kernel for more information (ACPI_DSDT=...)"

I don't know if I should follow all the steps or try a different approach to my problem.

Any help, plz?

Thanx in advance for your time
Carlos

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw
Quoted 18 lines · Carlos E Manglano-Villamarin

Hi everyone,

my problem is that I cannot manage to have the battery icon showing when running 'kpowersave' in the pannel. Only the icon for AC mode appears, and the computer thinks it's running under AC :-/

I've tried to download and install some patch from this site but I have a serious doubt before messing around with the kernel. Let's go step-by-step:

1) I dowloaded the 'sbs-cm-20050213' patch, extracted it and followed the instructions
2) But when I get to step 8 and go to the webpage recommended
http://forums.gentoo.org/viewtopic.php?t=122145
I read the following line
"SuSE 9.0 already includes this patch in the default kernel! See /etc/sysconfig/kernel for more information (ACPI_DSDT=...)"

Quoted 5 lines

I don't know if I should follow all the steps or try a different approach to my problem.

Any help, plz?

I think you are referring to this manual from
https://sourceforge.net/projects/sbs-linux/:

1) Ensure that you have the source tree installed for your kernel. If you are going to be using the embedded controller spinlock patch (discussed further below), you will probably have to use the 2.6.10 kernel.

2) Change into the directory containing the patches (i.e., the same directory in which you found this README file).

3) Ensure that you have Intel's iasl compiler installed somewhere in your PATH. The compiler can be downloaded from:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
It appears that older versions of the compiler (e.g., 20040715) produce incorrect code; therefore, make sure your version is a relatively-recent one (e.g., 20041203).

4) [As root] Grab a copy of your current DSDT:
cat /proc/acpi/dsdt > dsdt.dat

5) Disassemble the DSDT, to produce the file dsdt.dsl:
iasl -d dsdt.dat

6) Patch the dsdt.dsl file with the appropriate patch (see the table above):
patch < XXXXXXXX-sbs-cm.diff

7) Recompile the DSDT, to produce the file DSDT.aml:
iasl dsdt.dsl

8) [As root] Follow the instructions for installing the new DSDT (DSDT.aml) given on this page:

        http://forums.gentoo.org/viewtopic.php?t=122145

Section 9 gives the appropriate instructions; there are 3 different methods of installing the DSDT, I find method 9b (initrd DSDT override) to be the easiest. Whichever method you chose, however, you *will* have to recompile and reinstall your kernel at least once.

9) [As root] Install the embedded controller spinlock patch, that I describe below in the "Embedded Controller Patch" section. This step is optional, but pretty important if you don't want to get missed keypresses and other weirdness.

10) Reboot your machine. Your battery(s) should now show up in /proc/acpi/battery, and your AC adapter in /proc/acpi/ac_adapter

________________________________--

Running SUSE you do not need to recompile your kernel:

Skip 1 and be sure you have the pmtools package installed (should be default AFAIK).

Follow step 2-6

7) Recompile the DSDT, to produce the file DSDT.aml:
iasl -sa dsdt.dsl

8a) copy the compiled DSDT.aml file e.g. to /etc

8b) add the path pointing to e.g. /etc/DSDT.aml to /etc/sysconfig/kernel

    ACPI_DSDT="/etc/DSDT.aml"

8c) Append DSDT to initrd:
mkinitrd

8d) reboot

9) If you encounter problems of too high CPU load because battery is polled too often, set POWERSAVED_FORCE_BATTERY_POLLING="no"
in (depends on your version, is it SL 9.2?) in /etc/sysconfig/powersave/battery

In this case the battery is only polled on battery events (if battery info is updated too seldom, switch it on again).
If it still does not help you need to compile the kernel and add the patch as described above (9), but then better ask again and I can tell you how you get your original SUSE kernel configs.

Tell me if you encounter problems or if it works.

Good luck,

Thomas

P.S.: You might want to subscribe the suse-laptop list if you have other laptop specific problems:
http://www.suse.com/en/private/support/online_help/mailinglists/

Signature · 4 lines
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
#3 lore raw
In reply to a message not in the archive
Quoted 18 lines · Carlos E Manglano-Villamarin

Hi everyone,

my problem is that I cannot manage to have the battery icon showing when running 'kpowersave' in the pannel. Only the icon for AC mode appears, and the computer thinks it's running under AC :-/

I've tried to download and install some patch from this site but I have a serious doubt before messing around with the kernel. Let's go step-by-step:

1) I dowloaded the 'sbs-cm-20050213' patch, extracted it and followed the instructions
2) But when I get to step 8 and go to the webpage recommended
http://forums.gentoo.org/viewtopic.php?t=122145
I read the following line
"SuSE 9.0 already includes this patch in the default kernel! See /etc/sysconfig/kernel for more information (ACPI_DSDT=...)"

Quoted 5 lines

I don't know if I should follow all the steps or try a different approach to my problem.

Any help, plz?

I think you are referring to this manual from
https://sourceforge.net/projects/sbs-linux/:

1) Ensure that you have the source tree installed for your kernel. If you are going to be using the embedded controller spinlock patch (discussed further below), you will probably have to use the 2.6.10 kernel.

2) Change into the directory containing the patches (i.e., the same directory in which you found this README file).

3) Ensure that you have Intel's iasl compiler installed somewhere in your PATH. The compiler can be downloaded from:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
It appears that older versions of the compiler (e.g., 20040715) produce incorrect code; therefore, make sure your version is a relatively-recent one (e.g., 20041203).

4) [As root] Grab a copy of your current DSDT:
cat /proc/acpi/dsdt > dsdt.dat

5) Disassemble the DSDT, to produce the file dsdt.dsl:
iasl -d dsdt.dat

6) Patch the dsdt.dsl file with the appropriate patch (see the table above):
patch < XXXXXXXX-sbs-cm.diff

7) Recompile the DSDT, to produce the file DSDT.aml:
iasl dsdt.dsl

8) [As root] Follow the instructions for installing the new DSDT (DSDT.aml) given on this page:

        http://forums.gentoo.org/viewtopic.php?t=122145

Section 9 gives the appropriate instructions; there are 3 different methods of installing the DSDT, I find method 9b (initrd DSDT override) to be the easiest. Whichever method you chose, however, you *will* have to recompile and reinstall your kernel at least once.

9) [As root] Install the embedded controller spinlock patch, that I describe below in the "Embedded Controller Patch" section. This step is optional, but pretty important if you don't want to get missed keypresses and other weirdness.

10) Reboot your machine. Your battery(s) should now show up in /proc/acpi/battery, and your AC adapter in /proc/acpi/ac_adapter

________________________________--

Running SUSE you do not need to recompile your kernel:

Skip 1 and be sure you have the pmtools package installed (should be default AFAIK).

Follow step 2-6

7) Recompile the DSDT, to produce the file DSDT.aml:
iasl -sa dsdt.dsl

8a) copy the compiled DSDT.aml file e.g. to /etc

8b) add the path pointing to e.g. /etc/DSDT.aml to /etc/sysconfig/kernel

    ACPI_DSDT="/etc/DSDT.aml"

8c) Append DSDT to initrd:
mkinitrd

8d) reboot

9) If you encounter problems of too high CPU load because battery is polled too often, set POWERSAVED_FORCE_BATTERY_POLLING="no"
in (depends on your version, is it SL 9.2?) in /etc/sysconfig/powersave/battery

In this case the battery is only polled on battery events (if battery info is updated too seldom, switch it on again).
If it still does not help you need to compile the kernel and add the patch as described above (9), but then better ask again and I can tell you how you get your original SUSE kernel configs.

Tell me if you encounter problems or if it works.

Good luck,

Thomas

P.S.: You might want to subscribe the suse-laptop list if you have other laptop specific problems:
http://www.suse.com/en/private/support/online_help/mailinglists/

Signature · 15 lines
Um die Liste abzubestellen, schicken Sie eine Mail an:
    suse-laptop-unsubscribe-IBi9RG/[email protected]
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: suse-laptop-help-IBi9RG/[email protected]






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#5 lore raw
In reply to a message not in the archive

Thanks Thomas!!! it did work perfectly!!!

I follow your steps, rebooted the laptop, and now I have an icon telling me the battery is charging :-D the status is updated, and all the menus are shown in the control centre-power control menus

I didn't get any strange messages, no funny behaviour, it was a step-by-step procedure, just perfect!!!

I'll join the group you told me, I just hope they have patience with my english, since my german is quite poor. I could only find a german suse-laptop group :-/

best regards
Carlos

Quoted 120 lines · Thomas Renninger
Quoted 18 lines · Carlos E Manglano-Villamarin

Hi everyone,

my problem is that I cannot manage to have the battery icon showing when running 'kpowersave' in the pannel. Only the icon for AC mode appears, and the computer thinks it's running under AC :-/

I've tried to download and install some patch from this site but I have a serious doubt before messing around with the kernel. Let's go step-by-step:

1) I dowloaded the 'sbs-cm-20050213' patch, extracted it and followed the instructions
2) But when I get to step 8 and go to the webpage recommended
http://forums.gentoo.org/viewtopic.php?t=122145
I read the following line
"SuSE 9.0 already includes this patch in the default kernel! See /etc/sysconfig/kernel for more information (ACPI_DSDT=...)"

Quoted 5 lines

I don't know if I should follow all the steps or try a different approach to my problem.

Any help, plz?

I think you are referring to this manual from
https://sourceforge.net/projects/sbs-linux/:

1) Ensure that you have the source tree installed for your kernel. If you are going to be using the embedded controller spinlock patch (discussed further below), you will probably have to use the 2.6.10 kernel.

2) Change into the directory containing the patches (i.e., the same directory in which you found this README file).

3) Ensure that you have Intel's iasl compiler installed somewhere in your PATH. The compiler can be downloaded from:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
It appears that older versions of the compiler (e.g., 20040715) produce incorrect code; therefore, make sure your version is a relatively-recent one (e.g., 20041203).

4) [As root] Grab a copy of your current DSDT:
cat /proc/acpi/dsdt > dsdt.dat

5) Disassemble the DSDT, to produce the file dsdt.dsl:
iasl -d dsdt.dat

6) Patch the dsdt.dsl file with the appropriate patch (see the table above):
patch < XXXXXXXX-sbs-cm.diff

7) Recompile the DSDT, to produce the file DSDT.aml:
iasl dsdt.dsl

8) [As root] Follow the instructions for installing the new DSDT (DSDT.aml) given on this page:

        http://forums.gentoo.org/viewtopic.php?t=122145

Section 9 gives the appropriate instructions; there are 3 different methods of installing the DSDT, I find method 9b (initrd DSDT override) to be the easiest. Whichever method you chose, however, you *will* have to recompile and reinstall your kernel at least once.

9) [As root] Install the embedded controller spinlock patch, that I describe below in the "Embedded Controller Patch" section. This step is optional, but pretty important if you don't want to get missed keypresses and other weirdness.

10) Reboot your machine. Your battery(s) should now show up in /proc/acpi/battery, and your AC adapter in /proc/acpi/ac_adapter

________________________________--

Running SUSE you do not need to recompile your kernel:

Skip 1 and be sure you have the pmtools package installed (should be default AFAIK).

Follow step 2-6

7) Recompile the DSDT, to produce the file DSDT.aml:
iasl -sa dsdt.dsl

8a) copy the compiled DSDT.aml file e.g. to /etc

8b) add the path pointing to e.g. /etc/DSDT.aml to /etc/sysconfig/kernel

    ACPI_DSDT="/etc/DSDT.aml"

8c) Append DSDT to initrd:
mkinitrd

8d) reboot

9) If you encounter problems of too high CPU load because battery is polled too often, set POWERSAVED_FORCE_BATTERY_POLLING="no"
in (depends on your version, is it SL 9.2?) in /etc/sysconfig/powersave/battery

In this case the battery is only polled on battery events (if battery info is updated too seldom, switch it on again).
If it still does not help you need to compile the kernel and add the patch as described above (9), but then better ask again and I can tell you how you get your original SUSE kernel configs.

Tell me if you encounter problems or if it works.

Good luck,

Thomas

P.S.: You might want to subscribe the suse-laptop list if you have other laptop specific problems:
http://www.suse.com/en/private/support/online_help/mailinglists/

--
Um die Liste abzubestellen, schicken Sie eine Mail an:
suse-laptop-unsubscribe-IBi9RG/[email protected]
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-laptop-help-IBi9RG/[email protected]

Quoted 10 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click