How to get ACPI working on Toshiba L10 Laptop????
Hi everyone, I've managed to get Mandriva installed on my Laptop with virtually no problems, except my wireless but that's for another post... my problem is I can't seem to get ACPI working properly. I figured I should try to get the basics working before worrying about the fancy extras. Anyway, my laptop (Toshiba L10) has the Phoenix BIOS, which after searching tirelessly on the net seems to be the bastard brother of evil for getting ACPI working nicely... here's what I've tried and the results:
From the initial installation I have the /proc/acpi folder which indicates that it really is an ACPI BIOS [root@localhost mickyg]# ls -l /proc/acpi total 0 dr-xr-xr-x 2 root root 0 Aug 21 21:43 ac_adapter/ -rw-r--r-- 1 root root 0 Aug 21 21:43 alarm dr-xr-xr-x 2 root root 0 Aug 21 21:43 battery/ dr-xr-xr-x 4 root root 0 Aug 21 21:43 button/ -r-------- 1 root root 0 Aug 21 21:43 dsdt dr-xr-xr-x 3 root root 0 Aug 21 21:43 embedded_controller/ -r-------- 1 root root 0 Aug 21 20:40 event -r-------- 1 root root 0 Aug 21 21:43 fadt dr-xr-xr-x 4 root root 0 Aug 21 21:43 fan/ -r--r--r-- 1 root root 0 Aug 21 21:43 info dr-xr-xr-x 4 root root 0 Aug 21 21:43 power_resource/ dr-xr-xr-x 3 root root 0 Aug 21 21:43 processor/ -rw-r--r-- 1 root root 0 Aug 21 21:43 sleep dr-xr-xr-x 3 root root 0 Aug 21 21:43 thermal_zone/ dr-xr-xr-x 3 root root 0 Aug 21 21:43 video/ -rw-r--r-- 1 root root 0 Aug 21 21:43 wakeup dr-xr-xr-x 2 root root 0 Aug 21 21:43 wmi/ The ac_adapter, battery and wmi folders are empty. This is all I get from acpi -V: [root@localhost mickyg]# acpi -V Thermal 1: ok, 56.0 degrees C I have tried adding "acpi=on apm=off" to the kernel arguments which makes no difference. I have tried recompiling the kernel with ACPI built in instead of modules and taking APM completely out and it makes no difference, although I haven't patched the kernel because it's 2.6.11 and everything I've read indicates the 2.6 kernels don't need patching. Correct me if I'm wrong people!! Output of lsmod (cut down): [root@localhost mickyg]# lsmod Module Size Used by video 13892 0 thermal 10600 0 processor 18164 1 thermal fan 3108 0 button 4880 0 battery 7460 0 ac 3300 0 So all the modules are loaded but I can't get any info about my battery. As I said I have searched the net, even flashed my BIOS with I new version hoping it might help (clutching at straws there), and I am aware there is a module called toshiba_acpi which you can load that is supposed to sort out problems on toshiba laptops but as I understand it, it's not for Phoenix BIOS's, only the toshiba BIOS. In any case, trying to load it gives me this: [root@localhost mickyg]# modprobe toshiba_acpi FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.11-6mdk/kernel/drivers/acpi/toshiba_acpi.ko.gz): No such device Edit: Forgot to put dmesg in: [mickyg@localhost ~]$ dmesg | grep ACPI ACPI: Looking for DSDT in initrd... not found. ACPI: setting ELCR to 0200 (from 0440) ACPI: Subsystem revision 20050211 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (00:00) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs *6) ACPI: PCI Interrupt Link [LNKB] (IRQs 11) *10 ACPI: PCI Interrupt Link [LNKC] (IRQs 6) *0, disabled. ACPI: PCI Interrupt Link [LNKD] (IRQs *6) ACPI: PCI Interrupt Link [LNKE] (IRQs *10) ACPI: PCI Interrupt Link [LNKF] (IRQs 10) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 6) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs *10) ACPI: Embedded Controller [EC0] (gpe 29) ACPI: Device [BAY1] status [00000008]: functional but not present; setting present ACPI: Power Resource [PFN0] (off) ACPI: Power Resource [PFN1] (off) pnp: PnP ACPI init pnp: PnP ACPI: found 7 devices PCI: Using ACPI for IRQ routing ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 11 (level, low) -> IRQ 11 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 6 ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 6 (level, low) -> IRQ 6 ACPI wakeup devices: ACPI: (supports S0 S3 S4 S5) ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 6 ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 6 (level, low) -> IRQ 6 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 6 ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 6 (level, low) -> IRQ 6 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10 ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 6 (level, low) -> IRQ 6 ACPI: Power Button (FF) [PWRF] ACPI: Lid Switch [LID] ACPI: Fan [FAN0] (off) ACPI: Fan [FAN1] (off) ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Thermal Zone [THRM] (58 C) ACPI: Video Device [GFX0] (multi-head: yes rom: yes post: no) ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10 ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11 ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 11 (level, low) -> IRQ 11 ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 6 (level, low) -> IRQ 6 Can anyone help me figure out why the battery and ac_adapter stuff isn't working? Any help would be great! |
Hi,
I had the same problem with mandriva 2005 /acpi on a Compaq Presario 2100, whereas it used to work with 10.1. The acpi kernel code seems to have changed somewhere around 2.6.10. I solved the problem using the last 10.1 kernel, ie ftp://ftp.lip6.fr/pub/linux/distribu...-1mdk.i586.rpm Not the most elegant solution, but at least fan, thermal, power button... work :) |
Thanks rataime for your reply, I tried installing Mandrake 10.1 but that doesn't work correctly either.
So far I have tried the following distros: Knoppix 3.9, Mandrake 10.1, Mandriva LE 2005, Fedora Core 3, Suse Pro 9.0, and Xandros 3.0. All give me the same result of having /proc/acpi but not being able to get the ac and battery information. Last night I d/l kernel 2.6.13 and patched the acpi modules. Compiled and installed it all but even that made no difference. My last thought is that maybe the DSDT table provided by my BIOS is crap and that I need to put a customized/working version in initrd, but I don't really have any idea how to do this and looking on the ACPI4Linux site there doesn't seem to be a DSDT written for my Laptop. Once again I'm using a Toshiba L10 with Phoenix BIOS v2.0. If anyone can help I'd really appreciate it. I've read a lot about Suse Pro 9.3 working quite well for laptops so I'm going to give that a go but please post if you've got any ideas. |
OK, I've installed SuSE 9.3 Pro but that doesn't work either, although I do get the "pluged in" symbol in the bottom right hand panel that tells me that the laptop is plugged into the mains, however, this doesn't change if I unplug it, so basically it still doesn't work.
I've looked on the Toshiba website and found this which I will try over the weekend. If anyone has any other ideas please post! |
All times are GMT -5. The time now is 04:41 PM. |