LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-28-2004, 10:02 PM   #1
zvono
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 11-04-2004, 09:58 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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
 
Old 12-01-2004, 02:18 PM   #3
joshkuo
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
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]#
 
Old 12-28-2004, 11:08 PM   #4
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Rep: Reputation: 15
I second that question...same thing here.
 
Old 12-29-2004, 03:47 AM   #5
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
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
 
Old 12-29-2004, 11:49 AM   #6
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

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


Reply



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
R40 ibm-acpi module short101 Linux - Laptop and Netbook 2 02-22-2005 05:49 AM
R40 acpi suspend short101 Debian 1 02-18-2005 09:32 AM
Redhat 9 + ibm R40 + madwifi r52 Linux - Newbie 0 02-19-2004 04:17 AM
IBM ThinkPad R40 Sumit Rajan Linux - Laptop and Netbook 4 12-02-2003 12:30 PM
Redhat9 and IBM R40 starocean Linux - Laptop and Netbook 1 10-29-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:30 AM.

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
Open Source Consulting | Domain Registration