diff --git a/main/conf-t527-audio/DEBIAN/control b/main/conf-t527-audio/DEBIAN/control index d8f50ec..79dddc4 100644 --- a/main/conf-t527-audio/DEBIAN/control +++ b/main/conf-t527-audio/DEBIAN/control @@ -1,6 +1,6 @@ Package: conf-t527-audio Description: conf audio -Version: 1.0.0 +Version: 1.0.1 Maintainer: sc-bin <3335447573@qq.com> Section: free Priority: optional diff --git a/main/conf-t527-audio/DEBIAN/postinst b/main/conf-t527-audio/DEBIAN/postinst index a37614e..084e8cd 100755 --- a/main/conf-t527-audio/DEBIAN/postinst +++ b/main/conf-t527-audio/DEBIAN/postinst @@ -1,3 +1,15 @@ #!/bin/bash systemctl enable T527_enable_amixer.service +if [ -f /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf ] ;then + echo "default.conf" + sed -i "s/auto-profiles = yes/auto-profiles = no/" /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf +fi +if [ -f /etc/pulse/default.pa ] ;then + echo "default.pa 1" + echo "load-module module-alsa-sink device=hw:audiocodec sink_name=AudioCodec-Playback sink_properties=\"device.description='Audio Codec'\"" >> /etc/pulse/default.pa +fi +if [ -f /etc/pulse/default.pa ] ;then + echo "default.pa 2" + echo "load-module module-alsa-sink device=hw:hdmi sink_name=HDMI-Playback sink_properties=\"device.description='HDMI Audio'\"" >> /etc/pulse/default.pa +fi diff --git a/server/dists/bookworm/Release b/server/dists/bookworm/Release index 1335355..1b242eb 100644 --- a/server/dists/bookworm/Release +++ b/server/dists/bookworm/Release @@ -1,24 +1,24 @@ Architectures: all arm64 Codename: bookworm Components: main -Date: Thu, 19 Dec 2024 01:57:47 +0000 +Date: Thu, 19 Dec 2024 07:00:54 +0000 Description: Your description Label: Walnut Pi Origin: Walnut Pi Suite: stable MD5Sum: - 9a16eb15af2cc9de5edebf8dca8caa8e 178 Release - 0639aa868bbabc64c67eb58e74c11ca5 17543 main/binary-all/Packages + 248cf5018c6b3174e98476d206d08c7d 178 Release + 2e4b9e08b383e8c87e4043ab8b2d47fc 17543 main/binary-all/Packages 8b2a4bb98a5ba9601784a3a7f86d2909 4212 main/binary-arm64/Packages SHA1: - 0a78ac8ec3d72d15a92724cd98ea81d7d69f562f 178 Release - 1cb5cb70ce59b8de7ec85fe38228d7a9a9cccb60 17543 main/binary-all/Packages + c138bbe39f5d8d67e64426069b3dae690f73ed2f 178 Release + fcc1e3debbeb31624ed3f41adeb537cd02ad0b3f 17543 main/binary-all/Packages ecdcb56a55ce86915dbb0f7e80beddd56b3d4fd5 4212 main/binary-arm64/Packages SHA256: - 88cd817e819d5a24810d58e0a28744bdeef53f6cf5d3fdcb5fe9f0c7c566f7cf 178 Release - 92512daeeb5c6a29fbb1bc1f1dfec5b1c013d436f2fe625f70afd1048e40ddf3 17543 main/binary-all/Packages + bd752f01a03e994acdde672802d37c55ccf193c17bcd47c325e8b038b0bd30b6 178 Release + 990adc185f498aa74109bb5c45ab46ffc3532b2335c4cc8c11bd2ee44e66f365 17543 main/binary-all/Packages e2f1605d186d6096583f2408a9dd4609f48319535c4ede1177bd6ba8e5c28daa 4212 main/binary-arm64/Packages SHA512: - 9682c48c5d414955ba52d56034af32e8bd48f477139ef59403f10222cd4b3b8b5951e349b42f0ffd835606fd91c917a56072439fd08937aff765aa1d6b9e010d 178 Release - 74077b062adbfb461500855c4e806ce48bdc346a1020b8aedbf0b1b2d1e481792ca44ad5b2e0cc99c20187af5c57fae0bdad373925ad5ba4eca269436166652a 17543 main/binary-all/Packages + 56b6b379116f88f2f5adf570fb4831bf45900dfe31bd3a53ea1fe277a4d93fe4dec808ec6e7040e98bd13f82928a65294f53a2dfb0f87d283257b8edf84531d9 178 Release + 0c0818b999aca77831c22b6290915a761a93d9cbc1d7cf883aa1706cd8240372bd94c7c91d8d58793133cb91b52464b94f6c626fa8a73b61c31c65b1a8d90056 17543 main/binary-all/Packages 533b1a61a1dc08828b47e538ae9f635ba1b9d26fa241701b4c8ac319a72308b42b25e18305e531f5c74813b84a4ec18e91def8a079e7f9a0dc775d57ae10da98 4212 main/binary-arm64/Packages diff --git a/server/dists/bookworm/main/binary-all/Packages b/server/dists/bookworm/main/binary-all/Packages index 914013e..f9c6218 100644 --- a/server/dists/bookworm/main/binary-all/Packages +++ b/server/dists/bookworm/main/binary-all/Packages @@ -71,15 +71,15 @@ Priority: optional Description: setting autologin user is pi Package: conf-t527-audio -Version: 1.0.0 +Version: 1.0.1 Architecture: all Maintainer: sc-bin <3335447573@qq.com> Installed-Size: 36 -Filename: main/conf-t527-audio_1.0.0_all.deb -Size: 1198 -MD5sum: 75a0151406b68a0ffccbc50f7ed32001 -SHA1: bb4e1f28dccbc924e44695e32b2e4a94976d93b6 -SHA256: e5f7045c827d31f6ea4e51dff068dcc290db7571ef2319d6e217fa47b6365f19 +Filename: main/conf-t527-audio_1.0.1_all.deb +Size: 1432 +MD5sum: 3795b15e18c1da769daae517e290371c +SHA1: c3c2440655102de53e4d341a304225600559cccf +SHA256: 61d5d787bf93e65387cbefbf3fc15e1a982b8ef29985e93ba809e768922532cd Section: free Priority: optional Description: conf audio diff --git a/server/main/conf-t527-audio_1.0.1_all.deb b/server/main/conf-t527-audio_1.0.1_all.deb new file mode 100644 index 0000000..e5083e2 Binary files /dev/null and b/server/main/conf-t527-audio_1.0.1_all.deb differ diff --git a/wpi-update b/wpi-update index 30c124c..887120f 160000 --- a/wpi-update +++ b/wpi-update @@ -1 +1 @@ -Subproject commit 30c124c3d97efb6426e5781a712529f261ffa98a +Subproject commit 887120fbc46d4143ee5a5c0e3333454f5381f3eb