-
Notifications
You must be signed in to change notification settings - Fork 9
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
"thinklmi getsettings" returns "query_apps open: No such file or directory" #21
Comments
Hi, And then you can access the attributes under /sys/class/firmware-attributes/thinklmi/attributes |
So just interact directly with |
Yes. |
Hi - I did just check this out on my P1G4 with the same Fedora kernel - and it worked for me correctly so it's curious it's not working for you. Still recommend the built in one (especially as it's already in Fedora) but : Do you have /dev/thinklmi on your system? Mark |
No
Not that I can see.
|
OK - I think you might have the built-in kernel think_lmi module loaded...which is stopping your self-built version loading. |
Yes I was using the built-in kernel module. Sorry for not calling that out clearly. Does the CLI not work with the built-in module? |
Afraid not currently |
I guess the big question here is: "how do I authenticate using sysfs so I can make changes?" Sysfs works very well for retrieving parameters, but I'm not sure where or what to echo into a device to change a setting. Device: |
If you're using the upstream version (not the one on github) that uses the /sys/class/firmware-attributes interface - and documentation is available here: https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/sysfs-class-firmware-attributes I'm not sure if the think module is in 20.04.4 though - can you do a 'modprobe think-lmi' and see if it's there. In the long term it's the way to go. |
Derp, I forgot to include Are you saying that the Dell auth method - echo password into
|
Yep - the firmware-attributes class is generic. We implemented think-lmi on top of it (with some differences in between the two to, but for the basics it should behave the same). Under the hood the implementation of this driver (which uses ioctl''s) and the upstream one (using the class) are very different :) Mark |
Ah. Will have to do up a PR, then, to move the description of the auth mechanism to indicate that it's not just a dell-specific thing. Thanks. |
I am on a Lenovo P1 running Fedora 35
5.16.9-200.fc35.x86_64
. When I run:thinklmi-user master ?:1 sudo ./thinklmi getsettings query_apps open: No such file or directory
I do see:
Am I missing something else?
The text was updated successfully, but these errors were encountered: