-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): merge changes from RS v7.2.2 and BR v1.17.6 in to ope…
…ntrons-develop
- Loading branch information
Showing
5 changed files
with
119 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
board/opentrons/ot2/rootfs-overlay/etc/systemd/system/alsa-initial-setup.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Creates alsactl's state saving directory if necessary, and uses the lack of such | ||
# a directory as an indication that this is a first-run and we should tweak up the | ||
# volume. | ||
[Unit] | ||
Description=Create ALSA config file and set initial volume | ||
ConditionPathExists=!/var/lib/alsa/asound.state | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/usr/bin/mkdir -p /var/lib/alsa/ | ||
ExecStart=/usr/bin/amixer set PCM 100% | ||
ExecStart=/usr/bin/amixer set PCM unmute | ||
ExecStart=/usr/sbin/alsactl store | ||
Before=alsa-restore.service | ||
|
||
[Install] | ||
WantedBy=alsa-restore.service | ||
WantedBy=sound.target |
1 change: 1 addition & 0 deletions
1
...2/rootfs-overlay/etc/systemd/system/alsa-restore.service.wants/alsa-initial-setup.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../alsa-initial-setup.service |
1 change: 1 addition & 0 deletions
1
...trons/ot2/rootfs-overlay/etc/systemd/system/sound.target.wants/alsa-initial-setup.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../alsa-initial-setup.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters