LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   IBM r40, Mandrake 10 and acpi suspend (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ibm-r40-mandrake-10-and-acpi-suspend-248610/)

zvono 10-28-2004 10:02 PM

IBM r40, Mandrake 10 and acpi suspend
 
Hi,

I have installed Mandrake 10 (kernel 2.6.3-7) on my IBM r40 laptop. I have acpi installed and it looks like it works fine (for instance, battery meter is working). The really annoying thing is that suspend/resume is not working. I have tried suspend and the laptop freezed, so I had to remove the battery to restart it.
How can I get suspend/resume to work on r40?
Thanks....

Zvonimir

finegan 11-04-2004 09:58 PM

An additional acpi module, it'll be in 2.6.10 probably, but you can download and compile it from:

http://ibm-acpi.sourceforge.net/

Then just modprobe ibm_acpi

There is a pile of userland scripts in the "config" directory it creates, you might have to modify them a little, but for the most part you can just straight copy them into /etc/acpi

Cheers,

Finegan

joshkuo 12-01-2004 02:18 PM

cannot compile
 
I have downloaded the package and tried to compile it against my MDK10 (2.6.3-7mdkenterprise) kernel. But here is what I got... What am I doing wrong?

[root@localhost ibm-acpi-0.8]# make
make -C /lib/modules/2.6.3-7mdkenterprise/build SUBDIRS=/root/ibm-acpi-0.8 modules
make[1]: Entering directory `/lib/modules/2.6.3-7mdkenterprise/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.3-7mdkenterprise/build'
make: *** [default] Error 2
[root@localhost ibm-acpi-0.8]#

elempoimen 12-28-2004 11:08 PM

I second that question...same thing here.

TLV 12-29-2004 03:47 AM

Quote:

Originally posted by finegan
An additional acpi module, it'll be in 2.6.10 probably, but you can download and compile it from:

http://ibm-acpi.sourceforge.net/

Then just modprobe ibm_acpi

There is a pile of userland scripts in the "config" directory it creates, you might have to modify them a little, but for the most part you can just straight copy them into /etc/acpi

Yes, it's in 2.6.10, I just installed that kernel. However, I'm not sure that the module is the solution here since ibm_acpi mostly allows the user to use the Fn-keys, hotswapping etc. The ACPI-patch that will make the ACPI work better in the kernel can be downloaded from http://acpi.sourceforge.net/. These patches gets merged into the kernel.

The thing with Mandrake is that they add their own patches to the kernel source, so other patches may not work on a Mandrake source. This is one of the reasons why I switched from Mandrake to Debian (I'm now using vanilla kernels). Well, this is not a solution for everyone, so here are some suggestions (remember that I don't use Mdk anymore and don't know any specifics):

1. Try using APM instead. Pass "acpi=off apm=on" to the kernel (by changing the Lilo or Grub config file), and make sure apmd is installed (drakconfig may do this for you).

2. What I had to do on my R40 (2722-3YU) with Mandrake 10 was to log-off KDE so that I got to the display manager and then hit Fn+F4 to suspend (with APM). My screen would not resume well when I was in KDE.

3. Try the latest Mdk kernel. 2.6.3 sounds awfully old wrt. ACPI. You need at least 2.6.6. ACPI started working flawlessly for me (Debian) with 2.6.8.1. There may also be some MDK-specific ACPI patches out there.

4. Try the latest Community release - ACPI is constantly being improved.

Good luck,
/TLV

elempoimen 12-29-2004 11:49 AM

I'm using Debian 2.6.7...and I have the same problem. Of course, I'm using the Mepis version of the kernel, with all the ACPI jazz compiled in. It works well, except that I can't get the function keys, ultrabay, etc. working.


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