Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a dell inspiron 5100 and have been trying in vain to get the power management to work. I have downloaded the 2.4.22 sources applied the dsdt patch and created a hex file with the Dell-custom.......asl patch etc.
My problem is when I try to compile the kernel I get the following error.
make[3]: Entering directory `/usr/src/linux-2.4.22/drivers/acpi'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -Os -nostdinc -iwithprefix include -DKBUILD_BASENAME=osl -c -o osl.o osl.c
osl.c: In function `acpi_os_table_override':
osl.c:236: `acpi_table_header' undeclared (first use in this function)
osl.c:236: (Each undeclared identifier is reported only once
osl.c:236: for each function it appears in.)
osl.c:236: parse error before ')' token
osl.c:236: warning: statement with no effect
make[3]: *** [osl.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.22/drivers/acpi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/acpi'
make[1]: *** [_subdir_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers'
make: *** [_dir_drivers] Error 2
I have tried everything I can think of, including deleting the sources and starting from scratch several times. Any help would be appriciated
Well, I got the battery monitor working which is mainly what I was concerned about, I will move on to suspend and sleep later.
Just a note I never got the patching of the kernel with the dsdt patch to work successfully, I ended up finding another post here that had a link to a different sert of patches and that worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.