Comments (10)
Small update. I was offline for most of September and October. The fn-key patches are on their way to mainline.
from yoga9-linux.
The easiest patching process probably depends on your distribution's package manager. Or you install it manually using make
.
So first of all, what distro are you using?
from yoga9-linux.
hey @PJungkamp and @olegpopovskiy , I am also working through fixing all issues with my recently purchased Yoga 7 14ACN6 laptop, which is also a convertible.
I was wondering if the patch for the shortcut keys (The Star with S and the others, the Star one is the only one present in my laptop) were submitted to mainline ?
I saw some discussion regarding figuring out how to get it to mainline but didn't see any updates about it on the thread about it.
from yoga9-linux.
Oh, and I am also using Arch as you @PJungkamp so a simple write up the process would help me out too :)
from yoga9-linux.
I've only submitted the Audio patch until now.
I was busy with my exams.
Did you check out the README in the packaging/arch/
directory?
from yoga9-linux.
Thanks @PJungkamp , saw the discussion on the mailing lists about the fn-keys patch getting into the mainline, great work!
Also saw that the ideapad-laptop not exposing rapid charge issue's fix didnt make it through, I am thinking of creating a gnome extension or adding support for it in an existing Ideapad controls gnome extension in the meantime by making direct acpi calls,
we have https://aur.archlinux.org/packages/ideapad-wmi-fn-keys-dkms-git for enabling the fn keys in the meantime till the mainline support gets released,
I have also made a dkms module from your usage mode patch that is available at https://aur.archlinux.org/packages/ideapad-wmi-usage-mode-dkms-git (doesn't work for me though yet)
Only thing remaining atleast for my laptop (Yoga 7 14ACN6) is exposing the keyboard backlight controls,
and the fingerprint sensor but that's a whole other issue.
from yoga9-linux.
I already know how to configure the keyboard backlight via acpi_call
. I just haven't bothered to write a patch for that yet.
The parameter values needed to control the keyboard backlight on my Yoga can be found here:
https://github.com/PJungkamp/yoga9-linux/tree/main/acpi-dump#readme
The basic idea is:
- Store the type of keyboard backlight here.
- Set keyboard type to
KBLC
andkbd_bl
to1
if the function is found on theadev
here. - Adapt this code to call the
KBLC
acpi function if it is present. - ...
- $$ profit $$
I noticed that it's also possible to get notifications when the backlight changes automatically.
That's the Dynamic KB Lighting
sensor in the sensors.txt
. But it's an Intel sensor again. Probably no use on AMD.
from yoga9-linux.
I've got the Yoga 7 AMD 14ARB7
, and the backlight control seems to be \_SB.PCI0.LPC0.EC0.VPC0.KBLC
on my laptop. Sadly the values you have in your table don't do anything for mine, so I was wondering how you came across them? Hopefully the only difference is the argument required :)
from yoga9-linux.
I read the ACPI tables, reverse-engineering what input would result in a code path in the ASL that seemed somewhat promising...
You could also try tracing the ACPI calls Windows is doing.
It's somewhat difficult either way.
As you're poking around in your firmware's memory you should also be careful. You could easily trigger slumbering bugs in unused code paths.
I mostly noted the KBLC commands that did the trick for me as a note to myself. I just didn't have any motivation to build a driver for a feature that's a shortcut away.
from yoga9-linux.
Thanks for the info. I'll probably leave it for now then, as I have 101 other problems to fix that don't involve prodding the firmware.
from yoga9-linux.
Related Issues (14)
- All 7 patches work great! HOT 1
- Yoga 7 14IAL7 HOT 1
- modprobe.d input disables microphone HOT 1
- Problem when applying patch with Yoga7
- WMI driver emits KEY_UNKNOWN HOT 1
- Patch not working on Lenovo Yoga 7 Gen 7 AMD (14ARB7) HOT 11
- Ideapad usage mode patch did not work on Yoga 7 14ACN6 HOT 9
- For Gen7 users.
- Same issue with Lenovo Yoga Pro 9 14IRP8 HOT 9
- Keyboard backlight patch HOT 1
- Bad sound on Yoga 7 16ARP8... HOT 4
- Yoga 9i (2024) 14IMH9 bass speakers not working HOT 3
- Cannot control speaker volume on Yoga Pro 7 14AHP9 (AMD, Realtek ALC287) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yoga9-linux.