Dell ACPI & S3 resume problems.

Olivier Fauchon 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:
>>  
>>> Hi,
>>>
>>> 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 
>>> properly.
>>>
>>> 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  
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/boot_verbose_d430_FB7.log 
>>>
>>> * Booting with Knoppix dmesg  
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/dmesg_knoppix_d430.log
>>> * Dell LAtitude D430 original ASL: 
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/dell-d430.orig.asl
>>> * Patched ASL (which only correct a LID and warning problems) 
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/dell-d430.patched.asl
>>> * Kernel configuration : 
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/kern_conf_CASINO.txt
>>> * 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. 
>> Boot
>> with the bare minimum necessary for input/output and in single user 
>> mode.
>> 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.
>>
>> HTH,
>>   
>
> 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).
>
> Cheers
>
> Mark

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.
 

THX !



More information about the freebsd-acpi mailing list