moby: deploy my rk818-charger kernel module
it needs to be manually probed, but after that i *do* get current measurement, just no capacity
This commit is contained in:
@@ -118,7 +118,7 @@ in
|
|||||||
|
|
||||||
boot.extraModulePackages = [
|
boot.extraModulePackages = [
|
||||||
# pkgs.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01
|
# pkgs.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01
|
||||||
# config.boot.kernelPackages.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01
|
config.boot.kernelPackages.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
|
@@ -384,14 +384,12 @@ linux_latest.override {
|
|||||||
name = "make-module-for-out-of-tree";
|
name = "make-module-for-out-of-tree";
|
||||||
patch = null;
|
patch = null;
|
||||||
extraStructuredConfig = with lib.kernel; {
|
extraStructuredConfig = with lib.kernel; {
|
||||||
# MFD_CORE = module;
|
MFD_RK8XX = no;
|
||||||
# MFD_ALTERA_SYSMGR = module;
|
MFD_RK8XX_I2C = no;
|
||||||
# MFD_RK8XX = no;
|
MFD_RK8XX_SPI = no; #< necessary for MFD_RK8XX=... to apply
|
||||||
# MFD_RK8XX_I2C = no;
|
# MFD_RK8XX = module;
|
||||||
# MFD_RK8XX_SPI = no; #< necessary for MFD_RK8XX=... to apply
|
# MFD_RK8XX_I2C = module;
|
||||||
MFD_RK8XX = module;
|
# MFD_RK8XX_SPI = module;
|
||||||
MFD_RK8XX_I2C = module;
|
|
||||||
MFD_RK8XX_SPI = module;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user