LinuxQuestions.org
Review your favorite Linux distribution.
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 09-10-2006, 07:12 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Rep: Reputation: 30
Question Linux and ACPI . . . Your thoughts please


I looked at the following:

http://forum.notebookreview.com/showthread.php?t=66934

and

http://en.wikipedia.org/wiki/Acpi

Although I don't know much about Linux or laptops, the possibility of ACPI related trouble on a Linux based laptop concerns me, since I am thinking about buying a new laptop.

Of course, I will wipe the hdd clean of whatever Dell pre-installs to do a clean Linux install. It will either be a Dell Inspiron E1705 or Dell Inspiron B130 (both "home" versions, not "business" versions).

I have heard rumors that running Linux on a laptop is more difficult than running Linux on a desktop. Is this true of modern laptops and Linux distros? If yes, is ACPI the reason why or is it something else?

I just don't want lots of headaches installing and operating this new laptop on Linux.

Your thoughts, etc would be appreciated.

Thanks!
 
Old 09-10-2006, 08:11 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
This; http://forum.notebookreview.com/showthread.php?t=66934 is useless un-formed dribble no facts no links just FUD

So is this; http://en.wikipedia.org/wiki/Acpi sorry but when a vote is taken and a select few can override experts then you get what you pay for.

Quote:
Although I don't know much about Linux or laptops, the possibility of ACPI related trouble on a Linux based laptop concerns me, since I am thinking about buying a new laptop.
Yes this is something to be concerned about. Since your thinking about a Dell then I would advise using Fedora Core or some other distro that has patches for Dell laptops. Hopefully your batteries will not explode and/or burn up your laptop.

https://www.dellbatteryprogram.com/

Quote:
I have heard rumors that running Linux on a laptop is more difficult than running Linux on a desktop. Is this true of modern laptops and Linux distros? If yes, is ACPI the reason why or is it something else?
Partially true, some distros like the RHEL family of clones are based on the older and feature backports of the 2.6.9 kernel and have some problems with some laptops and acpi. Try and use a distro that has good laptop mode support.

You might want to visit the sourceforge acpi pages to find out more;

http://acpi.sourceforge.net/

Also visit; http://www.linux-laptop.net/

Last edited by Lenard; 09-10-2006 at 08:14 PM.
 
Old 09-10-2006, 11:52 PM   #3
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
How do I know

Quote:
Originally Posted by Lenard
This; http://forum.notebookreview.com/showthread.php?t=66934 is useless un-formed dribble no facts no links just FUD

So is this; http://en.wikipedia.org/wiki/Acpi sorry but when a vote is taken and a select few can override experts then you get what you pay for.



Yes this is something to be concerned about. Since your thinking about a Dell then I would advise using Fedora Core or some other distro that has patches for Dell laptops. Hopefully your batteries will not explode and/or burn up your laptop.

https://www.dellbatteryprogram.com/



Partially true, some distros like the RHEL family of clones are based on the older and feature backports of the 2.6.9 kernel and have some problems with some laptops and acpi. Try and use a distro that has good laptop mode support.

You might want to visit the sourceforge acpi pages to find out more;

http://acpi.sourceforge.net/

Also visit; http://www.linux-laptop.net/

How do I know if my distro has ". . .patches for Dell laptops" or ". . .good laptop support mode." ?

Is this in BIOS perhaps? The motherboard?
 
Old 09-11-2006, 07:36 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
No the Linux Dell and/or acpi laptop patches are not in the BIOS or on/in the motherboard.

Your distro, which I believe is MEPIS 3.43 may or may not, simply ask in or search the MEPIS forums; http://www.mepis.org/forum
 
Old 09-11-2006, 05:13 PM   #5
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
While I wait for

Quote:
Originally Posted by Lenard
No the Linux Dell and/or acpi laptop patches are not in the BIOS or on/in the motherboard.

Your distro, which I believe is MEPIS 3.43 may or may not, simply ask in or search the MEPIS forums; http://www.mepis.org/forum

While I wait for an answer from the official mepis forum (which could easily take weeks, if ever), I have a related question:

My debian based distro (MEPIS 3.43) has kernal 2.6.15. Would that kernal be "recent enough" to do decent Linux ACPI support, or is the kernal not an issue?

Thanks!
 
Old 09-12-2006, 05:39 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes the 2.6.15 or better kernels do a much better job of handling acpi. The laptop tools should be in MEPIS 3.43 since this is debian based as you say.

Take a quick look at your current kernel's config file (if available);

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set

I do not have the DELL option above set since I have no need, but this option is a good idea for Dell laptops. Also the laptop mode information is available within the kernel source in the /linux-<version_number>/Documentation/ directory, filename laptop-mode.txt
 
