View previous topic :: View next topic |
Author |
Message |
fh_blade n00b
Joined: 25 May 2006 Posts: 1
|
Posted: Thu May 25, 2006 11:43 pm Post subject: Smart Battery (Alternative Solution) |
|
|
Hi,
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 [http://packages.ubuntu.com] or 2.6.15 kernel from this Link.
Next you have to convert the downloaded Debian package (.deb) to an tgz archive.
Code: | alien -t linux-source-2.6.15_2.6.15-23.39_all.deb |
Unpack the generated tgz archive
Code: | tar xfvz linux-source-2.6.15-2.6.15.tgz |
Then unpack the archive inside tgz to /usr/src (BIG -C not -c)
Code: | tar xfvj linux-source-2.6.15.tar.bz2 -C /usr/src |
switch current directory to /usr/src
delete the old LINK to the kernel source
and make an symbolic link to the new kernel source (linux-source-2.6.15 in this case)
Code: | ln -s linux-source-2.6.15 linux |
then you have to configure your new kernel
Code: | cd linux
make menuconfig |
thees are parameters which should be on for Smart Battery to work
Code: | 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
Code: | 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
Code: | i2c-acpi-ec
acpi-sbs |
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 |
|
|
!equilibrium Bodhisattva
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Fri May 26, 2006 10:54 am Post subject: |
|
|
you must ask to the gentoo devels to add your request to the genpatches (path set for gentoo-sources), do it using bug.gentoo.org; 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 |
|
|
reynolds531 Apprentice
Joined: 23 Apr 2005 Posts: 260 Location: Rochester, NY
|
Posted: Tue May 30, 2006 8:38 pm Post subject: |
|
|
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 |
|
|
sidious Tux's lil' helper
Joined: 18 Apr 2006 Posts: 84 Location: Germany
|
|
Back to top |
|
|
|