linuxPackages.{imx258,rt5640}: prefix name with "megi-"

to differentiate with other (future) customized versions of these modules
This commit is contained in:
2025-07-19 09:29:33 +00:00
parent bde9114ce9
commit 7e882212c4
9 changed files with 4 additions and 4 deletions

View File

@@ -196,12 +196,12 @@ in
config.boot.kernelPackages.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01
#v XXX(???? - 2025-07-18): mainline imx258 camera driver has some power-on issues on PPP (imx258 1-001a: Error reading reg 0x0016: -6)
#v XXX(2025-07-18): megi's imx258 breaks mainline audio, though
# config.boot.kernelPackages.imx258
# config.boot.kernelPackages.megi-imx258
#v optionally use megi's rt5640 sound driver;
#v XXX(2025-07-18): when using megi's imx258, the mainline rt5640 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
# config.boot.kernelPackages.megi-rt5640
];
# default nixos behavior is to error if a kernel module is provided by more than one package.

View File

@@ -12,7 +12,7 @@
}:
stdenv.mkDerivation {
pname = "imx258";
pname = "megi-imx258";
version = "0-unstable-2024-09-15";
src = ./.;

View File

@@ -13,7 +13,7 @@
}:
stdenv.mkDerivation {
pname = "rt5640";
pname = "megi-rt5640";
version = "0-unstable-2024-02-21";
src = ./.;