Old 09-12-2006, 04:47 PM   #7
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Sorry but

Quote:
Originally Posted by Lenard
Yes the 2.6.15 or better kernels do a much better job of handling acpi. The laptop tools should be in MEPIS 3.43 since this is debian based as you say.

Take a quick look at your current kernel's config file (if available);

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set

I do not have the DELL option above set since I have no need, but this option is a good idea for Dell laptops. Also the laptop mode information is available within the kernel source in the /linux-<version_number>/Documentation/ directory, filename laptop-mode.txt
Sorry but how do I check my current kernel's config file? Is that what you mean when you say:

>>>linux-<version_number>/Documentation/ directory, filename laptop-mode.txt<<<

Where would I do that? In konsole? Or something else?

/ super n00b
 
Old 09-13-2006, 07:19 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Do you do have the kernel source for you system installed?? Most of the time you will find the kernel source in the directory location of /usr/src, for example from the console or xterm session;

$ ls -al /usr/src
total 81992
drwxr-xr-x 8 root root 4096 Sep 11 12:48 .
drwxr-xr-x 18 root root 4096 Sep 9 07:00 ..
-rw-rw-r-- 1 root root 8613 Jan 29 2006 acpi.patch
drwxrwxr-x 2 root root 4096 Dec 15 2005 cdfs
-rw-rw-r-- 1 lenard lenard 28839 Jun 25 08:00 cdfs.tar.gz
drwxr-xr-x 3 root root 4096 Aug 15 13:13 debug
drwxrwxrwx 19 root root 4096 Sep 7 06:41 linux-2.6.17.11
-rw-rw-r-- 1 root root 41288067 Aug 23 20:06 linux-2.6.17.11.tar.bz2
drwxrwxrwx 20 root root 4096 Sep 12 13:00 linux-2.6.17.13
-rw-rw-r-- 1 root root 41287303 Sep 9 06:24 linux-2.6.17.13.tar.bz2
-rw-r--r-- 1 root root 38826 Sep 8 19:38 master.config
-rw-rw---- 1 root root 632 Jul 15 16:27 patch.cdfs
-rw-r----- 1 root root 640 May 11 11:35 patch_old.cdfs
-rw-rw-r-- 1 root root 537422 Sep 10 13:25 patch.rt2400
-rw-rw-r-- 1 root root 538103 Sep 10 13:11 patch.rt2400.keep
drwxr-xr-x 7 root root 4096 Mar 21 07:38 redhat
-rw-r--r-- 1 root root 56969 Sep 10 11:29 test.config
drwxrwxr-x 2 root root 4096 Sep 10 13:17 wireless

The above example show that two kernels (linux-2.6.17.11 and linux-2.6.17.13) are extracted from the downloaded tar.bz2 files (also in the directory).

Yes, I do mean the laptop-mode.txt file is in the respective linux-<version_number>/Documentation directory;

$ ls -al /usr/src/linux-2.6.17.11/Documentation/lapt*
-rw-rw-rw- 1 root root 31467 Aug 23 17:16 /usr/src/linux-2.6.17.11/Documentation/laptop-mode.txt

$ ls -al /usr/src/linux-2.6.17.13/Documentation/lapt*
-rw-rw-rw- 1 root root 31467 Sep 8 23:23 /usr/src/linux-2.6.17.13/Documentation/laptop-mode.txt

And each kernel source directory has a .config file;

$ ls -al /usr/src/linux-2.6.17.11/.config
-rw-r--r-- 1 root root 38826 Aug 29 11:56 /usr/src/linux-2.6.17.11/.config

$ ls -al /usr/src/linux-2.6.17.13/.config
-rw-r--r-- 1 root root 38826 Sep 11 15:55 /usr/src/linux-2.6.17.13/.config

$ cat /usr/src/linux-2.6.17.13/.config
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.17.13
# Mon Sep 11 15:55:39 2006
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y

<snip>

Please review; http://www.digitalhermit.com/linux/K...ild-HOWTO.html
 
Old 09-14-2006, 05:31 PM   #9
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Lenard. . .I did that konsole command

Lenard. . .I did that konsole command and this is all I got:

guest1978@1[~]$ ls -al /usr/src
total 16
drwxrwsr-x 4 1000 1000 4096 2005-10-26 11:31 .
drwxr-xr-x 15 root root 4096 2006-02-08 08:37 ..
drwxr-sr-x 2 root 1000 4096 2003-09-30 13:29 modules
drwxr-xr-x 7 root root 4096 2005-02-19 19:31 rpm
guest1978@1[~]$

What does that mean? I don't see anything like what you posted. Did I do something wrong?

If anyone else reading this has some insight, feel free to share as well!

Thanks!
 
Old 09-14-2006, 05:38 PM   #10
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Here is the complete listing

