Re: [GIT PATCH] ACPI patches for 2.6.21 - part II (resend)

Pavel Machek
2007-03-06T21:10:11Z

Hi!

> > > commit 4465857d5f99079bae00621626adf74ed8256296
> > > Author: Mattia Dongili <malattia@linux.it>
> > > Date: Sat Jan 13 23:04:39 2007 +0100
> > >
> > > sony_acpi: Add lanpower and audiopower controls
> > >
> > > audiopower works well on my SZ72B so it's not marked has "debug" while lanpower
> > > has at least one report of not resuming power happily so morked as "debug"
> > >
> > > Signed-off-by: Mattia Dongili <malattia@linux.it>
> > > Signed-off-by: Len Brown <len.brown@intel.com>
> >
> > What is interface to these? It would be nice to automagically disable
> > audiopower when sound device is closed, and automagically power down
> > lan on ifconfig ... down.
>
> the audiopower is basically a _PS3/_PS0 switch for the device, while the
> lanpower plays with the embedded controller to powerdown/powerup.
>
> Now, unfortunately those methods are attached to a fake device in the
> DSDT and afaict there's no way to tell which real device they are
> playing with (except by inspecting the method implementations).

> Well of course iff there's only _one_ sound card and _one_ nic you can
> easily guess it :)

Hmm... you are on sony notebook... right? That means it is very likely
it has just one sound card, and just one ethernet, no?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html