New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init dell xps 9370 #81
Conversation
dell/xps/13-9370/default.nix
Outdated
../../../common/cpu/intel/kaby-lake | ||
../../../common/pc/laptop | ||
../../../lenovo/thinkpad/acpi_call.nix | ||
../../../lenovo/thinkpad/cpu-throttling-bug.nix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, interesting. So neither this nor acpi_call are specific to ThinkPads?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, but I only played around with acpi_call a while ago, without any specific result. The throttling bug seems to hit most Dell and Thinkpads (and maybe other vendors) models with the latest Kabby Lake CPUs as far as I understand it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I think I misremembered what I used acpi_call for. I used it to disable the dedicated graphics card on my old Thinkpad, so I haven't tested it on my Dell. But from https://github.com/mkottman/acpi_call it seems to be compatible with other models as well in principle.
when this is a module used among several vendors, shouldn't we move it out of the |
Of course we should move it into |
I've added a commit to this PR that moves both files |
I'm not sure why it fails on Travis, locally it builds fine and I don't find a reference to |
It is https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/t450s/default.nix#L6 |
Oh sorry, I'll rebase my branch asap. |
I fixed it in: #82 |
I'm not sure if TLP sets battery thresholds correctly with acpi_call on Dell notebooks, but I guess it doesn't hurt to enable it.
I haven't found out how to set those thresholds manually, the last time I tried I think the instructions I found online were for older Dell models and didn't work for the 9370 but I'm not sure anymore.