Re: [linux-pm] [RFC] userland swsusp

Dave Jones
2005-11-17T20:37:31Z

On Thu, Nov 17, 2005 at 03:20:55PM -0500, Lee Revell wrote:
> On Thu, 2005-11-17 at 21:12 +0100, Olivier Galibert wrote:
> > On Thu, Nov 17, 2005 at 02:57:11PM -0500, Lee Revell wrote:
> > > On Thu, 2005-11-17 at 18:02 +0100, Olivier Galibert wrote:
> > > > On Wed, Nov 16, 2005 at 11:05:00PM +0100, Pavel Machek wrote:
> > > > > Now... if something can be
> > > > > done in userspace, it probably should.
> > > >
> > > > And that usually means it just isn't done. Cases in point:
> > > > multichannel audio software mixing, video pixel formats conversion.
> > >
> > > What are you talking about? ALSA does mixing in userspace, it works
> > > great.
> >
> > You have an interesting definition of "great".
> >
> > 1- It doesn't work without an annoyingly complex, extremely badly
> > documented user configuration. To the point that it doesn't work in
> > either an out-of-the-box, updated Fedora Core 3 nor an
> > out-of-the-box gentoo.
>
> File a bug report with your distro then. This is supposed to work OOTB.

I don't know about other distros, but here's how that usually goes for Fedora users..

1. user installs new release, and sound doesn't work.
2. user blames ALSA, bug gets filed against kernel.
3. I take a look, sometimes we get to play "ping pong the bug between
userspace & kernel component" for a while
4. I throw my hands in the air and say "tell the upstream ALSA developers"
5. user does so
6. user comes back to Fedora bugzilla with the response
"Alsa people told me its a Fedora bug".

So, given we ship unpatched[1] ALSA, my faith in the
possibility of ALSA working "OOTB" is somewhat lacking.

These bugs usually sit in our bugzilla, every so often
I'll ping them after I've rebased to a new release, and
surprise surprise, they magically get fixed.
(Although every release we seem to trade one set of
working sound drivers for a new set of broken ones).

Colour me jaded.

Dave

[1] kernel sound/ is unpatched. alsa-utils is unpatched. alsa-lib carries
one patch from alsa cvs.