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

Error mapping when connecting power and unplugging power #187

Open
sunbos opened this issue Dec 22, 2022 · 5 comments
Open

Error mapping when connecting power and unplugging power #187

sunbos opened this issue Dec 22, 2022 · 5 comments

Comments

@sunbos
Copy link

sunbos commented Dec 22, 2022

My laptop will incorrectly translate "Connect the power" and "Unplug the power" into backlightoff, what should I do

@Mifaxav
Copy link

Mifaxav commented Dec 22, 2022

Which laptop do you have?

@zhen-zen
Copy link
Owner

My laptop will incorrectly translate "Connect the power" and "Unplug the power" into backlightoff, what should I do

This seems to be a common issue for ideapad_laptop since both events send the same code. I'm not sure if there's a better way to distinguish them.

@sunbos
Copy link
Author

sunbos commented Dec 22, 2022

My laptop:Yoga 9 15IMH5
I have a way to judge which one is plugged in and which one is unplugged from the DSDT
Through the test, I found that_ Q50 is the Connect the power ,_ Q51 is Unplug the power
截屏2022-12-22 23 20 56

@sunbos
Copy link
Author

sunbos commented Dec 22, 2022

This is my DSDT file
System DSDT.dsl.zip

@sunbos
Copy link
Author

sunbos commented Jan 4, 2023

Fn+Q(_Q78)
AC power connecting(_Q50)
AC power unplugging(_Q51)
power button (_Q5F)
laptop lid closed (_Q52)
laptop lid opened (_Q53)
Mixer output mute (F1)
Volume down or unmute(F2)
Volume up or unmute(F3)
Microphone Mute (F4, _Q3D)
Touchpad (F6,_Q22)
Network (F7, _Q28)
camera(F8,_Q2E)
Brightness up (F12, _Q1C)
Brightness down (F11, _Q1D)
IdeaVPC kbd backlight (Fn+Space, _Q1F)

Now F8 can map the camera key correctly, but the camera cannot be turned off
Fn+Q (_Q78) is always in Fn-Q cooling state
IdeaVPC kbd backlight (Fn+Space, _Q1F), the keyboard backlight cannot be mapped correctly
AC power connecting(_Q50)
AC power unplugging(_Q51)
Nor can it be mapped correctly

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

No branches or pull requests

3 participants