mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
alsa-utils: move soundconfig to /usr/lib/udev, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
5e18d23a14
commit
7ae6ec453b
@ -25,13 +25,14 @@
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/amixer/amixer $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/aplay/aplay $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/soundconfig $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/speaker-test/speaker-test $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/udev
|
||||
cp $PKG_DIR/scripts/soundconfig $INSTALL/usr/lib/udev
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/alsactl/alsactl $INSTALL/usr/sbin
|
||||
|
||||
mkdir -p $INSTALL/usr/share/alsa/init
|
||||
cp $PKG_BUILD/alsactl/init/* $INSTALL/usr/share/alsa/init
|
||||
rm -rf $INSTALL/usr/share/alsa/init/Makefile*
|
||||
|
||||
|
@ -18,16 +18,5 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
# Give the audio group ownership of sound devices
|
||||
SUBSYSTEM=="sound", GROUP="audio"
|
||||
SUBSYSTEM=="snd", GROUP="audio"
|
||||
|
||||
# ALSA Devices
|
||||
# When a sound device is detected, restore the volume settings
|
||||
KERNEL=="controlC[0-9]*", NAME="snd/%k", ACTION=="add", RUN+="/usr/bin/soundconfig"
|
||||
KERNEL=="hw[CD0-9]*", NAME="snd/%k"
|
||||
KERNEL=="pcm[CD0-9cp]*", NAME="snd/%k"
|
||||
KERNEL=="midiC[D0-9]*", NAME="snd/%k"
|
||||
KERNEL=="timer", NAME="snd/%k"
|
||||
KERNEL=="seq", NAME="snd/%k"
|
||||
KERNEL=="mixer0", SYMLINK+="mixer"
|
||||
KERNEL=="controlC[0-9]*", NAME="snd/%k", ACTION=="add", RUN+="soundconfig"
|
||||
|
Loading…
x
Reference in New Issue
Block a user