Zhang Rui wrote: >> Firstly, I'm running KDE and using kpowersave. My kernel automatically >> loads the sony_laptop module. When I remove the AC power cable from the >> laptop, kpowersave does not detect this. I've discovered the file >> /proc/acpi/ac_adapter/ADP1/state, and this does update correctly (it >> contains "on-line" or "off-line" dependant on the state of the ac >> adapter). So something is working but kpowersave is not working. >> > Please kill acpid, and "cat /proc/acpi/event", > what do you see if you plug/unplug the AC adapter? > Interesting... Firstly I should say I can now load sonypi and still have /proc/acpi existing. I'm not sure what I've done to make this possible, but it is now possible. What is strange is that I tried this once and got some output (and kpowersave showed a green battery level meter but did not change to powersave mode). Then, I presed the power key as you requested below and very surprisingly my laptop shut down... so I lost the email! Now I've rebooted and am trying again and I'm getting no output at all. In dmesg I now have "ACPI: EC: acpi_ec_wait timeout, status = 0, expect_event = 1", which wasn't there on the previous boot. I am going to save this email and do a proper reboot and try it again. Now I've done a proper reboot and am getting some output: Also the ACPI message I pasted above is not there. battery BAT0 00000080 00000001 processor CPU0 00000081 00000000 processor CPU1 00000081 00000000 battery BAT0 00000080 00000001 processor CPU0 00000081 00000000 processor CPU1 00000081 00000000 >> Secondly, the power button on my laptop cannot be used to shut the >> laptop down, just nothing happens. >> > the same test. > what do you see if you press the power button? > > My laptop shuts down! This definitely wasn't working yesterday! I have attached my .config, and I'll paste the output of dmesg | grep ACPI below: Thanks. BIOS-e820: 000000007fed0000 - 000000007fee0000 (ACPI data) BIOS-e820: 000000007fee0000 - 000000007fee3000 (ACPI NVS) ACPI: RSDP 000F8050, 0024 (r2 PTLTD ) ACPI: XSDT 7FED7F39, 0084 (r1 Sony VAIO 20071221 PTL 0) ACPI: FACP 7FEDFC04, 00F4 (r3 Sony VAIO 20071221 PTL 1) ACPI: DSDT 7FED9217, 6979 (r2 Sony VAIO 20071221 PTL 20050624) ACPI: FACS 7FEE2FC0, 0040 ACPI: APIC 7FEDFCF8, 0068 (r1 Sony VAIO 20071221 PTL 5A) ACPI: HPET 7FEDFD60, 0038 (r1 Sony VAIO 20071221 PTL 5A) ACPI: MCFG 7FEDFD98, 003C (r1 Sony VAIO 20071221 PTL 5A) ACPI: SLIC 7FEDFDD4, 0176 (r1 Sony VAIO 20071221 PTL 1000000) ACPI: TMOR 7FEDFF4A, 0026 (r1 Sony VAIO 20071221 PTL 3) ACPI: APIC 7FEDFF70, 0068 (r1 Sony VAIO 20071221 PTL 0) ACPI: BOOT 7FEDFFD8, 0028 (r1 Sony VAIO 20071221 PTL 1) ACPI: SSDT 7FED90FA, 011D (r1 Sony VAIO 20071221 PTL 20050624) ACPI: SSDT 7FED85A5, 0287 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: SSDT 7FED84F1, 00B4 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: SSDT 7FED7FBD, 0534 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: BIOS bug: multiple APIC/MADT found, using 0 ACPI: If "acpi_apic_instance=2" works better, notify linux-acpi@vger.kernel.org ACPI: DMI detected: Sony ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. ACPI: HPET id: 0x8086a201 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information ACPI: Core revision 20070126 ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found. ACPI: bus type pci registered ACPI: EC: Look up EC in DSDT ACPI: BIOS _OSI(Linux) query ignored via DMI ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org ACPI: Interpreter enabled ACPI: (supports S0 S3 S4 S5) ACPI: Using IOAPIC for interrupt routing ACPI: EC: non-query interrupt received, switching to interrupt mode ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62 ACPI: EC: driver started in interrupt mode ACPI: PCI Root Bridge [PCI0] (0000:00) PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10 ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10 ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15) ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *11 ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10 pnp: PnP ACPI init ACPI: bus type pnp registered pnp: PnP ACPI: found 10 devices ACPI: ACPI bus type pnp unregistered PCI: Using ACPI for IRQ routing ACPI: RTC can wake from S4 ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 17 (level, low) -> IRQ 17 ACPI: PCI Interrupt 0000:09:03.0[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19 ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 20 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19 ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 19 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 19 (level, low) -> IRQ 21 ACPI: SSDT 7FED8D75, 02A1 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: SSDT 7FED882C, 04B7 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: SSDT 7FED9016, 00E4 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: SSDT 7FED8CE3, 0092 (r1 Sony VAIO 20071221 PTL 20050624) ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Processor [CPU1] (supports 8 throttling states) ACPI: Battery Slot [BAT0] (battery present) ACPI: AC Adapter [ADP1] (on-line) ACPI: PCI Interrupt 0000:08:00.0[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 18 (level, low) -> IRQ 18 ACPI: Lid Switch [LID0] ACPI: Power Button (CM) [PWRB] ACPI: Thermal Zone [TZ00] (54 C) ACPI Exception (thermal-0471): AE_NOT_FOUND, Invalid active threshold [0] [20070126] ACPI Exception (thermal-0471): AE_NOT_FOUND, Invalid active threshold [1] [20070126] ACPI: Thermal Zone [TZ01] (54 C) ACPI: Video Device [GFX0_PCI0] (multi-head: yes rom: no post: no) ACPI: PCI Interrupt 0000:09:03.1[B] -> GSI 17 (level, low) -> IRQ 17 ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 ACPI: PCI Interrupt 0000:09:03.2[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 > thanks, > rui > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >