File tree Expand file tree Collapse file tree 7 files changed +61
-4
lines changed
13-inch/amd-ai-300-series
desktop/amd-ai-max-300-series
microsoft/surface/common/kernel Expand file tree Collapse file tree 7 files changed +61
-4
lines changed Original file line number Diff line number Diff line change 133
133
framework-13-7040-amd = import ./framework/13-inch/7040-amd ;
134
134
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series ;
135
135
framework-16-7040-amd = import ./framework/16-inch/7040-amd ;
136
+ framework-desktop-amd-ai-max-300-series = import ./framework/desktop/amd-ai-max-300-series ;
136
137
friendlyarm-nanopc-t4 = import ./friendlyarm/nanopc-t4 ;
137
138
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s ;
138
139
focus-m2-gen1 = import ./focus/m2/gen1 ;
Original file line number Diff line number Diff line change 4
4
../common
5
5
../../../common/cpu/intel
6
6
] ;
7
+
8
+ # If this module isn't built into the kernel, we need to make sure it loads
9
+ # before soc_button_array. Otherwise the tablet mode gpio doesn't work.
10
+ # If correctly loaded, dmesg should show
11
+ # input: gpio-keys as /devices/platform/INT33D3:00
12
+ boot . initrd . kernelModules = [ "pinctrl_tigerlake" ] ;
7
13
}
Original file line number Diff line number Diff line change 10
10
../common
11
11
../common/amd.nix
12
12
] ;
13
- config . hardware . framework . laptop13 . audioEnhancement . rawDeviceName =
14
- lib . mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo" ;
13
+ config = {
14
+ hardware . framework . laptop13 . audioEnhancement . rawDeviceName =
15
+ lib . mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo" ;
16
+
17
+ # suspend works with 6.15
18
+ boot . kernelPackages = lib . mkIf ( lib . versionOlder pkgs . linux . version "6.15" ) (
19
+ lib . mkDefault pkgs . linuxPackages_latest
20
+ ) ;
21
+ } ;
15
22
}
Original file line number Diff line number Diff line change
1
+ # [ Framework Desktop] ( https://frame.work/desktop )
2
+
3
+ ## Kernel version
4
+
5
+ The recommended version is 6.15 or newer, it has good GPU and also EC firmware support (for sensors and ARGB).
6
+ The lowest recommended version is 6.14. It has good GPU support already.
7
+ The absolute lowest that runs okay on headless systems is 6.11, but the GPU is not fully supported yet.
8
+
9
+ ## Updating Firmware
10
+
11
+ First put enable ` fwupd `
12
+
13
+ ``` nix
14
+ services.fwupd.enable = true;
15
+ ```
16
+
17
+ Then run
18
+
19
+ ``` sh
20
+ $ fwupdmgr update
21
+ ```
22
+
23
+ - [ Latest Update] ( https://fwupd.org/lvfs/devices/work.frame.Desktop.RyzenAIMax300.BIOS.firmware )
Original file line number Diff line number Diff line change
1
+ {
2
+ config ,
3
+ lib ,
4
+ pkgs ,
5
+ ...
6
+ } :
7
+ {
8
+ imports = [
9
+ ../../../common/cpu/amd
10
+ ../../../common/cpu/amd/pstate.nix
11
+ ../../../common/gpu/amd
12
+ ../../../common/pc/ssd
13
+ ../../framework-tool.nix
14
+ ] ;
15
+
16
+ # 6.14 and above have good GPU support
17
+ boot . kernelPackages = lib . mkIf ( lib . versionOlder pkgs . linux . version "6.14" ) (
18
+ lib . mkDefault pkgs . linuxPackages_latest
19
+ ) ;
20
+ }
Original file line number Diff line number Diff line change 9
9
{
10
10
name = "microsoft-surface-patches-linux-${ version } " ;
11
11
patch = null ;
12
- extraStructuredConfig = with kernel ; {
12
+ structuredExtraConfig = with kernel ; {
13
13
STAGING_MEDIA = yes ;
14
14
15
15
##
Original file line number Diff line number Diff line change 9
9
{
10
10
name = "microsoft-surface-patches-linux-${ version } " ;
11
11
patch = null ;
12
- extraStructuredConfig = with kernel ; {
12
+ structuredExtraConfig = with kernel ; {
13
13
STAGING_MEDIA = yes ;
14
14
##
15
15
## Surface Aggregator Module
You can’t perform that action at this time.
0 commit comments