diff --git a/odysseus_tree/board/tpu/config.txt b/odysseus_tree/board/tpu/config.txt index b244504..209eb85 100755 --- a/odysseus_tree/board/tpu/config.txt +++ b/odysseus_tree/board/tpu/config.txt @@ -76,3 +76,5 @@ hdmi_force_hotplug:1=1 # for HDMI 1 framebuffer_priority=7 + +dtparam=audio=on diff --git a/odysseus_tree/configs/raspberrypi4_64_tpu_defconfig b/odysseus_tree/configs/raspberrypi4_64_tpu_defconfig index 3951b95..b55c133 100644 --- a/odysseus_tree/configs/raspberrypi4_64_tpu_defconfig +++ b/odysseus_tree/configs/raspberrypi4_64_tpu_defconfig @@ -24,6 +24,9 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi- BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_PACKAGE_LINUX_TOOLS_GPIO=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y BR2_PACKAGE_XZ=y BR2_PACKAGE_ZSTD=y BR2_PACKAGE_GIT=y @@ -55,6 +58,7 @@ BR2_PACKAGE_LM_SENSORS=y BR2_PACKAGE_PPS_TOOLS=y BR2_PACKAGE_RASPI_GPIO=y BR2_PACKAGE_PYTHON_SERIAL=y +# BR2_PACKAGE_ALSA_LIB_RAWMIDI is not set BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_OPENSSL=y BR2_PACKAGE_PIXMAN=y @@ -74,6 +78,7 @@ BR2_PACKAGE_IPERF3=y BR2_PACKAGE_IPROUTE2=y BR2_PACKAGE_IPUTILS=y BR2_PACKAGE_IW=y +BR2_PACKAGE_LINPHONE=y BR2_PACKAGE_WIRELESS_REGDB=y BR2_PACKAGE_WPA_SUPPLICANT=y BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y diff --git a/odysseus_tree/overlays/rootfs_overlay_tpu/etc/init.d/S99linphonecsh b/odysseus_tree/overlays/rootfs_overlay_tpu/etc/init.d/S99linphonecsh new file mode 100755 index 0000000..b823b08 --- /dev/null +++ b/odysseus_tree/overlays/rootfs_overlay_tpu/etc/init.d/S99linphonecsh @@ -0,0 +1,34 @@ +#!/bin/sh + +start() { + printf "Starting linphone with settings " + linphonecsh init + sleep 1s + linphonecsh generic "autoanswer enable" + linphonecsh generic "firewall none" +} +stop() { + printf "Stopping linphone" + linphonecsh exit +} +restart() { + stop + start +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + restart + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $?