Skip to content

Commit

Permalink
feat:raspovos-audio-setup (#128)
Browse files Browse the repository at this point in the history
* feat:raspovos-audio-setup

* feat:raspovos-audio-setup
  • Loading branch information
JarbasAl authored Jan 17, 2025
1 parent 8ca7545 commit db3c071
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build_raspOVOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,22 @@ chmod +x /usr/libexec/ovos-i2csound

ln -s /etc/systemd/system/i2csound.service /etc/systemd/system/multi-user.target.wants/i2csound.service

echo "Installing raspovos-audio-setup..."
apt-get install -y --no-install-recommends pulseaudio-utils
git clone https://github.com/TigreGotico/raspovos-audio-setup /tmp/raspovos-audio-setup
cp "/tmp/raspovos-audio-setup/autoconfigure_soundcard.service" "/etc/systemd/system/autoconfigure_soundcard.service"
cp "/tmp/raspovos-audio-setup/combine_sinks.service" "/etc/systemd/system/combine_sinks.service"
cp "/tmp/raspovos-audio-setup/ovos-audio-setup" "/usr/local/bin/ovos-audio-setup"
cp "/tmp/raspovos-audio-setup/update-audio-sinks" "/usr/libexec/update-audio-sinks"
cp "/tmp/raspovos-audio-setup/soundcard_autoconfigure" "/usr/libexec/soundcard_autoconfigure"
cp "/tmp/raspovos-audio-setup/usb-autovolume" "/usr/libexec/usb-autovolume"
chmod +x "/usr/local/bin/ovos-audio-setup"
chmod +x "/usr/libexec/update-audio-sinks"
chmod +x "/usr/libexec/soundcard_autoconfigure"
chmod +x "/usr/libexec/usb-autovolume"

ln -s /etc/systemd/system/autoconfigure_soundcard.service /etc/systemd/system/multi-user.target.wants/autoconfigure_soundcard.service

echo "Installing admin phal..."
pip install sdnotify ovos-bus-client ovos-phal ovos-PHAL-plugin-system -c $CONSTRAINTS --break-system-packages

Expand Down
1 change: 1 addition & 0 deletions tuning/.cli_login.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ echo " ovos-restart Restart all OVOS-related systemd services"
echo " ovos-server-status Check live status of OVOS public servers"
echo " ovos-manual OVOS technical manual in your terminal"
echo " ovos-skills-info Skills documentation in your terminal"
echo " ovos-audio-setup Utility to configure audio"
echo " ovos-help Show this message"
echo

0 comments on commit db3c071

Please sign in to comment.