Bug 204913
Summary: | LG gram 14'' laptop extra features | ||
---|---|---|---|
Product: | Drivers | Reporter: | alexgallotta |
Component: | Platform_x86 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | NEW --- | ||
Severity: | normal | CC: | drivers_platform_x86, nicomu.net |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 5.3-rc7 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
alexgallotta
2019-09-19 05:25:38 UTC
additional features: trying to change values of some config using root and "echo value > file" > FN Lock > Writing 0/1 to /sys/devices/platform/lg-laptop/fn_lock disables/enables FN > lock. value does not change > Battery care limit > Writing 80/100 to /sys/devices/platform/lg-laptop/battery_care_limit sets the > maximum capacity to charge the battery. Limiting the charge reduces battery > capacity loss over time.This value is reset to 100 when the kernel boots. value is 0 and does not change > Keyboard backlight > A led device named kbd_led controls the keyboard backlight. There are three > lighting level: off (0), low (127) and high (255). value does not change I looked for the maintainer in https://github.com/torvalds/linux/blob/a2953204b576ea3ba4afd07b917811d50fc49778/MAINTAINERS#L9210 M: Matan Ziv-Av <matan@svgalib.org> L: platform-driver-x86@vger.kernel.org but it seems there is no such a user/email here I reached out the maintainer above via email. After some info exchange and patch test he did not reply anymore LG Control Center on Windows now has 3 fan modes. "Silent", "Normal" and "Performance". Linux has just two, "Silent" and "Normal". It would be really nice to have "Performance" mode too. I'd like to add feature myself, but I barely understand how ACPI works. I think that calling lg_wmab(189, WM_SET, value); // from (/drivers/platform/x86/lg-laptop.c) would toggle performance mode, but I am not sure, nor I have tried it. |