alsa settings not restored on startup

Bug #645869 reported by Martin Vysny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
Fix Released
Medium
Daniel T Chen

Bug Description

Binary package hint: alsa-utils

Upon upgrading to Maverick I noticed that the 6-channel setting on alsa is not restored properly (always fixed to 2-channels). I tried running "sudo /lib/udev/alsa-utils" as suggested in https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/352732/comments/9 and it failed:

$ sudo /lib/udev/alsa-utils
alsactl: Unknown command 'start'...

The /lib/udev/alsa-utils file:

#!/bin/sh -e
#
# udev script for alsa-utils

(
 DEV_BASENAME="${DEVNAME##*/}"
 N="${DEV_BASENAME#controlC}"
 exec /sbin/alsactl start $N
) &

perhaps it needs to be changed to "restore" command?

Revision history for this message
Martin Vysny (vyzivus) wrote :

Changing the line to "exec /sbin/alsactl restore $N" fixed the bug, it restored alsa settings upon boot.

Revision history for this message
Daniel T Chen (crimsun) wrote :

It actually should be calling the initscript, oops. Fixed in bzr.

Changed in alsa-utils (Ubuntu):
assignee: nobody → Daniel T Chen (crimsun)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-utils - 1.0.23-2ubuntu3

---------------
alsa-utils (1.0.23-2ubuntu3) maverick; urgency=low

  * debian/udev.script: Use 'alsa-utils', not 'alsactl' directly
    (LP: #645869)
 -- Daniel T Chen <email address hidden> Thu, 23 Sep 2010 06:10:30 -0400

Changed in alsa-utils (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.