Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Smart Battery (Alternative Solution)
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message

Joined: 25 May 2006
Posts: 1

PostPosted: Thu May 25, 2006 11:43 pm    Post subject: Smart Battery (Alternative Solution) Reply with quote


After a long seeking I have found a solution for my Smart Battery powered Laptop(Acer Extensa 3002WLMi).
There is a patch for several kernel versions but it's always problematic to patch a kernel.
I have found an alternative solution.
The kernel source from Ubuntu Linux is already patched and is running under gentoo perfectly (for me).
All you need to do is to download a kernel source from [] or 2.6.15 kernel from this Link.

Next you have to convert the downloaded Debian package (.deb) to an tgz archive.
alien -t linux-source-2.6.15_2.6.15-23.39_all.deb

Unpack the generated tgz archive
tar xfvz linux-source-2.6.15-2.6.15.tgz

Then unpack the archive inside tgz to /usr/src (BIG -C not -c)
tar xfvj linux-source-2.6.15.tar.bz2 -C /usr/src

switch current directory to /usr/src
cd /usr/src

delete the old LINK to the kernel source
rm linux

and make an symbolic link to the new kernel source (linux-source-2.6.15 in this case)
ln -s linux-source-2.6.15 linux

then you have to configure your new kernel
cd linux
make menuconfig

thees are parameters which should be on for Smart Battery to work
Bus options (PCI, PCMCIA, EISA, MCA, ISA)  --->
 [*] ISA support

here select all as module:-)
I2C support --->
Device Drivers  --->
 Hardware Monitoring support  --->

and now here must be somewhere Smart Battery System
ACPI (Advanced Configuration and Power Interface) Support  --->
[*] ACPI Support
[*]   Sleep States 
[ ]     /proc/acpi/sleep (deprecated)
<*>   AC Adapter
<*>   Battery
<M>     Smart Battery System
<*>   Button
<*>   Video

then compile your new kernel as always and add your new kernel-modules to /etc/modules.autoload.d/kernel-2.6

then make

That's all!

P.S.: I have tried gentoo sources until version 2.6.16 and didn't find this support, if somebody have suggestions please write.
Back to top
View user's profile Send private message

Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Fri May 26, 2006 10:54 am    Post subject: Reply with quote

you must ask to the gentoo devels to add your request to the genpatches (path set for gentoo-sources), do it using; thanks
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message

Joined: 23 Apr 2005
Posts: 260
Location: Rochester, NY

PostPosted: Tue May 30, 2006 8:38 pm    Post subject: Reply with quote

It looks like Ubuntu is using Richard Townsend's patches. His patches for the 2.6.14 kernel also work with 2.6.15, but it's my understanding that they don't work with 2.6.16.

Someone has modified Townsend's patches so that they work with 2.6.16 -- see the discusion and link here. I haven't tested them myself and I'm a little leery because of the author's statement that he simply cut out the parts that wouldn't compile.
Back to top
View user's profile Send private message
Tux's lil' helper
Tux's lil' helper

Joined: 18 Apr 2006
Posts: 84
Location: Germany

PostPosted: Thu Sep 07, 2006 7:20 pm    Post subject: Reply with quote
works with linux-2.6.18-rc6 on my Acer Extensa WLMi 3001
with the originally DSDT-Table
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum