23 Commits
Author SHA1 Message Date
Ramses 0953bb1a60 Merge pull request #1992 from r-vdp/amdgpu-dcdebugmask-options
common/gpu/amd: add hardware.amdgpu.dcDebugMask options
2026-10-02 13:35:22 +00:00
r-vdp 9408ef97db common/gpu/amd: add hardware.amdgpu.dcDebugMask options
This allows to combine several such options to get the right
hex value without any repeated kernel params.
Before this, the framework AI 300 got both 0x10 and 0x410 on
the cmdline with the order depending on the module system eval
order.

This also allows users to re-enable PSR on framework machines.
2026-08-17 10:48:17 +02:00
Steven Allen e7358cddb9 framework/13-inch: fix enhanced audio device priority
On framework laptops, ensure that the "enhanced audio" sink for the
laptop speakers has a lower priority than bluetooth speakers (by giving
it the same priority as the laptop speakers, 1009 [1]). Bluetooth
speakers have a priority of 1010 [2] by default.

NOTE: the existing comment in the code claiming that higher values mean
lower priority is incorrect; lower priorities values mean lower priority.

[1] https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/7fa44ef8d0b2f603bd826d399718cef8cf6a800a/src/scripts/monitors/alsa.lua#L218
[2] https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/7fa44ef8d0b2f603bd826d399718cef8cf6a800a/src/scripts/monitors/bluez.lua#L275
2026-06-16 09:37:55 -07:00
Jörg Thalheim b9130a10f4 Merge pull request #1879 from FrameworkComputer/framework-audio
framework: audio tuning is for classic chassis only
2026-05-16 15:27:39 +00:00
Daniel Schaefer b16dff6d15 framework: audio tuning is for classic chassis only
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:39:38 +08:00
Daniel Schaefer 8db5dd4f10 framework: 6.11 remove bluetooth workaround
6.11 is EOL, see: https://kernel.org/

The workaround, is no longer needed, see:
https://github.com/FrameworkComputer/linux-docs/commit/ff5c08e826a6067cd1ac41f87a87ddda0c88532c

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:20:40 +08:00
Jörg Thalheim 6ec1e82182 format nix code after nixfmt update 2025-10-30 12:39:05 +01: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
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
Léana 江 380ed15bcd framework: fix TRRS headphones modprobe 2025-03-22 08:20:01 +00:00
Miklós Tóth (Mike)andJörg Thalheim 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
Julian Stecklina f6581f1c3b framework: workaround display issues on AMD GPUs 2024-11-12 09:27: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:
https://github.com/FrameworkComputer/linux-docs/tree/eab0148ae8223eddaed8f0cd4cd73f9399ecdb65/hibernation/kernel-6-11-workarounds
2024-11-02 03:52:24 +00:00
pinage404 e148ccbecb framework: install framework-tool 2024-05-06 08:28:51 +00:00
Sebastian Sellmeier 8cde8633d4 framework/12th-gen-intel: Refactor module
https://github.com/NixOS/nixos-hardware/pull/897
https://github.com/NixOS/nixos-hardware/pull/846
https://github.com/NixOS/nixos-hardware/issues/894
2024-04-23 15:44:18 +02:00
Sebastian Sellmeier f8e89e4e84 framework: Add framework-laptop-kmod as default for NixOS >= 24.05 2024-04-23 15:44:18 +02:00
Tom Vincent 03e0033603 framework amd: add pkgs import 2024-01-05 08:59:57 +00:00
Tom Vincent 3a6288ef83 framework amd: apply headset mic fix on older kernels 2024-01-05 08:59:57 +00:00
Archit Gupta eb4e574360 framework intel: Disable cros-usbpd-charger 2023-12-03 10:04:19 +00:00
Reed Riley 4461209624 FW13 7040: workaround for SuspendThenHibernate bug 2023-11-29 09:33:05 +00:00
Kevin J Hoerr a14a7746f9 Fix module paths for common framework modules 2023-11-11 16:25:20 -05:00
Kevin J Hoerr de0c9310d3 Move common modules into folder 2023-11-11 10:42:55 -05:00