Touching keyboard keys doesn't cause laptop to resume

Bug #40883 reported by Miles Lane
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acpi (Ubuntu)
Confirmed
Medium
Unassigned
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I am running Dapper with all the latest updates:
acpi 0.09-1
acpi-support 0.72
acpid 1.0.4-1ubuntu10

Description:
The logout dialog has a button for putting my laptop to sleep. When I move my mouse pointer over the button, text appears stating that I should be able to wake my laptop up by hitting any keyboard key or my power button. When I try hitting keyboard keys, nothing happens. I have to touch the little switch that is pressed when the laptop lid is closed.

Revision history for this message
Miles Lane (miles-lane) wrote :
Download full text (4.0 KiB)

 BIOS-e820: 000000003dee0000 - 000000003deec000 (ACPI data)
 BIOS-e820: 000000003deec000 - 000000003df00000 (ACPI NVS)
ACPI: RSDP (v000 HP ) @ 0x000f7e00
ACPI: RSDT (v001 HP 09B8 0x06040000 LTP 0x00000000) @ 0x3dee76bb
ACPI: FADT (v001 HP 09B8 0x06040000 PTL 0x00000050) @ 0x3deebe8c
ACPI: HPET (v001 HP 09B8 0x06040000 PTL 0x00000000) @ 0x3deebf00
ACPI: MADT (v001 HP 09B8 0x06040000 PTL 0x00000050) @ 0x3deebf38
ACPI: MADT (v001 HP 09B8 0x06040000 PTL 0x00000000) @ 0x3deebf92
ACPI: BOOT (v001 HP 09B8 0x06040000 LTP 0x00000001) @ 0x3deebfd8
ACPI: SSDT (v001 HP 09B8 0x00000001 INTL 0x20030224) @ 0x3dee7afe
ACPI: SSDT (v001 HP 09B8 0x00002000 INTL 0x20030224) @ 0x3dee76fb
ACPI: DSDT (v001 HP 09B8 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: 2 duplicate APIC table ignored.
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] 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: 0x0
Using ACPI (MADT) for SMP configuration information
ACPI: bus type pci registered
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
ACPI: PCI Interrupt Link [LNKC] (IRQs *4)
ACPI: PCI Interrupt Link [LNKD] (IRQs *3)
ACPI: PCI Interrupt Link [LNKE] (IRQs *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs *4)
ACPI: PCI Interrupt Link [LNKH] (IRQs *3)
ACPI: Embedded Controller [H_EC] (gpe 29) interrupt mode.
pnp: PnP ACPI init
pnp: PnP ACPI: found 7 devices
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 20 (level, low) -> IRQ 16
apm: overridden by ACPI.
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Thermal Zone [THRM] (65 C)
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 18
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 19
ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 20 (level, low) -> IRQ 16
initcall at 0xc0452a6c: acpi_cpufreq_init+0x0/0x20(): returned with error code -16
ACPI wakeup devices:
ACPI: (supports S0 S3 S4 S5)
ACPI: PCI Interrupt 0000:00:...

Read more...

Revision history for this message
Matthew Garrett (mjg59) wrote :

Does pressing a key on the keyboard wake it under Windows?

Revision history for this message
Miles Lane (miles-lane) wrote :

Yes, touching the keyboard does wake the machine under Windows. IIRC, touching the mouse wakes under Windows as well.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I have seen this on a HP Compaq nx6110. I had to press the power button to make it resume. I don't know how it would be under Windows.

Changed in acpi:
status: Unconfirmed → Confirmed
Revision history for this message
Miles Lane (miles-lane) wrote :

FWIW, my laptop is an HP dv1240us.

Simon Law (sfllaw)
Changed in linux-source-2.6.15:
status: Unconfirmed → Rejected
Revision history for this message
Andrew Jorgensen (ajorg) wrote :

My laptop doesn't resume on keboard but it doesn't under Windows either. Just thought I'd mention it in case someone forgot to verify the behavior under another OS.

Revision history for this message
Gareth Williams (gw-westdale) wrote :

Still a problem in Hardy Heron on Compaq Presario laptop
One has to touch the power key to make the system resume from standby.

The comparison with Windows is not relevant to a user.
what matters is the original message as in the bug report:
either the keyboard should wake the system, or the message should be changed.

There is a (possibly related) worse problem in that once woken from deliberate standby or from powersave timeout in screensaver, the keyboard is dead. Separate bug report when I can find a suitable one.

Revision history for this message
Ami Chayun (amic) wrote :

This bug is a duplicate of 199006
The default status of PS/2 and USB keyboards in /proc/acpi/wakeup is set to 'disabled'.

This can be easily changed for example by running (as root):
echo "PS2K" > /proc/acpi/wakeup

Attached is a script that can be used to enable this support by default. I use it under /etc/acpi/suspend.d/

For a complete discussion see:
http://ubuntuforums.org/showthread.php?t=711747

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.