zhen-zen / YogaSMC

ACPI driver for OEM hardware.
GNU General Public License v2.0
225 stars 24 forks source link

YogaSMC doesn't remember KB backlight settings #186

Open outlandernwah opened 1 year ago

outlandernwah commented 1 year ago

When sleeping the laptop (X260), app doesn't remember KB backlight settings after a reboot and even sleep.

Why ideas there?

Thanks for everything!

(Also says "Move to Applications folder" on every restart. It's there. Seems to remember the other settings, just not KB backlight.)

zhen-zen commented 1 year ago

There are a lot variables that interact with backlight and make it complex. Did it work before or if it breaks after the timeout commit?

For the second one, probably the app launched is not the one under /Application folder. You can find the path of the running one with ps -e | grep NC.

outlandernwah commented 1 year ago

It has never remembered, unfortunately. I figured it might have something to do with my parenthetical issue haha

Yeah, it says it's coming from here: https://ibb.co/qy60wFT

Thanks for the info!

gelomon commented 11 months ago

@outlandernwah, have you ever fixed this one? I hate it that it always need to turn on the backlit keyboard since most of the time I'm always multitasking lol

outlandernwah commented 11 months ago

Lol nah I just click the function button now. Not that serious. Let me know if you figure it out tho. Works great on Windows.

gelomon commented 11 months ago

Hey mate, I have already figured this out. lol Here is what works for me. Make sure you press enter after setting the timeout

image

outlandernwah commented 11 months ago

Hey mate, I have already figured this out. lol Here is what works for me. Make sure you press enter after setting the timeout

image

If that works I'll laugh. I fucking hate Apple sometimes, buddy lmao

outlandernwah commented 11 months ago

Like WHY????

outlandernwah commented 11 months ago

Enter doesn't even do what it's supposed to do half the time lol but I'm gonna check right now

gelomon commented 11 months ago

I'll be waiting for your update so I can laugh with you lol

outlandernwah commented 11 months ago

I'll be waiting for your update so I can laugh with you lol

Could not get it to do that thang. Loads up but no auto backlight

Edit* I was impatient. It did actually fookin' work!

Thanks bud!!!

outlandernwah commented 11 months ago

I'll be waiting for your update so I can laugh with you lol

So it worked like you said. But ya need to click a key and then it lights up. Good enough for me!

gelomon commented 11 months ago

Much better than powering it on everytime

gelomon commented 11 months ago

I think I found the root cause, the Panel does not update the plist file correctly. Changing some settings triggers update. MicMuteFixup also don't apply to me, but after setting it checked and changing some settings also I noticed that the plist file update.

That's why settings applied does not take effect. I don't have much experience on macos development can't submit a PR

outlandernwah commented 11 months ago

I think I found the root cause, the Panel does not update the plist file correctly. Changing some settings triggers update. MicMuteFixup also don't apply to me, but after setting it checked and changing some settings also I noticed that the plist file update.

That's why settings applied does not take effect. I don't have much experience on macos development can't submit a PR

Me neither. I've been learning as I go. I'm on the X260 ThinkPad what about you?

gelomon commented 11 months ago

I'm using T480, everything works except DRM. Thunderbolt works also but I'm looking into proper TB3 power management since this device when on sucks a hell lot of juice

outlandernwah commented 11 months ago

I'm using T480, everything works except DRM. Thunderbolt works also but I'm looking into proper TB3 power management since this device when on sucks a hell lot of juice

I think DRM is fine if you switch your browser. Not positive if you can get it working natively but I've been wondering.

That's a great device btw I was looking into it.