guest1978@1[~]$ ls -al /usr/src
total 16
drwxrwsr-x 4 1000 1000 4096 2005-10-26 11:31 .
drwxr-xr-x 15 root root 4096 2006-02-08 08:37 ..
drwxr-sr-x 2 root 1000 4096 2003-09-30 13:29 modules
drwxr-xr-x 7 root root 4096 2005-02-19 19:31 rpm

guest1978@1[~]$ ls -al /usr/src/linux-2.6.15/Documentation/lapt*
ls: /usr/src/linux-2.6.15/Documentation/lapt*: No such file or directory

guest1978@1[~]$ ls -al /usr/src/linux-2.6.15/.config
ls: /usr/src/linux-2.6.15/.config: No such file or directory

guest1978@1[~]$ cat /usr/src/linux-2.6.15/.config
cat: /usr/src/linux-2.6.15/.config: No such file or directory

guest1978@1[~]$
 
Old 09-15-2006, 06:11 AM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
So you do not have the kernel source installed, install it.
 
Old 09-16-2006, 02:30 PM   #12
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Could you explain

Quote:
Originally Posted by Lenard
So you do not have the kernel source installed, install it.
Could you explain (briefly) exactly what is "kernal source?" Do you mean the Linux kernal itself (2.6.15)? Wouldn't I already have that (2.6.15) by virture of having already installed a Linux distro on my computer?

Anyways, how do I get this "kernel source" and how do I install it? Is there a tutorial or anything you know of that I could use as a reference?

Thanks again for your time!
 
Old 09-16-2006, 05:53 PM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes I mean the source for the kernel, currently you only have a compiled kernel. One source for the kernel is from kernel.org.

The kernel source is all the code used to create a working binary kernel and associated modules (the drivers). Most distributions that make modification also provide the kernel source they use along with any patches, backports and other changes or tweaks they make. The vanilla kernel from (where else but); http://kernel.org/ scroll down a bit and you will find some good links and references about Linux.

Some additional suggested reading;

http://www.digitalhermit.com/linux/K...ild-HOWTO.html
 
Old 09-17-2006, 03:21 PM   #14
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
A bit embarrassed. . .LOL

Quote:
Originally Posted by Lenard
Yes I mean the source for the kernel, currently you only have a compiled kernel. One source for the kernel is from kernel.org.

The kernel source is all the code used to create a working binary kernel and associated modules (the drivers). Most distributions that make modification also provide the kernel source they use along with any patches, backports and other changes or tweaks they make. The vanilla kernel from (where else but); http://kernel.org/ scroll down a bit and you will find some good links and references about Linux.

Some additional suggested reading;

http://www.digitalhermit.com/linux/K...ild-HOWTO.html


Thanks for your reply Lenard.

I am a bit embarrassed to say this, but after looking back at my previous posts, a question just arose in my mind:

Why is it that I need the kernel source? I forgot what I needed it for. LOL

Obviously something to do with ACPI, since that was the original thread posting subject.

Anyways, is it required that I have that kernel source, or just highly recommend? Also, my distro uses 2.6.15. If I were to download a newer kernel, say 2.6.17, would that cause trouble (ACPI or otherwise)?

Thanks again!
 
Old 09-17-2006, 04:44 PM   #15
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, the latest released kernel (currently 2.6.17.13) from kernel.org is an improvement over the older 2.6.16 kernel.

No it is not required to have the kernel source. My distro (CentOS 4.4) uses the 2.6.9 kernel source as a base with backports from the upstream sources (newer versions of the kernel from kernel.org) and other tweaks. Nothing stops one from using a newer kernel if desired, one of the many great things about Linux. I currently have the latest released kernel from kernel.org downloaded, extracted, patched, built and running on my systems.

The kernels since 2.6.12 or so have much better acpi support then older kernels. For example when I first got my current laptop, due to a buggy BIOS I had to patch the kernel source to allow the use of a custom version of DSDT (see the acpi sourceforge link from post #2 for the details) before building. Now I no longer have to apply the patch.

Bottom line, you only need the kernel source if required to fix a problem or build a driver or tool that requires the kernel source.
 
  


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
Linux ACPI and BIOS ACPI - problem to understand and giving out bugs marisdembovskis Linux - Software 3 09-20-2007 10:22 PM
thoughts about desktop linux Da_Necromancer General 16 03-28-2005 09:37 AM
Linux - Thoughts and Forecasts lrt2003 General 3 05-11-2004 01:50 PM
Linux Thoughts??? badger10101 Linux - Newbie 4 05-13-2003 02:18 PM
Linux thoughts badger10101 Linux - General 2 05-13-2003 12:36 PM

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

All times are GMT -5. The time now is 07:08 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