Commit graph

115 commits

Author SHA1 Message Date
Dima
31c3d206de Framework 13 AI 300: Disabling AMD ACP sound card
This issue became more obvious due to alsa-ucm profiles horribly
misassigning a non-existent device as the default microphone and
juggling profiles for the devices in a very weird way recently.

The first hotfix was this: https://github.com/NixOS/nixos-hardware/pull/1732

But upon more discussion it seems to be a Framework bios bug that
falsely reports an AMD ACP as exitent and wired up via ACPI.

Until this is fixed at the source, the best way foward is to just
blacklist the module.

I have tried this change now on 4 devices and and feel confident enough
about it working well for most users.

See this discussion for all the details: https://github.com/NixOS/nixos-hardware/issues/1603
2026-01-25 01:35:45 +01:00
Dmitry
6388e5a77b
Address stylistic suggestions 2025-12-31 09:59:50 +00:00
Dmitry
838481adb5
Update README for nix-shell command usage 2025-12-30 11:34:29 +00:00
Dmitry
d31d8077bb
Revise README for AMD AI 300 Series modules
Updated README to reflect changes in module recommendations and added instructions for hybrid graphics setup.
2025-12-30 11:34:29 +00:00
Jörg Thalheim
7a9a613a3e
Merge pull request #1709 from alirezamirsepassi/patch-1
audio(framework-13-amd-ai-300): update default rawDeviceName
2025-12-30 04:25:07 +00:00
Alireza Mirsepassi
59761f9b5e
audio(framework-13-amd-ai-300): update default rawDeviceName
Update the default `rawDeviceName` for the Framework 13 AMD AI 300 series.
Recent UCM profile updates (or kernel driver changes) now cause the device
to expose a HiFi profile sink name (`HiFi__Speaker__sink`) instead of the
generic `analog-stereo` name.

This ensures the audio enhancement effects correctly attach to the speaker
sink out of the box.

Device name changed from:
`alsa_output.pci-0000_c1_00.6.analog-stereo`
to:
`alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink`
2025-12-27 16:10:22 +01:00
Ryan Trinkle
26043a0950 framework-16-amd-ai-300-series: mitigate various graphics issues 2025-12-25 20:45:22 -04:00
Jörg Thalheim
fd83b9479c framework-16-amd-ai-300-series: add nvidia submodule
Add a dedicated submodule for Framework Laptop 16 AMD AI 300 Series with
NVIDIA dGPU (RTX 5070). This provides hybrid graphics configuration with
PRIME offload, allowing the AMD iGPU to run by default for better battery
life while making the NVIDIA dGPU available on demand via nvidia-offload.

Exposed as nixosModules.framework-16-amd-ai-300-series-nvidia

