Open bhargavg1 opened 5 months ago
Thanks @bhargavg1 I am super stoked to have other folks like you getting into the nitty-gritty on this and trying to iron out issues :slightly_smiling_face: This is exactly the kind of case I was thinking when I wrote the TODO in the comments, e.g. maybe it is worth to check the response payload and is there anything that can be done as a mitigation in the case of certain responses (e.g. if it is a "failure" response do we need to run some init logic again ? etc)
I have also seem some "weirdness" when the laptop starts to go to sleep / wakes up, but mostly that the fan starts to go crazy :laughing: however, in my local version I have added several other things to try and figure out how to capture Fn+F11 to drive the performance mode via the hotkey so I think some of my extra issues are actually related to that...
I am glad you brought this up because I think it is worth looking into further. I will put it on my internal TODO-list to try and take a look at as well; my first guess is to try and maybe do something like I just mentioned: check response of payload; if bad, send (some or all of) init, and then send original command again ?
Hi @bhargavg1 , there have been a lot of updates to the driver since you reported this issue.. I wonder if you try to use the latest version, do you still have these problems?
Hello,
My device is a galaxy book 2 360 running debian 12, and overall this driver has been working, but I noticed that it completely stops working after I resume from hibernation. None of the features work until i manually
rmmod
the module andmodprobe
it to reload it again, and then it starts working.I thought this was strange and have been looking at the source code for a while and running a few tests (just throwing a bunch of println statements everywhere), I noticed that you had some TODO comments about reading the acpi function's return buffer after every call. I implemented this and found a few strange things.
0x43, 0x58, 0x78, 0x00, 0xaa, 0xff, 0x00, etc etc
. The0xff
there is weird, and also the 7th position is0x00
when it should havebrightness + 0x80
. The long line of 0x00's at the end are all there as normal.0x03, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, X1, X2, Y1, Y2, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
, whereX1
andX2
can change after every backlight change, andY1
andY2
only seem to change after a full system reboot and stay the same no matter how many times the module is reloaded.In my experimenting with the driver code, I only fiddled with the keyboard backlight part, as I am not that experienced with C nor am I experienced with writing kernal modules. This whole problem could just also be a problem with my setup though. I have not entirely ruled out that I am just configuring something wrong. I guess I could just continue unloading and reloading the module everytime I turn on my computer after a hibernate if thats the case.