Fedora Linux Support Community & Resources Center
  #1  
Old 1st June 2012, 06:57 AM
LazyDevil Offline
Registered User
 
Join Date: Apr 2011
Posts: 2
linuxfirefox
Toshiba Laptop Battery SOLUTION

My daughter's 64 bit Toshiba Satellite L655 suffered from the common Toshiba laptop problem of “Invisible battery” under Fedora 16.

dmesg | grep batt

would report “Battery absent”. This appears to be common with Toshiba laptops under Fedora, Ubuntu, Centos, Debian, and BackTrack Linux. Online research pointed to custom kernels, which sound like a headache; and a simpler way using Grub2. This second method worked well on her machine under Fedora 16, and after this week's release, seems to be working well under Fedora 17. Since the hard work was done by many others, I am posting what I found to share this solution. The fourth step outlined below, the reassembly step, may report errors and warnings. These can be ignored. Make sure you have the iasl package installed before proceding.

As super user obtain the original DSDT:

# cat /sys/firmware/acpi/tables/DSDT > dsdt.dat


Using the previously installed iasl package, disassemble the .dat file:

# iasl -d dsdt.dat


Use an editor like Vim, or an IDE like Geany, open the dsdt.dsl file and replace:

OperationRegion (EMEM, SystemMemory, 0xFF808001, 0xFF)

with this:

OperationRegion (EMEM, EmbeddedControl, 0x00, 0xFF)

Save the altered file as dsdt-fixed.dsl and exit the editor or IDE.


Again with iasl reassemble:

# iasl -tc dsdt-fixed.dsl


Two files will be created.

dsdt-fixed.hex which could be compiled into a custom kernel. But with the introduction of a new kernel, this whole process will have to be repeated.

dsdt.aml which is one we will use along with the grub.cfg file to correct the ACPI problem and not worry about kernel updates.


Copy the .aml file to the proper place:

# cp dsdt.aml /boot


A file called 01-acpi has be added to the /etc/grub.d directory. Because of grub file structure differences in Fedora 16 and Fedora 17, two files are attached. Only one is needed. Download the relevant one for your version and rename it as 01_acpi. Then:

# cp 01_acpi /etc/grub.d
# chmod +x /etc/grub.d/01_acpi



Now run update-grub2, which for Fedora is:

grub2-mkconfig -o /boot/grub2/grub.cfg

This will find the corrected custom ACPI table and generate a new grub.cfg file. Now reboot and the power indicator should appear and the battery should be visible.

Chuck


References:

bugzilla.kernel.org/show_bug.cgi?id=15707
bugzilla.kernel.org/show_bug.cgi?id=34532
techinterplay.com/fix-toshiba-battery-issue-linux.html
nearlyalaugh.com/2011/08/override-dsdt/
Attached Files
File Type: txt FC16-01_acpi.txt (640 Bytes, 113 views)
File Type: txt FC17-01_acpi.txt (642 Bytes, 195 views)

Last edited by LazyDevil; 1st June 2012 at 07:21 AM. Reason: Fixed typo.
Reply With Quote
  #2  
Old 1st June 2012, 07:08 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,712
linuxfirefox
Re: Toshiba Laptop Battery SOLUTION

Best first post ever !

However I doubt you are a Lazydevil. Welcome to the forum.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #3  
Old 1st June 2012, 10:07 AM
hadrons123 Offline
'The Blue Dragon'
 
Join Date: Jan 2011
Location: chennai
Posts: 1,248
linuxfirefox
Re: Toshiba Laptop Battery SOLUTION

good post. Should be in Guides & Solutions (No Questions)
__________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 16 GB SSD
Reply With Quote
Reply

Tags
battery, laptop, solution, toshiba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Toshiba battery problem in fedora 16 TerOZ Hardware & Laptops 2 25th November 2011 01:57 AM
ACPI Problem - Battery not detected on 64 bit Toshiba Satellite L650-BT2N23 rvsh07 Hardware & Laptops 7 27th December 2010 11:28 PM
Laptop Battery F13 Drexalot Hardware & Laptops 15 15th June 2010 05:26 PM
Toshiba Satelliet A35 S159 Battery/ACPI Trouble AI8W Hardware & Laptops 2 22nd August 2007 09:09 PM


Current GMT-time: 16:50 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat