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

hex value to wrmsr should be prefixed 0x or plain decimal value used #3

Open
strainer opened this issue Sep 12, 2021 · 0 comments · May be fixed by #8
Open

hex value to wrmsr should be prefixed 0x or plain decimal value used #3

strainer opened this issue Sep 12, 2021 · 0 comments · May be fixed by #8

Comments

@strainer
Copy link

strainer commented Sep 12, 2021

Hi I was delighted to find your script works on my Latitude. Just one thing I noticed the wrmsr line seems to send the desired value as hex but without an 0x prefix. This hasn't caused noticable problems as the top bit is usually cleared so throttling stops. But the hex value seems not read correctly without 0x prefixed.

I changed the wrmsr line to state the desired value as decimal and it seems to work fine ( wrmsr 0x1fc "$f" ) I reread the register value after it is written and it seems correctly set when the computed decimal value is used. I also briefly tested prefixing 0x to the hex value and it seemed to work too.

chenxiex added a commit to chenxiex/turnoff-BD-PROCHOT that referenced this issue Apr 26, 2024
@chenxiex chenxiex linked a pull request Apr 26, 2024 that will close this issue
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 a pull request may close this issue.

1 participant