[PATCH] [Dapper] alsa-utils initscript is unable to sanify sound levels when using non-Ubuntu kernels newer than 2.6.15
Bug #43197 reported by
Marc Bevand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
Fix Released
|
Wishlist
|
Martin Pitt |
Bug Description
Running "/etc/init.
--- alsa-utils.old 2005-09-29 07:42:54.000000000 -0700
+++ alsa-utils 2006-05-06 00:38:05.137288750 -0700
@@ -83,7 +83,7 @@
echo_card_
{
if [ -f /proc/asound/cards ] ; then
- sed -n -e's/^\
+ sed -n -e's/^[
fi
}
Changed in alsa-utils: | |
assignee: | nobody → pitti |
status: | Confirmed → In Progress |
To post a comment you must log in.
Are you using a stock Ubuntu kernel (i.e., 2.6.15-22.33) in Dapper? On my system there is no leading whitespace:
crimsun@garnish:~$ cat /proc/asound/cards
Intel ICH6 with AD1981B at 0xa0040800, irq 233
M-Audio Transit USB at usb-0000:00:1d.1-1, full speed
0 [ICH6 ]: ICH4 - Intel ICH6
1 [USB ]: USB-Audio - Transit USB
On the other hand, your patch is non-intrusive and works regardless whether there is leading whitespace, so it should be applied in case it applies to the standard Ubuntu kernels.