ACPI Issue: Battery not detected on 64 bit Toshiba Satellite L650-BT2N23 with Fedora 14
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
ACPI Issue: Battery not detected on 64 bit Toshiba Satellite L650-BT2N23 with Fedora 14
Hello all,
I recently bought a Toshiba Satellite L650-BT2N23 laptop (i3-core, 4GB RAM) and have Fedora 14 (kernel 2.6.35.6-45.fc14.x86_64) installed on it along with Windows7 64 bit. I am having a hard time getting linux to detect the battery, even when the laptop is running on battery power.
The battery appears as not present and the power management applet always indicates that the laptop is running on AC. Setting acpi=on or acpi=force did not remedy the problem, neither did disabling acpi altogether (acpi=off).
I have 'Insyde H2O BIOS' version 1.70, which appears to support acpi.
Code:
$ uname -a
Linux eikoh 2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
there is a kernelmodule "acpi_toshiba". This has to be loaded in order to use ACPI with the machine. You may check this with
Code:
lsmod | grep -i acpi
if it is not loaded, you can load it with
Code:
modprob acpi_toshiba
if this command doesn't show any output, it worked correctly and the module is loaded, if you get an errormessage, you'll have to rebuild your kernel in order to build the module.
Markus
Last edited by markush; 12-22-2010 at 09:21 AM.
Reason: typo
Thanks Markus. Doesnt look like I have this module loaded. lsmod doesnt list this module. I guess you meant module toshiba_acpi as opposed to acpi_toshiba?
mh, it seems the module toshiba_acpi is not the appropriate one for your machine, otherwise it would have been loaded.
Did you ever build your own kernel? When you run "make menuconfig" in the kernel-sourcedirectory you'll find in the sections "Device Drivers->X86 Platform Specific Device Drivers" the configurations for Laptops, I'd recommend to look at this. There's also help available. You may get an idea which modules are available and what they do.
The modules you find there should be already built for your kernel, so you probably don't have to rebuild your kernel in order to use such a module, you may try to load it with modprobe.
I tried rebuilding my kernel (2.6.35.6-45.fc14.x86_64) from the source rpm, but that did not seem to help. I looked in "Device Drivers->X86 Platform Specific Device Drivers" after running "make menuconfig", and the only relevant configuration appeared to be Toshiba Extras. Here is the corresponding help information:
Quote:
CONFIG_ACPI_TOSHIBA
This driver adds support for access to certain system settings on "legacy free" Toshiba laptops. These laptops can be recognized by their lack of a BIOS setup menu and APM support.
On these machines, all system configuration is handled through the ACPI. This driver is required for access to controls not covered by the general acpi drivers, such as LCD brightness, video output, etc."
This driver is only intended to provide the extra support for ACPI functionality specific to Toshiba laptops. In other words, this driver is not intended to cover standard ACPI functions such as shutdown, reboot, suspend, hibernate, battery info, etc.
This driver does not work on all Toshiba laptops, particularly those models which seem to have a BIOS or other firmware which was not developed by Toshiba itself. New reverse engineering work will have to be done on these machines, or Toshiba will have to disclose the necessary details. (For support of machines with Phoenx BIOS, try the [Omnibook driver].) The error you will see in this case is:
$ modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi (.../kernel/drivers/acpi/toshiba_acpi.ko): No such device
I did not try installing this driver since my laptop does offer a BIOS setup menu and the BIOS was developed by Insyde (H2O BIOS). In fact, I got the same error as described on the driver information page.
I tried setting the acpi=copy_dsdt flag in grub.conf, but no joy.
Also tried rebuilding the kernel with the acpi patch described here - https://bugzilla.kernel.org/show_bug.cgi?id=14679 but that did not solve the problem either. On the rebuilt kernel, the battery is still not detected (no power management feaures).
Any suggestions? Could this be something to do with the dsdt?
Last edited by rvsh07; 12-23-2010 at 10:59 AM.
Reason: Corrected the URL
Well, did you look into the "Powermanagement and ACPI Options" while you configured the Kernel, there are settings referring to the batterymanagement. Otherwise I'm sure that in the default kernel of your distribution this options are enabled. But you may look into this section and compare with lsmod if the apropriate modules are loaded on your system.
I looked under power management and ACPI options and for the most part, those settings seem to be default values. Is there a specific value I need to change? Here is the complete set of values in the kernel config that have something to do with ACPI or BATTERY or TOSHIBA:
(where e.g. PATA has nothing to do with the battery) you know, all lines ending with an m are modules, all lines ending with y are compiled into the kernel. I'd load the modules and find out what happens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.