Skip to content
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

Closed
wants to merge 3 commits into from
Closed

init dell xps 9370 #81

wants to merge 3 commits into from

Conversation

Moredread
Copy link
Contributor

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.

@Mic92 Mic92 requested a review from lukateras October 19, 2018 14:13
@Mic92 Mic92 changed the title Init 9370 init dell xps 9370 Oct 19, 2018
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
../../../lenovo/thinkpad/acpi_call.nix
../../../lenovo/thinkpad/cpu-throttling-bug.nix
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@Ma27
Copy link
Member

Ma27 commented Oct 19, 2018

when this is a module used among several vendors, shouldn't we move it out of the lenovo/ tree?

@lukateras
Copy link
Member

Of course we should move it into common.

@Moredread
Copy link
Contributor Author

I've added a commit to this PR that moves both files

@Moredread
Copy link
Contributor Author

I'm not sure why it fails on Travis, locally it builds fine and I don't find a reference to lenovo/thinkpad/acpi_call.nix in my branch. Maybe a cache issue?

@Mic92 Mic92 mentioned this pull request Oct 23, 2018
@Mic92
Copy link
Member

Mic92 commented Oct 23, 2018

It is https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/t450s/default.nix#L6
which which was added in the meantime but is not included yet in your own branch.

@Moredread
Copy link
Contributor Author

Oh sorry, I'll rebase my branch asap.

Mic92 added a commit that referenced this pull request Oct 23, 2018
@Mic92
Copy link
Member

Mic92 commented Oct 23, 2018

I fixed it in: #82

@Mic92 Mic92 closed this Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants