Dell ACPI & S3 resume problems.
olivier at aixmarseille.com
Thu Jul 3 15:46:37 UTC 2008
Mark Kirkwood wrote:
> Rui Paulo wrote:
>> On Wed, Jul 02, 2008 at 05:14:30PM +0200, Olivier Fauchon wrote:
>>> When I try to resume from S3 on my DELL Latitude D430 by pressing
>>> power button, the laptop reboots.
>>> I tried the same test with a Knoppix Live CD, and It passes (Laptop
>>> revives although LCD is buggy).
>>> But I could type "shutdown -r now" blindly, to confirm it wakes up
>>> Now I need help to find out the differences between FREEBSD and
>>> LINUX which makes resume fail.
>>> You'll find here all collected informations:
>>> * Verbose Booting with FreeBSD7
>>> * Booting with Knoppix dmesg
>>> * Dell LAtitude D430 original ASL:
>>> * Patched ASL (which only correct a LID and warning problems)
>>> * Kernel configuration :
>>> * lspci : http://www.aixmarseille.com/pub/acpi_fb7_casino/lpsci.txt
>>> Can someone explains me what are the main steps of a resume, so I
>>> can try to troubleshoot further.
>> Well, your best bet is to disable every driver and make them modules.
>> with the bare minimum necessary for input/output and in single user
>> Try suspend and resume in single user mode. If that works, the
>> problem, most likely lies in the drivers.
>> Try enabling one driver at a time, and retest suspend/resume. This way
>> you can find the problematic driver, if any.
>> Also, try changing the hw.acpi sysctls, namely reset_video.
> From your dmesg it looks like you are running both cores (i.e smp
> kernel). Try disabling one core via kern.smp.disabled=1 in loader.conf
> (some laptops will not suspend properly with both cores running).
Perfect.... That works !
I 'm actualy running a SMP kernel (CoreDuo CPU) with one disabled core
(with BIOS). This was not enough.
"kern.smp.disabled=1" corrects the problem.
I'm now able to resume under Xorg, in multiuser mode. I'm lucky.
More information about the freebsd-acpi