Skip to content

Commit a1789af

Browse files
committed
feat(satellite1): restructure audio driver installation scripts
Reorganize the driver installation process for Satellite1 v1.0 by replacing the monolithic `02-run-chroot.sh` with a modular script structure including `02-run.sh` and `03-run-chroot.sh`, and adding a dedicated `files/` directory for driver assets.
1 parent c3ad8fd commit a1789af

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash -e
2+
3+
# disable acp
4+
mkdir -p "${ROOTFS_DIR}/etc/wireplumber/wireplumber.conf.d"
5+
install -v -m 644 files/51-disable-acp.conf "${ROOTFS_DIR}/etc/wireplumber/wireplumber.conf.d/51-disable-acp.conf"

02-stage-audiodriver-satellite1-v1.0/01-driver/02-run-chroot.sh renamed to 02-stage-audiodriver-satellite1-v1.0/01-driver/03-run-chroot.sh

File renamed without changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
monitor.alsa.rules = [
2+
{
3+
matches = [
4+
{
5+
device.name = "alsa_card.platform-soc_sound"
6+
}
7+
]
8+
actions = {
9+
update-props = {
10+
api.alsa.use-acp = false
11+
api.acp.auto-profile = false
12+
api.acp.auto-port = false
13+
}
14+
}
15+
}
16+
]

0 commit comments

Comments
 (0)