diff options
Diffstat (limited to 'recipes-core/udev/demo-most-udev-conf')
-rw-r--r-- | recipes-core/udev/demo-most-udev-conf/99-agl-fibredyne-amp.rules | 8 | ||||
-rw-r--r-- | recipes-core/udev/demo-most-udev-conf/enable-agl-demo-hal.sh | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes-core/udev/demo-most-udev-conf/99-agl-fibredyne-amp.rules b/recipes-core/udev/demo-most-udev-conf/99-agl-fibredyne-amp.rules new file mode 100644 index 000000000..5385a6a7c --- /dev/null +++ b/recipes-core/udev/demo-most-udev-conf/99-agl-fibredyne-amp.rules @@ -0,0 +1,8 @@ +# Smallest rule, we might get more specific +ACTION=="add", SUBSYSTEM=="sound", ENV{ID_VENDOR}=="Microchip-SMSC", ENV{ID_MODEL}=="OS8*", RUN+="/usr/sbin/enable-agl-demo-hal.sh" +#, ENV{ID_MODEL}=="OS81210" +#, ENV{ID_SERIAL}=="Microchip-SMSC_OS81210_0200-0000000C" +#, ENV{ID_SERIAL}=="Microchip-SMSC_OS81210_0200-0000000C-02" +# Microchip-SMSC_OS81118_0000-0000004C +# Note: this will not work for a SOTA filesystem !! + diff --git a/recipes-core/udev/demo-most-udev-conf/enable-agl-demo-hal.sh b/recipes-core/udev/demo-most-udev-conf/enable-agl-demo-hal.sh new file mode 100644 index 000000000..dd0fa2314 --- /dev/null +++ b/recipes-core/udev/demo-most-udev-conf/enable-agl-demo-hal.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +rm -f /usr/libexec/agl/4a-hal/etc/*.json || true + +cp /usr/libexec/agl/4a-hal/etc.available/hal-4a-greenbox.json /usr/libexec/agl/4a-hal/etc/ + + |