From 3620e3713e047f3a7c56d54ac8de135434548ebe Mon Sep 17 00:00:00 2001 From: Sample Text Date: Thu, 10 Jul 2025 12:57:28 +0500 Subject: [PATCH] device-clockworkpi-uconsole-rpi: fix speakers regression The speakers are not working on CM4 with the current configuration. usercfg.txt was misconfigured when CM3 and CM5 were added Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6760 [ci:skip-build]: already built successfully in CI --- device/testing/device-clockworkpi-uconsole-rpi/APKBUILD | 4 ++-- device/testing/device-clockworkpi-uconsole-rpi/usercfg.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/device/testing/device-clockworkpi-uconsole-rpi/APKBUILD b/device/testing/device-clockworkpi-uconsole-rpi/APKBUILD index 57de26d87..68eddd90d 100644 --- a/device/testing/device-clockworkpi-uconsole-rpi/APKBUILD +++ b/device/testing/device-clockworkpi-uconsole-rpi/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Federico Amedeo Izzo pkgname=device-clockworkpi-uconsole-rpi pkgdesc="Clockwork Tech ClockworkPi uConsole with Raspberry Pi compute modules" -pkgver=6 +pkgver=7 # commit to fork of kernel with drivers maintained by ak-rex _commit=d340a0416d34bf94591b45b50c5538aecbf5b09b pkgrel=0 @@ -159,7 +159,7 @@ sha512sums=" a47b3819274fca4a5c554923391d73f98ff0d4e7b78481e288e1ea401ef8e71287ad8845940ad63e482bb205dcad8b2331a3a08b9d838c2a8ec1ec18b8d18dc9 clockworkpi-linux-d340a0416d34bf94591b45b50c5538aecbf5b09b.tar.gz ca5a62f611318cfdb095728c7b473aa85e30e965222ca740d6ad8fa372eba7adc8ca62edc770da19375faa228cc0c8718234f2f07ea72a2db0d77bfbc6924546 deviceinfo d97e603ef83626ec12a2503035c8de4d3d4d548510b85b26b07382736c334ae0c420e6811612fa83795eb8aa349dae29ec9944708d57cdd04cce09db3c32de23 modules-initfs -a1c3fed1b525e6ebef96d2c9b626ec84e9670451c1238b3d4a532f1e15c4945d4ce8bbd56da037a6d6026307441498ed34b165d7358d30062adea4a7a7e6e43c usercfg.txt +bc2bfea04073895f02e21d9248eb3f77910e95022d65bab7d80fd12484a6523d670f81d0aae2f4e811b7ab29f8537d73d87891572c212e647c69f1e98916685b usercfg.txt 7e5505cb07d5b4a81bd28443d508336b5c547356538f1c06f91ed93ad0d7d456d4f74f1d24df5a2e08c17e74f0a66607352ac4874e967e9a91dfec9522d2d58d 95-vchiq-permissions.rules 15cde27e41304f988009e3a1cbc4bb6a85b9d09538c727e9c22e1ec8a45d025b4be5d0064d7d7bba1988006ad291c06c8aec8bcc974f0689fbd0d187f8dc6979 xorg.conf 51a1fc5ba9336e784fe8dfb97eed8d3f51fd181a9a76c5266e227e1670aa423fdaec04b869795a2abd5afca6d472a1f107f30a0f0efd242ee16c8910773ddcc2 driver-makefile.in diff --git a/device/testing/device-clockworkpi-uconsole-rpi/usercfg.txt b/device/testing/device-clockworkpi-uconsole-rpi/usercfg.txt index 9db065482..a6763b88c 100644 --- a/device/testing/device-clockworkpi-uconsole-rpi/usercfg.txt +++ b/device/testing/device-clockworkpi-uconsole-rpi/usercfg.txt @@ -4,7 +4,6 @@ dtoverlay=clockworkpi-uconsole-cm3 dtoverlay=vc4-kms-v3d dtparam=spi=on dtoverlay=spi-gpio35-39 -gpio=11=op,dh enable_uart=1 [pi4] @@ -34,6 +33,8 @@ dtparam=audio=on dtoverlay=audremap,pins_12_13 dtoverlay=dwc2,dr_mode=host dtparam=ant2 +# enables built-in speakers +gpio=11=op,dh initramfs initramfs ##only edit the section of the pi you have, other section will be ignored.