Reboot on wakeup/resume from Suspend on Ram S3 - Dell Latitude D430
Olivier Fauchon
olivier at aixmarseille.com
Thu Apr 24 15:18:15 UTC 2008
Hi,
When I try 'acpiconf -s3' on my Dell Latitutde D430 (Bios Rev A05), it
goes to sleep (Power Led waves, LCD OFF, etc.... everything seems ok )
With messages console :
Apr 24 12:08:58 casino kernel: acpi_lid0: wake_prep enabled for
\_SB_.LID_ (S3)
Apr 24 12:08:58 casino kernel: acpi_button0: wake_prep enabled for
\_SB_.PBTN (S3)
Apr 24 12:08:58 casino kernel: unknown: wake_prep disabled wake for
\_SB_.PCI0.USB0 (S3)
Apr 24 12:08:58 casino kernel: unknown: wake_prep disabled wake for
\_SB_.PCI0.USB1 (S3)
Apr 24 12:08:58 casino kernel: unknown: wake_prep disabled wake for
\_SB_.PCI0.USB2 (S3)
Apr 24 12:08:58 casino kernel: unknown: wake_prep disabled wake for
\_SB_.PCI0.USB3 (S3)
Apr 24 12:08:58 casino kernel: unknown: wake_prep disabled wake for
\_SB_.PCI0.EHCI (S3)
Apr 24 12:08:58 casino kernel: vga0: saving 68 bytes of video state
...
Then, when I press the power button to wake it up, the laptop goes on
and reboots (Bios splash screen).
I added "debug.acpi.resume_beep=1" in my loader.conf, but I never heard
such beeps at resume, (Seems ACPI can't jump to FreeBSD resume code ?)
ANY ideas to troubleshoot that welcome.
NB: this is a Intel Core 2 CPU U7600
** Here is the way I prepared my system:
(All the debug files can be seen here:
http://www.aixmarseille.com/pub/acpi_fb7_casino/ )
* I downloaded recent /usr/src with cvsup on 12 april 2008
* I Compiled various kernels combinations with
acpi/apic/smp/original_acpi, acpi/no_apic/no_smp/patched_acpi.
* I Corrected the asl code:
casino-fb7.asl 1283: Name (_HID, "*pnp0c14")
Error 4001 - String must be entirely alphanumeric ^ (*pnp0c14)
-> casino-fb7.asl 1283: Name (_HID, "*pnp0c14")
casino-fb7.asl 2804: Name (_T_0, Zero)
Error 4081 - Use of reserved word ^ (_T_0)
-> casino-fb7.asl 2804: Name (T_0, Zero)
casino-fb7.asl 4073: And (Local0, 0x0F)
Warning 1104 - ^ Result is not
used, operator has no effect
-> NO IDEA how to correct that, and It's warning. I keep unchanged
casino-fb7.asl 4882: Return (Package (0x00) {})
Remark 5070 - Effective AML package length is zero ^
-> NO IDEA how to correct that, and It's warning. I keep unchanged
casino-fb7.asl 5092: Wait (EJTD, 0xA000)
Warning 1103 - Possible operator timeout is ignored ^
->casino-fb7.asl 5092: Wait (EJTD, 0xFFFF), (
* Added some LID PATCH so the screen goes on when you open the LID (that
works)
>
> // From
http://www.reactivated.net/systems/dell-640m/dsdt/01_lid-power-lcd.patch
> // If lid open, enable video
> If (LNotEqual(\_SB.LID._LID(), 0)) {
> \_SB.PCI0.VID.LCD._DSS(0x80000001)
> Notify (\_SB.LID, 0x80)
> Return
> }
>
> // If lid closed, continue
>
> // End DELL LID PATCH
* Added some S3_prepare script:
[root at casino ~/bin]# cat prepare_s3
#!/bin/sh
/etc/rc.d/wpa_supplicant stop iwn0
ifconfig iwn0 down
ifconfig iwn0 delete
for i in linux ucom ugensa ucom uhid ums usb agp i915 drm wlan_scan_sta
wlan_wep wlan_ccmp wlan_tkip wlan_amrr wlan iwnfw if_iwn snd_hda sound;
do kldunload $i; done
acpiconf -s3
.... So the kernel is as light as possible when I switch to S3
More information about the freebsd-acpi
mailing list