Laptop lid close event is not always detected on MSI S250
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I installed Dapper Flight 6 to my MSI S250 laptop and it was working ok.
When the bug 35213 got fixed there soon was another one concerning the laptop lid close detection system. Seems like the lid close event, which can be set to either suspend or hibernate the system, is noticed only the first time after a reboot. The second time the lid gets closed dmesg says nothing of the event.
I tested this as best as I could and noticed that it doesn't matter how many times I suspend or hibernate from the menu, this always works the first time I close the lid, but never again until I have rebooted my machine.
On my machine this event is seemingly detected as "pccard: card ejected from slot 0". This message is the first message that appears in dmesg when I close the lid.
This is the dmesg notifying about the first lid close (and hibernation and resume events that follow). After this no matter how many times I close the lid there are no more messages:
[4294771.910000] pcmcia: Detected deprecated PCMCIA ioctl usage.
[4294771.910000] pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
[4294771.910000] pcmcia: see http://
[4294771.910000] pccard: card ejected from slot 0
[4294773.180000] ACPI: PCI interrupt for device 0000:00:0e.0 disabled
[4294776.577000] Freezing cpus ...
[4294776.578000] Stopping tasks: =======
[4294776.579000] Shrinking memory... done (28768 pages freed)
[4294776.757000] ACPI: PCI interrupt for device 0000:00:09.1 disabled
[4294776.757000] ACPI: PCI interrupt for device 0000:00:09.0 disabled
[4294776.757000] ACPI: PCI interrupt for device 0000:00:03.3 disabled
[4294776.768000] ACPI: PCI interrupt for device 0000:00:03.1 disabled
[4294776.768000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[4294776.768000] ACPI: PCI interrupt for device 0000:00:02.7 disabled
[4294776.768000] swsusp: Need to copy 51409 pages
[4294776.768000] swsusp: Restoring Highmem
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.768000] **** SET: Misaligned resource pointer: d75bc702 Type 07 Len 0
[4294840.786000] ACPI: PCI Interrupt 0000:00:02.7[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
[4294841.038000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKE] -> GSI 5 (level, low) -> IRQ 5
[4294841.039000] ACPI: PCI Interrupt 0000:00:03.1[B] -> Link [LNKF] -> GSI 7 (level, low) -> IRQ 7
[4294841.050000] ACPI: PCI Interrupt 0000:00:03.3[D] -> Link [LNKH] -> GSI 5 (level, low) -> IRQ 5
[4294841.050000] ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
[4294841.050000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[4294841.050000] ACPI: PCI Interrupt 0000:00:09.1[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
[4294841.050000] ACPI: PCI Interrupt 0000:00:09.2[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
[4294841.688000] ACPI-0517: *** Error: Method parse/execution failed [\_SB_.
[4294841.970000] ACPI-0517: *** Error: Method parse/execution failed [\_SB_.
[4294842.127000] Restarting tasks... done
[4294842.143000] Thawing cpus ...
[4294845.330000] sis900.c: v1.08.09 Sep. 19 2005
[4294845.331000] ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
[4294845.332000] 0000:00:04.0: ICS LAN PHY transceiver found at address 1.
[4294845.344000] 0000:00:04.0: Using transceiver found at address 1 as default
[4294845.346000] eth0: SiS 900 PCI Fast Ethernet at 0xd800, IRQ 10, 00:11:09:ab:ee:18.
[4294845.399000] ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
[4294845.399000] rt2500 1.1.0 BETA3 2005/07/31 http://
[4294846.044000] pccard: PCMCIA card inserted into slot 0
[4294846.044000] pcmcia: registering new device pcmcia0.0
[4294847.709000] ACPI: Power Button (FF) [PWRF]
[4294847.709000] ACPI: Lid Switch [LID0]
[4294847.709000] ACPI: Sleep Button (CM) [SLPB]
[4294847.709000] ACPI: Power Button (CM) [PWRB]
[4294848.800000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[4294848.801000] ACPI: Processor [CPU1] (supports 8 throttling states)
[4294848.810000] ACPI: Thermal Zone [THRM] (51 C)
[4294848.878000] ACPI: AC Adapter [ADP1] (on-line)
[4294848.925000] ACPI: Battery Slot [BAT1] (battery present)
[4294856.852000] ra0: no IPv6 routers present
After todays updates this problem still exists.
I thought that some process got killed during the process and tested by running "ps -A" before and after the suspend (by closing the lid). After stripping all buth the process names and sorting them I ran "diff before after" and this is what it printed:
51a52,53
> kacpid-work-0
> kacpid-work-1
78d79
< shpchpd_event
The same output came by running the same test with suspending from the menu, so I guess it's irrelevant.
Next I'll do a re-install with Beta2. My previous install wasn't a very succesful one, so let's hope this will fix things.