Co-authored-by: Daniel Schaefer <dhs@frame.work>
2025-11-28 11:57:31 +01:00
Jörg Thalheim
43ffe9ac82
Merge pull request #1580 from NixOS/private-flake
Refactor tests to load flake inputs with flake-compat
2025-10-30 12:26:15 +00:00
Jörg Thalheim
e07b1618c3
Merge pull request #1568 from nmouha/patch-1
framework/13-inch/intel-core-ultra-series1: revert #1358 (fix intel_vpu firmware error -2)
2025-10-30 11:46:27 +00:00
Jörg Thalheim
6ec1e82182 format nix code after nixfmt update 2025-10-30 12:39:05 +01:00
Jörg Thalheim
46ab381a8c
Merge branch 'master' into patch-1 2025-10-30 12:30:42 +01:00
r-vdp
e11482075d
framework/kmod: remove compatibility with Linux version < 6.10
Upstream changes broke the checks that we had.
By now we have 6.12 as the LTS, and 24.05 went out of support, so I
think we don't need to support this anymore.
Anyone still on such old kernel versions, can apply the patch manually
if needed.
2025-10-30 10:54:55 +01:00
rti
b27995044c fix: enable enableRedistributableFirmware on framework 13 intel core 2025-10-23 15:18:06 +00:00
Jörg Thalheim
c362a52136
Merge pull request #1592 from FrameworkComputer/framework16-ai300
Add Framework Laptop 16 AMD AI 300 Series
2025-09-03 18:38:21 +00:00
Jörg Thalheim
a65b650d69
Merge pull request #1590 from FrameworkComputer/fw16-nomicjack
framework 16: Remove headset quirk
2025-08-26 21:50:47 +00:00
Daniel Schaefer
3a4da5f8c1 framework: Enable fwupd by default
Users should keep their firmware (not just BIOS) up to date.
Framework 13 Intel 11-13th Gen have some components that can't be
updated with fwupd, so some BIOS versions are better to be installed
through the EFI shell or Windows.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-27 01:11:13 +08:00
Daniel Schaefer
cd3d24b038 Add Framework Laptop 16 AMD AI 300 Series
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-27 00:50:53 +08:00
Daniel Schaefer
c13241f1c0 framework 16: Remove headset quirk
Framework 16 does not have a built-in headphone jack, this is not
needed.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-27 00:30:49 +08:00
0x4A6F
26ed7a0d4b
Merge pull request #1552 from FrameworkComputer/framework-desktop
framework: Add Framework Desktop
2025-08-07 10:54:08 +00:00
0x4A6F
cd88704818
Merge pull request #1551 from FrameworkComputer/framework12-tabletmode
framework/12-inch: Fix tabletmode
2025-08-07 10:53:29 +00:00
Daniel Schaefer
df02f4f16a framework/12-inch: Fix tabletmode on some kernels
NixOS kernels don't have pinctrl_tigerlake built-in, we need to make
sure it loads before soc_button_array. Adding it to the initrd ensures
that.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2025-08-07 18:09:04 +08:00
Daniel Schaefer
659b41d59c framework/desktop: Add minimum kernel version
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-07 18:07:43 +08:00
Daniel Schaefer
9157552825 framework: Add Framework Desktop
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-07 18:07:18 +08:00
Nicky Mouha
8972e6538b
framework/13-inch/intel-core-ultra-series1: revert #1358 (fix intel_vpu firmware error -2) 2025-08-06 13:04:39 -04:00
0x4A6F
547c96d797
framework-amd-ai-300-series: mkDefault boot.kernelPackages 2025-08-04 12:42:15 +02:00
0x4A6F
d99ca4e5f4
framework-amd-ai-300-series: bump kernel to latest for suspend support 2025-08-03 14:07:00 +02:00
Anna Oake
95ee2804d7 framework-intel-core-ultra-series1: preset device name for audio enhancement 2025-07-15 13:31:45 +02:00
Andre
51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04:00
spaceoden
4165eb0f79
fix typo in framework audio.nix 2025-05-21 11:18:34 -04:00
Daniel Schaefer
a9a7323a06 framework: Add framework12
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-05-20 09:35:06 +08:00
Peter Bittner
7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00
Connor Prussin
c06d50adeb Add Framework AMD AI 300 Series 2025-04-29 19:34:43 +00:00
Léana 江
380ed15bcd framework: fix TRRS headphones modprobe 2025-03-22 08:20:01 +00:00
Nicky Mouha
9b49e20140
framework/13-inch/intel-core-ultra-series1: add check for hardware.enableRedistributableFirmware (#1367) 2025-02-24 08:54:44 +01:00
Nicky Mouha
2eccff41ba framework/13-inch/intel-core-ultra-series1: Add Intel NPU firmware 2025-02-06 04:36:59 +00:00
Jörg Thalheim
da7014af5d Revert "framework/13-inch/12th-gen-intel: add hdmi audio fix"
This reverts commit 8b5ef47338.

fixes https://github.com/NixOS/nixos-hardware/issues/1362

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2025-02-06 04:06:41 +00:00
Jörg Thalheim
9bdd53f590
Merge pull request #1332 from mkg20001/fwaudio
framework/13-inch/12th-gen-intel: add hdmi audio fix
2025-02-04 10:02:23 +07:00
Sandro
cbefe8bde7 Fix doc build by adding missing defaultText 2025-01-24 20:33:48 +00:00
Maciej Krüger
8b5ef47338
framework/13-inch/12th-gen-intel: add hdmi audio fix
See https://community.frame.work/t/hdmi-audio-output/9523/23 for more details

Tested on framework 13th gen
Would need somebody to test this on 12th gen aswell
2025-01-21 20:45:47 +01:00
Jörg Thalheim
ce98bebf0f
Merge pull request #1029 from xeniarose/framework-amd-kmod
framework: refactor kmod for improved AMD support
2025-01-20 08:25:41 +01:00
Jörg Thalheim
b98df1827a framework/13-inch/7040-amd: remove fprint workaround
fixes https://github.com/NixOS/nixos-hardware/issues/1256
2025-01-07 07:29:08 +00:00
xenia
4c0d42b582 framework: refactor kmod for improved AMD support
Changes several aspects of framework-laptop-kmod support:
- default value has been changed to true when NixOS >= 24.05 and
  linux kernel >=6.10, and false otherwise
- adds required patch for framework AMD enablement when kernel <6.10
- add README section describing usage
2024-12-01 23:04:16 -05:00
Miklós Tóth (Mike)
672ac2ac86 framework: Add hardware.framework.laptop13.audioEnhancement option
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-11-16 22:44:58 +00:00
Daniel Schaefer
ccc638b24f framework: Add Intel Core Ultra Series 1
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2024-11-16 06:33:53 +00:00
Julian Stecklina
f6581f1c3b framework: workaround display issues on AMD GPUs 2024-11-12 09:27:24 +00:00
Miklós Tóth (Mike)
f3049523c0
framework: Fix kernel version comparison for preventWakeOnAC
The comparison previously used the default kernel's version instead of the selected kernel's version.
2024-11-10 18:13:24 +01:00
Jörg Thalheim
be00f01542 framework/bluetooth.nix: add EOL remark 2024-11-02 03:52:24 +00:00
Adam Dinwoodie
e4ad9ce38f Framework: add workaround for Bluetooth device issues
Framework have published a workaround for a bug that affects the
MediaTek Bluetooth and Wi-Fi cards used in their laptops on kernel
version 6.11.  Their workaround assumes a writable /etc/systemd
directory, so reimplement the workaround for NixOS.

For the Framework version of the workaround, see:
eab0148ae8/hibernation/kernel-6-11-workarounds
2024-11-02 03:52:24 +00:00
Adam Dinwoodie
25e16f6c66 Framework 16: udev rules for keyboard config
Add a udev rule to allow the keyboard modules to be reconfigured.
2024-09-29 12:14:40 +00:00