1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-09 20:49:40 +01:00
Commit graph

35 commits

Author SHA1 Message Date
Michael Stanley
adcfd6aa86 Thinkpad X1 11th Gen: init 2023-09-28 07:59:35 +00:00
Dawid Dziurla
468a7a1081
lenovo-thinkpad-x1-6th-gen: swap throttled with thermald 2023-05-31 08:29:51 +02:00
Jörg Thalheim
03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Daniel Reimer
7b063efe67 add lenovo/thinkpad/x1/10th-gen 2022-11-05 22:15:29 -07:00
MayNiklas
2c27afc7ed add lenovo/thinkpad/x1/yoga/7th-gen 2022-10-22 15:35:24 +02:00
Andrea Ciceri
adbeb1a5d6
Enable throttled for Thinkpad X1 gen 7 too
Even if this device is currently not mentioned upstream between the
devices that need this I stressed my machine (using `s-tui`) with and
without and I can confirm that it incremented the average CPU frequency
during the stress test (from 1.8/2GHz to around 3GHz).
2022-08-17 16:41:12 +02:00
Andrea Ciceri
2284621815
Quirks no more needed 2022-08-17 14:45:50 +02:00
Thomas Woolford
08cf55e7b6
Remove intel_iommu=on by default for all X1 models.
IOMMU still breaks suspend/resume on multiple Lenovo models including X1.
Currently broken on at least Gen4 which I'm testing on. Hard locks the system during suspend.

This thread claims it works on Gen4 with kernel 5.16.1 but it doesn't work on my hardware, firmware fully updated.
https://bugzilla.kernel.org/show_bug.cgi?id=197029

This should probably be turned on individually for models known to work until it can be more thoroughly tested.
2022-04-01 23:06:12 +10:30
Markus Schneider
83c1cd4a5a add support for lenovo X1 yoga 2022-03-16 18:25:14 +01:00
Jörg Thalheim
6b6f4f8dd6
thinkpad/x1/6th-gen/QHD: drop gtk hidpi env variables
Those actually break Gnome/wayland. They might work on x11.
2022-02-12 19:42:06 +01:00
Brandon Weeks
6bdf6d3cda thinkpad/x1: enable Intel IOMMU 2022-01-10 00:47:30 -08:00
ilian
5bc7087038 thinkpad/x1: import ssd config for relevant models 2021-12-19 12:06:09 +01:00
Mark Karpov
0492dd8216
Add a config for the 9th generation of Lenovo Thinkpad X1
This solves lagging noticeable on high-resolution screens.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-18 10:55:46 +01:00
Jörg Thalheim
741b3ba508 lenovo/thinkpad/x1/7th-gen: fix evaluation 2020-08-13 15:01:48 +02:00
Hoang Xuan Phu
8c320bbc8a lenovo/thinkpad/x1/7th-gen: init 2020-05-17 09:22:51 -04:00
Michael Peyton Jones
2bf94227c1
Replace ad hoc throttling fix with throttled
`throttled` is a service designed to fix the same CPU throttling bug,
but it's an actively maintainted upstream project that we can use.
2019-10-16 22:31:05 +01:00
Maximilian Bosch
abca8d0180
thinkpad/x1/6th-gen: fix trackpoint name
Newer ThinkPads have a new name for the Trackpoint - "TPPS/2 Elan TrackPoint".

Having the "[...] IBM Trackpoint" as default caused some weird
side-effects on my machine (e.g. stopped the trackpoint working after a
suspend) with the wrong name. Although this is mentioned in the option's
description[1], I think that this should be declared explicitly here.

As soon, as we supported newer models as well[2], we should probably
move this into its own common profile.

[1] https://nixos.org/nixos/options.html#hardware.trackpoint.device
[2] https://certification.ubuntu.com/catalog/component/input/5313/input%3ATPPS/2ElanTrackPoint/
2019-09-01 18:00:21 +02:00
eyjhbb@gmail.com
3dac9eae9a lenovo-x1: removed battery TLP threshholds 2019-02-19 09:56:32 +01:00
Benjamin Hipple
bd1ef85b98 lenovo x1 carbon gen6: update S3 suspend
With UEFI >= 1.30, there's an explicit option to enable S3 power management.
Once this is selected, S3 is enabled and "deep" is selected as the default
/sys/power/mem_sleep value without requiring any kernel boot parameters.
2018-12-27 18:40:08 -05:00
André-Patrick Bubel
941fbef86f
move acpi_call.nix and cpu-throttling-bug.nix to common folder 2018-10-23 09:28:07 +01:00
Alberto Berti
9939e5b3a4 Fix acpi override load
As proposed by @garbas in #60
2018-09-01 15:34:06 +02:00
Alberto Berti
7f17d649cc Fix cpu-throttling service file reference 2018-09-01 15:33:27 +02:00
Michael Peyton Jones
a633fa6f68
T480s: use CPU throttling fix too 2018-08-15 18:34:44 +01:00
Alberto Berti
4428c70b17 Enable powersave features when on battery (taken from #60) 2018-07-21 21:20:25 +02:00
Alberto Berti
b84f46f208 Add missing pkgs parameter 2018-07-17 18:55:21 +02:00
Alberto Berti
a3210f1d6b Fix typo 2018-07-17 17:53:53 +02:00
Alberto Berti
7a640afbb2 Add optional console font configuration to make it readable on QHD displays 2018-07-17 17:44:31 +02:00
Alberto Berti
32a7893b8c Set a default to fix GTK/GNOME ui elements appareance 2018-06-03 01:55:59 +02:00
Alberto Berti
b132065a43 Cosmetic 2018-06-03 01:33:37 +02:00
Alberto Berti
b42212f6f0 Add a bit of documentation 2018-06-03 01:33:21 +02:00
Alberto Berti
179bcde845 Add stub for the S3 suspend state issue
See https://delta-xi.net/#056
2018-06-03 01:32:16 +02:00
Alberto Berti
654262071f Add the temporary fix for the cpu-throttling issue
See https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Power_management.2FThrottling_issues
2018-06-03 01:31:17 +02:00
Alberto Berti
5dd535392d Move battery settings to the configuration for all the 6th gen models 2018-06-03 01:28:40 +02:00
Alberto Berti
e0a8e01073 Give TLP more control over the battery and enable battery life saver parameters 2018-05-31 18:04:02 +02:00
Alberto Berti
d0a8097eec Add basic support for 6th-gen X1 2018-05-31 15:56:43 +02:00