From d37543e9e980069a19f2d887ec30e9899a582a35 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 19 Jul 2025 03:40:30 +0000 Subject: [PATCH] pinephone-pro: ship megi's rt5640 driver longer term, i should switch back to the kernel driver, but first i gotta figure out why it fails... --- hosts/modules/hal/pine64-pinephone-pro/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/modules/hal/pine64-pinephone-pro/default.nix b/hosts/modules/hal/pine64-pinephone-pro/default.nix index 766df3685..46d1664a8 100644 --- a/hosts/modules/hal/pine64-pinephone-pro/default.nix +++ b/hosts/modules/hal/pine64-pinephone-pro/default.nix @@ -183,7 +183,11 @@ in boot.extraModulePackages = [ config.boot.kernelPackages.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01 config.boot.kernelPackages.imx258 #< mainline imx258 camera driver has some power-on issues on PPP (imx258 1-001a: Error reading reg 0x0016: -6) - # config.boot.kernelPackages.rt5640 #< optionally use megi's rt5640 sound driver, but mainline driver seems to mostly play nice with imx258 these days + #v optionally use megi's rt5640 sound driver; + #v XXX(2025-07-18): mainline driver errors: `rt5640: 1-001c: ASoC error (-22): at snd_soc_dai_set_sysclk() on rt5640-aif1` + #v prior to this mainline driver was working fine, alongside camera/imx258, for half a year. + #v although this fixes the dmesg errors, it causes pipewire/wireplumber to crash-loop. + config.boot.kernelPackages.rt5640 ]; # default nixos behavior is to error if a kernel module is provided by more than one package.