~diwic/alsa-utils/ubuntu.natty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
                     MAINTAINER NOTES
                     for alsa-utils


TODO when someone has time
~~~~~~~~~~~~~~~~~~~~~~~~~~
/sbin/alsa-utils should be changed so that instead of doing a
mere "alsactl restore" it takes the following steps in the "start" method:

     Move old asound.state to asound.state_PREV
     Run "alsactl store" to create new asound.state
     Run asound.state through a processor which sets "sane"
       default values without changing the structure of the file
     Use the values in asound.state_PREV to update the values in
       the new asound.state without changing the structure of
       the file
     Run "alsactl restore"

This would run faster than the current code and might deal better with
driver upgrades.

See https://bugzilla.ubuntu.com/show_bug.cgi?id=15585


TODO for each new upstream release
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Check Ubuntu patches at http://people.ubuntulinux.org/~scott/patches/
* Update debian/changelog.ALSA from release announcement


Setting default mixer levels
----------------------------
Mandriva takes an interesting approch to resetting mixer levels.
    http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/sound-scripts/
Its reset_sound script does:
    * alsactl store to file
    * process file with perl script alsa_default.pl
    * alsactl restore from file
We should consider taking this code which appears to be much
smarter than our sanify_levels_on_card().

Some controls need to be set differently on different machines.
* External Amplifier
  + Need it on:
    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=963
    http://lists.debian.org/debian-kernel/2004/04/msg00020.html
  + Need it off:
    http://www.seismo.ethz.ch/linux/sony_vaio_t1xp_linux.html
    http://bugzilla.ubuntu.com/show_bug.cgi?id=15099
* Audigy Analog/Digital Output Jack
These should be set to appropriate defaults in the driver and not
touched by our initscript.