-
Notifications
You must be signed in to change notification settings - Fork 6
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
Getting 'Invalid argument' errors #1
Comments
Any extra information in dmesg ? |
Nothing in dmesg. Here is bios_settings:
|
Can you try: In debugfs In sysfs: |
Interestingly, writing to instance seems successful. I tried with other numbers too and the result of bios_setting is as expected. |
Ok, I poked around the code a bit and managed to get it to change settings successfully. There were two problems:
I still don't know what the problem with list_valid_choices is, but it is something different from the ones with changing settings. |
Hmmm, so somehow, we can't list valid choices. In the BIOS, what are the valid choices for PoweOnNumLock (there should be a something in the UI somewhere) Could you send me a patch for your changes ? (I wrote this code 2 years ago, and I might have uploaded the wrong version :/) |
Please try with the latest version |
I have a T410 and I am running Ubuntu 15.10 with kernel 4.2.0-18 (64-bit). I compiled and inserted the module without any errors and I am able to read the current value of any setting in /sys/devices/platform/thinkpad-wmi and also all values from /sys/kernel/debug/thinkpad-wmi/bios_settings.
However, when trying set anything I get 'Invalid argument' errors. For example, trying to set PowerOnNumLock to On (just for testing):
Also, when trying list_valid_choices for PowerOnNumLock:
I don't have any passwords set. Am I missing some step needed to make it work?
The text was updated successfully, but these errors were encountered: