← Back to team overview

ubuntu-audio-dev team mailing list archive

/sbin/alsa-utils, and other things

 

I could use your guidance on a few topics:

Our infamous mixer init script suffers from a few flaws:

1) Mic input is muted on boot - this is not terrible IMO but I got it from the OEM folks who like things to work out of the box. I could probably fix this to just mute with the "nocap" option, without much work. That's the easy one.

2) Asynchronous problem - as Lennart Poettering pointed out [1] this script is executed asynchronously so it is not guaranteed to have finished when PulseAudio discovers the card. PulseAudio might take these mixer changes as changes by the user, and preserve them. His version is to execute a mixer restore script both on udev rule and on the file system showing up (?), since we don't know which one will happen first [2].

3) Upstream has started their own solution with the stuff in /usr/share/alsa/init and so our solution is in conflict and we don't use upstream's version.

Btw, how do I coordinate this with Debian? We inherit this script from there, so this concerns them as well.

While I have your attention, two additional questions:

* 1.0.24 is out and we plan to take it for Natty. I don't mind helping out, but again I'm a little unsure of how to coordinate with Debian - seems we sync/merge this from Debian and it would be stupid to double the effort?

* My pulse-mixer patch hasn't received much attention from upstream yet, although posted more than a week ago. Should I be bold and upload it to Natty?

--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2010-November/033910.html

[2] http://mailman.alsa-project.org/pipermail/alsa-devel/2010-November/033884.html



Follow ups