Skip to contentSkip to conversation

Failed resuming IDE from S3 on Abit NF7 (nForce2)

DISCUSSION Andreas Saur 1 participant 1 message Apr 13, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Dear Luming,

the bug you are refering to, seems pretty much the same bug like I do have here. But I've got two questions. Could you please help me? And I do asume, that this patch isn't in the resent kernel yet, isn't it?

1) If I want to adopt your patch, I should use the values from my acpidump, but I can't find anything reasonable. What should my values look like? (see here: http://bugzilla.kernel.org/attachment.cgi?id=7762&action=view )

2) How do I ensure, that this native IDE driver is really used? Do I have to uncheck all non-native IDE drivers in the kernel config? (In my case it's the amd71xx, I guess)

Please excuse the silly questions, but I am pretty new to game of kernel configuration and compilation, but steady learning :-)

Thank you very much.

Refering to:
----------------------------------------------------------------------

Quoted 24 lines
Quoted 24 lines

Bugzilla:
http://bugzilla.kernel.org/show_bug.cgi?id=5604#c19ide_sleep.dpatch

Patch:
http://www.codon.org.uk/~mjg59/tmp/external-drivers-ide_sleep.dpatch

------- Additional Comment #17 From Luming Yu 2005-11-18 07:49 -------

The ide patch mentioned in comment#16 is not complete yet. That is the reason for ACPI HANDLE IS NULL.

So, It's not surprise it doesn't work.
Could you try to remove error detecting code before invoking _GTM and _STM And hardcode with :

For invoking _GTM:

{
acpi_handle tmp;
acpi_get_handle(NULL, \\_SB.C002.C0A6.C1D5, &tmp); status = acpi_evaluate_object(tmp, "_GTM", NULL, &buffer);
...
}

Quoted 8 lines
Quoted 8 lines

For invoking _STM:

{
acpi_handle tmp;
acpi_get_handle(NULL, \\_SB.C002.C0A6.C1D5, &tmp); status = acpi_evaluate_object(stat->handle, "_STM", &input, NULL); ..
}

----------------------------------------------------------------------