You are not logged in.

#1 2018-07-29 01:51:10

nullish
Member
Registered: 2018-07-29
Posts: 3

Lenovo Thinkpad X1 6th generation Power Management Workaround

Hello,

I am following the workaround for my Lenovo Thinkpad X1 6th gen, noted here.

As I understand, the fix is to update the MSR_TEMPERATURE_TARGET (0x1a2) register, specifically bits 29:24, via a pair of systemd services. I've followed the instructions specifically, and the validation step seems to hint the wrmsr command didn't run:

$ rdmsr -f 29:24 -d 0x1a2                
rdmsr: open: No such file or directory

Not quite sure whats amiss. With some luck others have encountered this issue.

Thanks in advance!

Offline

#2 2018-07-29 20:32:10

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Lenovo Thinkpad X1 6th generation Power Management Workaround

Make sure you load the msr module before you try. Check the output of dmesg for any problems or hints of problems when you load the msr module.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2018-07-31 19:37:59

nullish
Member
Registered: 2018-07-29
Posts: 3

Re: Lenovo Thinkpad X1 6th generation Power Management Workaround

Thanks R00KIE

Turns out it was a few things. The msr module wasn't installed and I had to configure it to load via /etc/modules-load.d/. And, I didn't set the script referenced, /usr/local/bin/cpu-throttling.sh, to be executable. Fixing those and restarting seems to have done it.

In the interest of preventing others from running into the same issue: the msr module isn't installed by default, right? Just as a sanity check. I was thinking to update the wiki linked earlier to follow these extra steps, but wanted to be sure I wasn't missing anything obvious before trying to do that.

Either way, appreciate the point in the right direction!

Offline

#4 2018-07-31 19:55:33

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Lenovo Thinkpad X1 6th generation Power Management Workaround

The correct term is the msr module is not loaded by default.

I believe that some package used to provide a file on modules-load.d that would load the msr module, either that or I'm remembering incorrectly and it was some AUR package.

Either way feel free to edit the wiki and improve the instructions provided, from what I can see only a note to load the msr module is missing, how to do that and how to get it to load automatically on each boot is already covered in other wiki pages so you can just point to that.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2018-07-31 20:14:04

nullish
Member
Registered: 2018-07-29
Posts: 3

Re: Lenovo Thinkpad X1 6th generation Power Management Workaround

Got it. Will do.

Thanks!

Offline

Board footer

Powered by FluxBB