2.6.0-test6 APM/IDE double-suspend weirdness
In test6 (and test5 and possibly earlier), when suspending my aging Latitude with APM, the machine turns off, only to turn itself on again one second later with the disk spinning up. Then it turns itself off again a second later.
The kernel log contains:
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspend
Apart from this, both APM suspend and resume work fine.
(ACPI is not an option on this machine, even if I wanted to use it (I don't). APM has worked near-perfectly for years.)
/Mikael
Hi!
Quoted 5 lines
In test6 (and test5 and possibly earlier), when suspending my aging Latitude with APM, the machine turns off, only to turn itself on again one second later with the disk spinning up. Then it turns itself off again a second later.
Quoted 7 lines
The kernel log contains:
hda:start_power_step(step: 0)
hda:start_power_step(step: 1)
hda:complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspendApart from this, both APM suspend and resume work fine.
Try removing pm_send_all from apm.c
Signature · 2 lines
Pavel Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...
Quoted 13 lines · Pavel Machek
Hi!
Quoted 11 lines
In test6 (and test5 and possibly earlier), when suspending my aging Latitude with APM, the machine turns off, only to turn itself on again one second later with the disk spinning up. Then it turns itself off again a second later.
The kernel log contains:
hda:start_power_step(step: 0)
hda:start_power_step(step: 1)
hda:complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspend
Quoted 3 lines
Quoted 1 line
Apart from this, both APM suspend and resume work fine.
Try removing
pm_send_allfromapm.c
Ok I tried removing all pm_send_all from apm.c.
I made no difference at all. I suspect the driver
model stuff or the IDE layer is at fault here.
/Mikael