I got an idea for a possible workaround until this issue is fixed:
If using the sysfs interface to set the powermanagement of AC97, you
will most probably set it in an init script, I did in /etc/rc.local .
After you set the value to "Y" (or "1"), you need to play a sound once
to trigger the power suspend - so why not add a second line to your init
script:

echo "0" > /dev/dsp

I haven't tested if this really works in the init script, but when I do
this, I can hear the typical power-resume clicking noise throught my
speakers. 
So for the driver a sound was played and hence the device should be
suspended afterwards when the autosuspend parameter is set.
If anyone tries this at startup before me let me know if this trick
works, but I'm confident this should do as a workaround for now.

Peter Ganzhorn


On Mon, 2007-05-21 at 08:38 -0700, Arjan van de Ven wrote:
> Alexey Fisher wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Interesting issue. is it possible to fix it?
> > 
> > Arjan van de Ven wrote:
> >> if you use the sysfs interface, you first need to play a sound for the
> >> setting to become active ;(
> > -----BEGIN PGP SIGNATURE-----
> 
> yes this should absolutely be fixed
> _______________________________________________
> Power mailing list
> [email protected]
> http://www.bughost.org/mailman/listinfo/power

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to