toshiba portege r100 resumes from S3 after a small patch
alex65536 at yandex.ru
alex65536 at yandex.ru
Fri Mar 23 06:43:33 UTC 2007
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.
Alexandre Scherbanov
More information about the freebsd-acpi
mailing list