mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 16:16:21 +01:00
Compare commits
5 commits
9a0c94327a
...
134534628c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
134534628c | ||
|
|
52113c4f5c | ||
|
|
fc4c7c6ec7 | ||
|
|
744975050f | ||
|
|
bc68d15667 |
|
|
@ -15,7 +15,7 @@
|
|||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
"sd_mod"
|
||||
"rtsx_pci_sdmmc"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
"xhci_pci"
|
||||
"ahci"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
"sd_mod"
|
||||
"rtsx_pci_sdmmc"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<ThermalConfiguration>
|
||||
<Platform>
|
||||
<Platform>
|
||||
<Name>Surface Pro Intel Thermal Workaround</Name>
|
||||
<ProductName>*</ProductName>
|
||||
<Preference>QUIET</Preference>
|
||||
|
|
@ -10,18 +10,30 @@
|
|||
<TripPoints>
|
||||
<TripPoint>
|
||||
<SensorType>x86_pkg_temp</SensorType>
|
||||
<Temperature>65000</Temperature>
|
||||
<Temperature>63769</Temperature>
|
||||
<type>passive</type>
|
||||
<ControlType>SEQUENTIAL</ControlType>
|
||||
<ControlType>PARALLEL</ControlType>
|
||||
<CoolingDevice>
|
||||
<index>1</index>
|
||||
<type>rapl_controller</type>
|
||||
<influence>100</influence>
|
||||
<SamplingPeriod>10</SamplingPeriod>
|
||||
<influence> 100 </influence>
|
||||
<SamplingPeriod> 10 </SamplingPeriod>
|
||||
</CoolingDevice>
|
||||
<CoolingDevice>
|
||||
<index>2</index>
|
||||
<type>intel_pstate</type>
|
||||
<influence> 90 </influence>
|
||||
<SamplingPeriod> 10 </SamplingPeriod>
|
||||
</CoolingDevice>
|
||||
<CoolingDevice>
|
||||
<index>3</index>
|
||||
<type>intel_powerclamp</type>
|
||||
<influence> 80 </influence>
|
||||
<SamplingPeriod> 10 </SamplingPeriod>
|
||||
</CoolingDevice>
|
||||
</TripPoint>
|
||||
</TripPoints>
|
||||
</ThermalZone>
|
||||
</ThermalZones>
|
||||
</Platform>
|
||||
</Platform>
|
||||
</ThermalConfiguration>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ lib.mkIf config.hardware.librem5.customInitrdModules {
|
|||
"tps6598x"
|
||||
"xhci_hcd"
|
||||
"usbcore"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
"uas"
|
||||
"xhci_plat_hcd"
|
||||
];
|
||||
|
|
@ -56,7 +56,7 @@ lib.mkIf config.hardware.librem5.customInitrdModules {
|
|||
"tps6598x"
|
||||
"xhci_hcd"
|
||||
"usbcore"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
"uas"
|
||||
"xhci_plat_hcd"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
|
||||
initrd.availableKernelModules = [
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@
|
|||
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi4;
|
||||
initrd.availableKernelModules = [
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
"vc4"
|
||||
"pcie_brcmstb" # required for the pcie bus to work
|
||||
"pcie-brcmstb" # required for the pcie bus to work
|
||||
"reset-raspberrypi" # required for vl805 firmware to load
|
||||
]
|
||||
++ lib.optional config.boot.initrd.network.enable "genet";
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ in
|
|||
initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"usb-storage"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue