[PC-BSD Commits] r19328 - in pcbsd/current/overlays/desktop-overlay: etc usr/local/share/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue Sep 18 08:48:22 PDT 2012


Author: kris
Date: 2012-09-18 15:48:22 +0000 (Tue, 18 Sep 2012)
New Revision: 19328

Added:
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/sound-dev-changed.sh
Removed:
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/gen-pcm-oss.sh
Modified:
   pcbsd/current/overlays/desktop-overlay/etc/devd.conf
Log:

Update our sound-detection devd script. Now along with updating pcm-oss.conf
it will set the default pcm device to the newly plugged in device. This
helps in the case of USB headphones being plugged in. 



Modified: pcbsd/current/overlays/desktop-overlay/etc/devd.conf
===================================================================
--- pcbsd/current/overlays/desktop-overlay/etc/devd.conf	2012-09-18 14:30:50 UTC (rev 19327)
+++ pcbsd/current/overlays/desktop-overlay/etc/devd.conf	2012-09-18 15:48:22 UTC (rev 19328)
@@ -269,7 +269,7 @@
         match "subsystem"       "CDEV";
         match "type"            "CREATE";
 	match "cdev"            "mixer[0-9]+";
-	action "sleep 2 ; /usr/local/share/pcbsd/scripts/gen-pcm-oss.sh";
+	action "sleep 2 ; /usr/local/share/pcbsd/scripts/sound-dev-changed.sh add";
 };
 
 notify 15 {
@@ -277,7 +277,7 @@
         match "subsystem"       "CDEV";
         match "type"            "DESTROY";
 	match "cdev"            "mixer[0-9]+";
-	action "sleep 2 ; /usr/local/share/pcbsd/scripts/gen-pcm-oss.sh";
+	action "sleep 2 ; /usr/local/share/pcbsd/scripts/sound-dev-changed.sh del";
 };
 
 notify 5 {



More information about the Commits mailing list