[pulseaudio-commits] src/modules

Colin Guthrie colin at kemper.freedesktop.org
Wed Nov 30 04:02:05 PST 2011


 src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 078a39af886ea3bb590595b973343af77c2837fe
Author: David Henningsson <david.henningsson at canonical.com>
Date:   Wed Nov 30 12:51:06 2011 +0100

    alsa: Ignore the virtual "thinkpad-acpi" card
    
    The thinkpad ACPI driver sometimes creates a virtual sound card,
    which at best exposes a volume control. Save some startup time, and
    unnecessary error messages in the log, by ignoring it.
    
    Signed-off-by: David Henningsson <david.henningsson at canonical.com>

diff --git a/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules b/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules
index 65864f7..e6cfef5 100644
--- a/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules
+++ b/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules
@@ -20,6 +20,7 @@ SUBSYSTEM!="sound", GOTO="pulseaudio_end"
 ACTION!="change", GOTO="pulseaudio_end"
 KERNEL!="card*", GOTO="pulseaudio_end"
 
+SUBSYSTEMS=="platform", DRIVERS=="thinkpad_acpi", ENV{PULSE_IGNORE}="1"
 SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1978", ENV{PULSE_PROFILE_SET}="native-instruments-audio8dj.conf"
 SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="0839", ENV{PULSE_PROFILE_SET}="native-instruments-audio4dj.conf"
 SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="baff", ENV{PULSE_PROFILE_SET}="native-instruments-traktorkontrol-s4.conf"



More information about the pulseaudio-commits mailing list