Add patch to unmute MacBookAir4,1 speakers
This commit is contained in:
parent
de5576c9da
commit
cc38084eb4
33
0001-Unmute-MacBookAir4-1-speakers.patch
Normal file
33
0001-Unmute-MacBookAir4-1-speakers.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From a0c92daabf4fdc0a636f445ec2312c1b4fe04421 Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Wed, 14 Sep 2011 12:13:04 +0100
|
||||
Subject: [PATCH] Unmute MacBookAir4,1 speakers
|
||||
|
||||
---
|
||||
alsactl/init/default | 10 ++++++++++
|
||||
1 files changed, 10 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/alsactl/init/default b/alsactl/init/default
|
||||
index 7f8ec4c..198a306 100644
|
||||
--- a/alsactl/init/default
|
||||
+++ b/alsactl/init/default
|
||||
@@ -174,6 +174,16 @@ CTL{name}="AC97 Playback Volume",CTL{do_search}=="1", \
|
||||
CTL{name}="AC97 Playback Switch",CTL{do_search}=="1", \
|
||||
CTL{values}="on"
|
||||
|
||||
+CTL{reset}="mixer"
|
||||
+# With, and without typo, see
|
||||
+# http://thread.gmane.org/gmane.linux.alsa.devel/89179
|
||||
+CTL{name}="Surround Speaker Playback Volum",CTL{do_search}=="1", \
|
||||
+ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="100%"
|
||||
+CTL{name}="Surround Speaker Playback Volume",CTL{do_search}=="1", \
|
||||
+ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="100%"
|
||||
+CTL{name}="Surround Speaker Playback Switch",CTL{do_search}=="1", \
|
||||
+ CTL{values}="on"
|
||||
+
|
||||
#
|
||||
# Powermacs
|
||||
#
|
||||
--
|
||||
1.7.6.2
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: %{baseversion}%{?fixversion}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.alsa-project.org/
|
||||
@ -25,12 +25,16 @@ BuildRequires: xmlto
|
||||
Conflicts: udev < 062
|
||||
Requires: alsa-lib >= %{baseversion}, systemd-units, dialog
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=738227
|
||||
Patch0: 0001-Unmute-MacBookAir4-1-speakers.patch
|
||||
|
||||
%description
|
||||
This package contains command line utilities for the Advanced Linux Sound
|
||||
Architecture (ALSA).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1 -b .mba41
|
||||
|
||||
%build
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin --disable-alsaconf
|
||||
@ -108,6 +112,9 @@ if [ -s /etc/asound.state -a ! -s /var/lib/alsa/asound.state ] ; then
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Mon Oct 31 2011 Bastien Nocera <bnocera@redhat.com> 1.0.24-4
|
||||
- Add patch to unmute MacBookAir4,1 speakers
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user