toshiba portege r100 resumes from S3 after a small patch

Nate Lawson nate at root.org
Fri Mar 23 18:07:41 UTC 2007


alex65536 at yandex.ru wrote:
> I've found a way to make my toshiba portege r100 resume.
> 
> I just edited function ata_resume() in /usr/src/sys/dev/ata/ata-all.c like
> that:
> 
>       ...
>       int
>       ata_resume(device_t dev)
>       {
>           printf("a delay to be sure disks have started...\n");
>           DELAY(2000000);            // delay for 2 seconds
>           ...
>       }
>       ...
> 
> Without that delay system crashes sometimes with message "ad0: detached".
> 
> I think that would work with some other toshiba laptops.
> 
> A small problem is that the delay occurs two times, for both ata
> channels, but it's better than nothing.

It sounds like the ata driver is somehow timing out too quickly on the
first commands.  I've forwarded this to the ata maintainer to see if he
has any comments.

Thanks,
Nate


More information about the freebsd-acpi mailing list