Commit graph

376 commits

Author SHA1 Message Date
kurogeek 6ed5521636 thinkpad-t14-gen1: add a kernel param for touchpad to work properly 2024-08-10 16:40:58 +00:00
Guanran Wang d3c993c851 Lenovo ThinkPad X1 (12th Gen): init 2024-07-25 12:45:38 +00:00
mexisme 5bd0371d3f Create lenovo-yoga-7-14ARH7-amdgpu and lenovo-yoga-7-14ARH7-nvidia entries
- Previous attr-set style providing "amdgpu" and "nvidia" is broken by PR #1046
- Add deprecation assertion for lenovo-yoga-7-14ARH7
2024-07-25 09:35:27 +00:00
Arne Cuperus b501c5fbf6 Add configuration for Lenovo IdeaPad Gaming 3 15ach6 2024-07-24 16:36:32 +00:00
mexisme 405b654893 Add Lenovo Thinkpad T14 Gen5
- Which is basically the same as Gen4 ...
2024-07-23 17:03:44 +00:00
jjtt 108f27f71e Remove BTRFS related setting
The note about BTRFS has been removed from the linked Arch wiki page in January 2021 with a comment:

> Removing note about problems with Btrfs and ALPM, since issues have been fixed in the kernel (4.15 -> https://www.spinics.net/lists/linux-btrfs/msg101833.html))

See: https://wiki.archlinux.org/index.php?title=TLP&oldid=650059
2024-07-18 21:58:17 +03:00
toastal 9a187879f4
lenovo-thinkpad-z13-gen2: move to asound.conf
`sound.*` was removed upstream in Nixpkgs
2024-07-18 14:03:33 -03:00
Lyndon Sanche ba8294c0a1 common: Move Intel generation-specific config from cpu to gpu
These modules only included gpu configuration, so belong in that
location.
2024-07-09 09:05:35 +00:00
Tobias Kündig 00f9c4bb06 Fix Lenovo Thinkpad T14s not powering off 2024-07-08 09:00:58 +00:00
Lyndon Sanche 231274268f gpu/amd: Remove loadInInitrd option
Option is now in nixpkgs under `hardware.amdgpu.initrd.enable` as of
NixOS/nixpkgs@6a0b6a6b74
2024-06-29 07:55:37 +00:00
me00001 3980e7816c
enable bluetooth support for Yoga 6 13ALC6. (#1013)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-06-28 07:30:54 +02:00
Jörg Thalheim b7d8d5c788 lenovo/yoga/7/14ARH7: remove redundant vdpau packages
amd doesn't need them and nvidia already includes them
2024-06-26 14:50:27 +00:00
Jörg Thalheim ae13b3761c lenovo/yoga/6/13ALC6: drop video acceleration driver
Those are not useful for AMD.
According to https://wiki.nixos.org/wiki/Accelerated_Video_Playback all
we need is enabling opengl drivers.
2024-06-26 14:50:27 +00:00
Jörg Thalheim 584a5e5518 fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
toastal cc634b69c8 remove driSupport, opengl → graphics 2024-06-21 16:38:07 +00:00
Jörg Thalheim 083823b790 gpu/amd: drop hardware.amdgpu.opencl option
This now conflicts with nixpkgs.
2024-06-20 14:48:13 +00:00
Ayoub NASR cde8f7e11f Lenovo 16ACH6H: use zenpower kernel module 2024-06-16 14:33:34 +00:00
K900 291c3ee610 treewide: drop hardware.amdgpu.amdvlk option
This is now provided in nixpkgs (see https://github.com/NixOS/nixpkgs/pull/318175).
2024-06-13 09:51:03 +03:00
Arthur Rump 58b52b0dd1 Add configuration for Lenovo IdeaPad 5 Pro 16ACH6 2024-06-10 04:55:29 +00:00
xtrm d664fb04de add Lenovo IdeaPad 3 15alc6
Signed-off-by: xtrm <oss@xtrm.me>
2024-05-28 07:25:21 +00:00
Andre 888d915fe8 Update readme for 16arha7 2024-05-26 08:34:32 +00:00
Andre 816528f00e Add kernel version check for Lenovo 16ARHA7 speaker fix 2024-05-26 08:34:32 +00:00
Tad Fisher e85c7a78d2 lenovo/thinkpad/t14/amd/gen3: enable amd_pstate 2024-05-19 17:50:52 +00:00
Tad Fisher 81f1457023 lenovo/thinkpad/t14/amd/gen2: enable amd_pstate 2024-05-19 17:50:52 +00:00
Tad Fisher 55f8e366f0 lenovo/thinkpad/p14s/amd/gen2: enable amd_pstate 2024-05-19 17:50:52 +00:00
Tad Fisher 2659a52d7a lenovo/thinkpad/t14/amd/gen4: init 2024-05-19 17:50:52 +00:00
Tad Fisher 0d3eafc014 lenovo/thinkpad/p14s/amd/gen4: init 2024-05-19 17:50:52 +00:00
Tad Fisher 79cb5c5df6 lenovo/thinkpad/p14s/amd/gen3: init 2024-05-19 17:50:52 +00:00
Tad Fisher d526edb79b lenovo/thinkpad/p14s/amd/gen1: init 2024-05-19 17:50:52 +00:00
Tad Fisher 050f52eb55 lenovo/thinkpad/p14s: align with Thinkpad T14 configs 2024-05-19 17:50:52 +00:00
Robin Wils 6e7667c75d
Add hardware config for lenovo t5 26amr5 (#938)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-05-19 19:19:36 +02:00
katsu-chan 1a77057745 added thinkpad a470 2024-05-06 15:50:55 +00:00
Andre 753176b57b Add fingerprint support for Lenovo Legion 16ARHA7 2024-05-05 05:03:35 +00:00
Daniel Olsen 3f01731119 lenovo/thinkpad/l480: init 2024-05-03 14:27:04 +00:00
Mic92 e1c4bac14b Lenovo ThinkPad Z13 Gen 2 (#844)
lenovo-thinkpad-z: remove HiDPI

* lenovo-thinkpad-z: move z13 to gen1/z13, leave generic settings

* lenovo-thinkpad-z-gen2: add z13

* Update lenovo/thinkpad/z/gen2/default.nix

* Update lenovo/thinkpad/z/gen2/default.nix
2024-04-10 14:46:44 +00:00
Andre 805adee81c
Add Lenovo legion 16ARHA7 (#906)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-04-10 10:52:19 +02:00
yuannan f3b959627b removed edid 2024-04-05 13:47:45 +00:00
yuannan a7825c5b9a 15ach6h 2024-04-05 13:47:45 +00:00
Jörg Thalheim 9a763a7acc
Merge pull request #880 from jalseth/x13-amd
Add Thinkpad X13 Gen1 AMD variant
2024-03-25 08:45:45 +01:00
piousdeer b081de56df 16ach6h: re-enable edid for internal display only 2024-03-18 22:30:49 +07:00
Fay Ash 74967732a5
fix: comment out the edid module for legion-16ach6h
It seems to break extra monitor modes
2024-03-16 00:48:04 +08:00
James Alseth 19e5d3c9d9 Add Thinkpad X13 Gen1 AMD variant 2024-03-04 08:54:30 -08:00
Bit Borealis ce93797a42 add w520 ( copy of t520 ) 2024-02-28 19:19:50 +00:00
queer-bird 7220f26a7c Missed a curly bracket 2024-02-13 10:50:48 +00:00
queer-bird 8be74baad0 Fix audio interference in headphone jack on Thinkpad x1 Nano Gen 1 2024-02-13 10:50:48 +00:00
mexisme 6e5cc385fc Extract AMD-GPU from Nvidia, to make it easier to choose either 2024-02-06 09:25:57 +00:00
mexisme 5a8ed531f9 Initial config. for Lenovo Yoga Slim 7 Pro-X (14ARH7)
- Add entry to README.md and flake.nix
2024-02-06 09:25:57 +00:00
4JX cc65e27670 Better default for amdgpuBusId 2024-02-01 10:14:09 +00:00
4JX ed01236ece 16ach6h: Comment out failing edid line
Fixes #795
2024-02-01 10:14:09 +00:00
4JX 07e43b0530 16ach6h: Fix X11 setup
Fixes #628
2024-02-01 10:14:09 +00:00
4JX 58b17dc234 16ach6h: Do not duplicate nvidia config 2024-02-01 10:14:09 +00:00
Domen Kožar bee2202bec Add support for Yoga Slim 7 Gen8 2024-01-15 09:51:25 +00:00
mevatron 5bf829d72c Update lenovo/legion/16aph8/default.nix
Thanks for the tip!

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-01-02 20:44:50 +00:00
Will Lucas a5028e96cc Small cleanup 2024-01-02 20:44:50 +00:00
Will Lucas 0f29eb0b0f Force to only "nvidia" for xserver.videoDrivers to avoid blank screen issues 2024-01-02 20:44:50 +00:00
Will Lucas d10b795823 Disable modesetting 2024-01-02 20:44:50 +00:00
Will Lucas 158afdeaf8 Corrected nix-info from an earlier build 2024-01-02 20:44:50 +00:00
Will Lucas c2f991b91e Added support for Lenovo Legion Slim 5 (16APH8)
Added PPD after researching the Framework laptops with AMD 7000 series
2024-01-02 20:44:50 +00:00
MayNiklas 3e3571c832 add lenovo/thinkpad/x13/yoga/3th-gen 2023-12-25 20:39:21 +00:00
Jörg Thalheim b7747f0f60 remove unused variables with deadnix 2023-12-25 20:25:23 +00:00
Alojzy Leszcz 51c532cc50
Lenovo Legion 16achg6: Fix gpu configuration to work with both x11/wayland (#802)
Co-authored-by: Alojzy Leszcz <aleszcz@pm.me>
2023-12-25 20:59:25 +01:00
Alojzy Leszcz 7763c6fd1f
Lenovo Legion 16achg6 support (#796) 2023-12-13 08:40:08 +01:00
waltz c78145fc51 lenovo: add config for ideapad s145-15api 2023-12-10 21:59:40 +00:00
Kiara Grouwstra a149e3d37e Lenovo IdeaPad Slim 5: init
note this is to be distinguished from e.g. the slim 5i, which uses intel
2023-10-06 11:30:06 +00:00
Michael Stanley adcfd6aa86 Thinkpad X1 11th Gen: init 2023-09-28 07:59:35 +00:00
Dom Rodriguez af694376e2 p14s: Add common/{cpu,gpu}/amd to imports
This is my first upstream contribution (intend to contribute configs for
my NUC, GPD, and ClockworkPi uConsole/DevTerm). Essentially, this change
resolves #492, by adding the `common/{cpu,gpu}/amd` Nix fragments to the
`imports` list for the Thinkpad P14s.
2023-08-02 07:18:07 +01:00
dadada 96e5a0a0e8 t14s: reformat 2023-07-30 09:06:37 +01:00
dadada 67b0b87fd8 p14s, t14s: remove linux-firmware version check
nixpkgs is currently using the `unstable-` version

See beb6196e9e
2023-07-30 09:06:37 +01:00
SnIcK 39eac9bf9a
added 16IRX8H Lenovo Legion 7i Pro (2023) (#660)
* added 16IRX8H Lenovo Legion 7i Pro (2023)

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-07-11 08:20:24 +01:00
Ryan Horiguchi 7f46848ea6 lenovo legion 7 slim 15ach6: remove brightness service 2023-07-09 23:39:48 +02:00
Burgess Chang a2ca907b42
lenovo-thinkpad-x1-nano-gen1: init
Signed-off-by: Burgess Chang <bsc@brsvh.org>
2023-06-11 01:11:59 +08:00
Dawid Dziurla 468a7a1081
lenovo-thinkpad-x1-6th-gen: swap throttled with thermald 2023-05-31 08:29:51 +02:00
Paul Jewell 31f8d1c364 Added Lenovo Thinkpad x390 2023-05-05 06:59:00 +01:00
Ulrik Strid d2f0dce97b Lenovo legion 7i 16ithg6: add hidpi settings 2023-04-05 16:56:09 +02:00
bors[bot] 5854eabcd6
Merge #592 #593
592: thinkpad-z: move to hidpi module r=Mic92 a=Mic92



593: lenovo legion 7 slim 15ach6: add hidpi settings r=Mic92 a=rhoriguchi



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
Co-authored-by: Ryan Horiguchi <ryan.horiguchi@gmail.com>
2023-03-25 17:14:49 +00:00
Ryan Horiguchi a0eda74ee0
lenovo legion 7 slim 15ach6: add hidpi settings 2023-03-25 14:23:33 +01:00
Jörg Thalheim 449ab4e625 thinkpad-z: move to hidpi module 2023-03-25 11:35:40 +01:00
bors[bot] 22ef358f5f
Merge #581
581: lenovo 16ach6h: add amd cpu pstate r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2023-03-09 19:17:21 +00:00
Naïm Favier fb4ff6250e
t14s,p14s: remove rtw89-firmware if linux-firmware new enough 2023-02-22 14:02:07 +01:00
bors[bot] d24ea777c5
Merge #559
559: p14s: do not include acpi_backlight on newer kernel versions r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-20 20:21:32 +00:00
Jörg Thalheim 93030acc16 p14s: do not include acpi_backlight on newer kernel versions 2023-02-20 21:12:29 +01:00
bors[bot] 1f5e2b7a6a
Merge #553
553: lenovo/thinkpad/t520: create r=Mic92 a=reo101



Co-authored-by: Pavel Atanasov <pavel.atanasov2001@gmail.com>
Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
2023-02-20 20:11:51 +00:00
piousdeer 576be211f0 lenovo/legion/16ach6h: disable thermald
It's for Intel laptops. 16ach6h is not one of them.
2023-02-19 23:45:40 +07:00
Pavel Atanasov 51ec9ab517
lenovo/thinkpad/t520: create
Borrow `t420`'s config since the machines only mainly differ in screen size
2023-02-09 20:17:37 +02:00
bors[bot] 44ae00e02e
Merge #550
550: Add amdvlk and opencl options to amdgpu & Fix proton crash when Dual-Direct GFX enabled for lenovo legion 16ach6h r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-09 09:06:46 +00:00
Jörg Thalheim 445db26b88
Update lenovo/legion/16ach6h/nvidia/default.nix 2023-02-09 09:04:15 +00:00
ChaosAttractor 8732ed0a36 16ach6h: add amd cpu pstate 2023-02-08 18:58:59 +08:00
ChaosAttractor be60a34c1a 16ach6h: disable amdvlk and rocm-opencl for nvidia-only mode 2023-01-30 15:23:11 +08:00
Winston R. Milling 68136fdd0a
Lenovo Y530-15ICH Initial Commit 2023-01-29 14:48:35 -06:00
bors[bot] b7ac0a5602
Merge #544 #545 #546
544: Fix copy-paste typo: "CONFIG_" prefix in structuredExtraConfig patches r=Mic92 a=mexisme



545: Add kernel 6.1.6 to Microsoft Surface profile r=Mic92 a=mexisme



546: lenovo/thinkpad/t440p: force load thinkpad_acpi r=Mic92 a=surfaceflinger



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
Co-authored-by: surfaceflinger <nat@nekopon.pl>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-01-24 08:59:53 +00:00
Jörg Thalheim d25ac8d999
Update lenovo/thinkpad/t440p/default.nix 2023-01-24 08:54:28 +00:00
ChaosAttractor f83f6d1437 16ach6h: Add tags for Dual-Direct GFX (DDG) specialisation 2023-01-24 01:34:55 +08:00
surfaceflinger 759a06ec4a
lenovo/thinkpad/t440p: force load thinkpad_acpi
thinkpad_acpi doesn't load automatically on corebooted Lenovo ThinkPads T440p (but works fine if force_loaded). Doesn't affect users with stock firmware.
2023-01-20 21:37:32 +01:00
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Jörg Thalheim 49485f5569
Update lenovo/yoga/6/13ALC6/default.nix 2022-12-29 13:53:01 +00:00
Jörg Thalheim c1a38081fa
Update lenovo/yoga/6/13ALC6/default.nix 2022-12-29 13:52:15 +00:00
suliman 993e6c8726 removo TLP 2022-12-29 16:50:43 +03:00
suliman 114881dd3d Minimum required version is 5.16 based on https://linux-hardware.org/?id=pci:10ec-8852-17aa-4852 2022-12-29 14:42:08 +03:00
me00001 a30c4834f4
set a minimum kernel
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-29 13:23:08 +03:00
suliman 2e8fce47c8 Reusing modules 2022-12-28 23:10:35 +03:00