Date: Fri, 23 Mar 2007 10:30:56 -0700 From: Nate Lawson <nate@root.org> To: alex65536@yandex.ru Cc: freebsd-acpi@freebsd.org Subject: Re: toshiba portege r100 resumes from S3 after a small patch Message-ID: <46040ED0.3090607@root.org> In-Reply-To: <73519472.20070323091455@yandex.ru> References: <73519472.20070323091455@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
alex65536@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46040ED0.3090607>