1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00
Commit graph

99 commits

Author SHA1 Message Date
David Anderson
03dedf4cfd thinkpad/t495: fix backlight save/load and and battery conditioning.
Saving/loading the backlight state requires the acpi_backlight=native
kernel parameter.

acpi_call is required by TLP to get access to battery conditioning
information from the firmware.

Signed-off-by: David Anderson <dave@natulte.net>
2020-03-14 20:57:22 -07:00
David Anderson
3d983701f9 lenovo/thinkpad/t495: init from e495.
The E495 and T495 are based on the same core Ryzen platform, so the
E495 tweaks apply similarly to the T495.

Tested on my own T495, works well.
2020-03-11 09:34:12 -07:00
Jörg Thalheim
f5a4954ca3
thinkpad/e495: fix evaluation
fixes #145
2020-02-12 10:57:40 +00:00
Luis Hebendanz
f6e2381344
Update lenovo/thinkpad/e495/default.nix
Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-02-12 10:52:49 +01:00
Luis Hebendanz
d75b12a962 Added profile for issues 69289 2020-02-11 19:42:02 +01:00
*Kim Zick (rummik)
6081bfd6d5 Add Lenovo ThinkPad L13 profile 2020-01-02 11:35:56 -05:00
mishudark
1d746f2298 Add Lenovo ThinkPad X280 profile 2019-12-31 15:38:59 +01:00
Oleksii Filonenko
5575153e2d Add Lenovo ThinkPad T420 profile 2019-11-02 14:35:47 +01: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
*Kim Zick
ed0d3cc198 Initial p53 hardware configuration (#125) 2019-10-16 19:25:20 +01:00
Jörg Thalheim
f08177ef66
Merge pull request #123 from rycee/thinkpad-x1-extreme-gen2
thinkpad/x1-extreme/gen2: add module
2019-10-09 15:10:11 +01:00
Robin Gloster
91eba96d66
Merge pull request #124 from exi/master
match specifically on the sound chip
2019-10-06 15:13:58 +02:00
Reno Reckling
b60ea643a4 match specifically on the sound chip 2019-10-04 19:27:28 +02:00
Robert Helgesson
de600352bc
thinkpad/x1-extreme/gen2: add module 2019-09-29 00:17:13 +02:00
Robert Helgesson
83ca0c4e6b
thinkpad/x250: add acpi_call
This kernel module is needed to, for example, support tlp's

  - `START_CHARGE_THRESH_BAT?` and
  - `STOP_CHARGE_THRESH_BAT?`

options.
2019-09-04 22:46:49 +02:00
Robin Gloster
4ffa2ed198
Merge pull request #117 from Ma27/thinkpad-trackpoint-fixes
thinkpad: minor trackpoint fixes
2019-09-03 20:31:44 +02:00
Reno Reckling
9e7fffdd5b Add better pulseaudio support for thinkpad t490 2019-09-02 19:11:30 +02: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
Maximilian Bosch
4c8b4cf54f
thinkpad: emulate wheel for a trackpoint by default
Most trackpoint users I know use the middle-button to have some
scrolling functionality. So I think that for ThinkPads at least we
should have this enabled by default if the trackpoint shall be used.
2019-09-01 17:59:17 +02:00
Jörg Thalheim
59c97be4d0
Merge pull request #106 from jnetod/master
t430: add acpi_call module
2019-05-13 06:31:08 +01:00
Joris Engbers
a5db2c9eaf Add basic support for the thinkpad t470s 2019-05-08 23:52:27 +02:00
José Neto
a8ea967866 t430: add acpi_call module 2019-05-04 15:04:05 -03: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
Trolli Schmittlauch
1e2c130d38 add basic support for Lenovo Thinkpad T440s (#83)
This adds basic support for the Thinkpad T440s, based on the work done for the T440p. The expression enables:

- microcode updates
- trackpoint support
- kernel module for battery level management
2018-12-02 23:25:43 +00: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
Lorenzo Manacorda
78ea74365a lenovo/thinkpad/t450s: init 2018-10-19 14:55:47 +02:00
Justin Humm
d5b0b9349f
thinkpad: introduce t430
Copied everything from t440p, added a fix for the brightness keys
2018-09-04 20:42:09 +02:00
Roman Volosatovs
6ed4feade2
lenovo/thinkpad/x260: Use med_power_with_dipm in TLP 2018-09-02 20:06:41 +02:00
Roman Volosatovs
f37c5dfb9a
lenovo/thinkpad/x260: Remove opinionated TLP config 2018-09-02 20:06:41 +02:00
Roman Volosatovs
6c55033883
lenovo/thinkpad/x260: Init 2018-09-02 20:06:30 +02: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
Jörg Thalheim
b4303dc68b
Merge pull request #60 from azazel75/master
Add basic support for 6th-gen X1
2018-07-30 11:09:41 +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
Yegor Timoshenko
585a13d8b9 Add ThinkPad X270 profile 2018-06-21 16:20:57 +03:00
Michael Peyton Jones
c354d591a7 Add basic t480s profile 2018-06-08 23:54:34 +01:00
Michael Peyton Jones
cbdcc55f37 Add acpi_call module 2018-06-08 23:54:25 +01: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