diff options
author | Dominik Kapusta <ayoy@gentoo.org> | 2009-11-21 12:49:21 +0000 |
---|---|---|
committer | Dominik Kapusta <ayoy@gentoo.org> | 2009-11-21 12:49:21 +0000 |
commit | f79c0a1b387e882f65c813d430c1ba1fe22e21ad (patch) | |
tree | cce03b089f01dd5316bfc0bbc7e6b5a3649de97a /media-sound/alsa-utils/files | |
parent | Automated update of use.local.desc (diff) | |
download | historical-f79c0a1b387e882f65c813d430c1ba1fe22e21ad.tar.gz historical-f79c0a1b387e882f65c813d430c1ba1fe22e21ad.tar.bz2 historical-f79c0a1b387e882f65c813d430c1ba1fe22e21ad.zip |
Updated init_default patch (bug #281538). Thanks to Michał Guminiak (michal.guminiak@gmail.com) for reporting.
Package-Manager: portage-2.2_rc50/cvs/Linux x86_64
Diffstat (limited to 'media-sound/alsa-utils/files')
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch index 4127f184116d..f6564b95906a 100644 --- a/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch @@ -1,8 +1,17 @@ diff -ur alsa-utils-1.0.21.orig/alsactl/init/default alsa-utils-1.0.21/alsactl/init/default --- alsa-utils-1.0.21.orig/alsactl/init/default 2009-05-06 10:07:24.000000000 +0300 +++ alsa-utils-1.0.21/alsactl/init/default 2009-08-17 22:29:46.000000000 +0300 +@@ -39,7 +39,7 @@ + CTL{name}="Front Playback Volume",PROGRAM!="__ctl_search",GOTO="front0_end" + # if master volume control is present, turn front volume to max + ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="front0_end" +-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="front0_end" ++ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="front0_end" + CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" + LABEL="front0_end" + CTL{name}="Front Playback Switch",PROGRAM=="__ctl_search", \ @@ -49,7 +49,7 @@ - CTL{name}="Headphone Playback Volume",PROGRAM=="__ctl_search",GOTO="headphone0_end" + CTL{name}="Headphone Playback Volume",PROGRAM!="__ctl_search",GOTO="headphone0_end" # if master volume control is present, turn headphone volume to max ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end" -ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end" @@ -10,3 +19,30 @@ diff -ur alsa-utils-1.0.21.orig/alsactl/init/default alsa-utils-1.0.21/alsactl/i CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" LABEL="headphone0_end" CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \ +@@ -72,7 +72,7 @@ + CTL{name}="PCM Volume",PROGRAM!="__ctl_search", GOTO="pcm0_end" + # if master volume control is present, turn PCM volume to max + ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm0_end" +-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm0_end" ++ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm0_end" + # exception - some HDA codecs have shifted dB range + CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm0_end" + CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm0_end" +@@ -86,7 +86,7 @@ + CTL{name}="PCM Volume",PROGRAM!="__ctl_search",GOTO="pcm1_end" + # if master volume control is present, turn PCM volume to max + ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm1_end" +-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm1_end" ++ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm1_end" + # exception - some HDA codecs have shifted dB range + CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm1_end" + CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm1_end" +@@ -125,7 +125,7 @@ + CTL{name}="CD Playback Volume",PROGRAM!="__ctl_search", GOTO="cd0_end" + # if master volume control is present, turn CD volume to max + ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="cd0_end" +-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="cd0_end" ++ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="cd0_end" + # exception - some HDA codecs have shifted dB range + CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="cd0_end" + CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="cd0_end" |