/srv/irclogs.ubuntu.com/2020/01/31/#ubuntu-kernel.txt

=== JanC_ is now known as JanC
zx2c4apw: woah hey famous already https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-20.04-Adds-WireGuard12:26
zx2c4also, cool https://usercontent.irccloud-cdn.com/file/Ww768WV1/image.png12:27
apwzx2c4, the wheels are grinding ... as distros go we are pretty quick13:24
zx2c4Sure sounds it!13:26
zx2c4Aside from the sausage making process of course13:26
apwzx2c4, that is as much as anything about multiple checks and balances13:27
zeripathHi! I've recently got a HP Omen 15 - it's got fancy keyboard backlights and I was wondering about how I could get them configured from linux without going in to windows17:05
zeripathI've discovered that they're attached to the ACPI names(?) "\_SB_.WMID.LM02" to get and "\_SB_.WMID.LM03" to set 17:06
zeripathso if I do echo "\_SB_.WMID.LM02" | sudo tee /proc/acpi/call > /dev/null; && sudo cat /proc/acpi/call; echo;17:07
zeripathI'll get something that I can read the values for the current backlight settings from17:07
zeripathbut I don't know how to structure the Set17:08
zeripathI've got the DSDT.dsl 17:08
zeripathbut I don't know how to read it.17:08
zeripathWhat's interesting is that the windows client does a very different thing17:09
zeripathit appears to send commands to 131081 -> (Which maps to 0x20009 which is what these things are mapped to) 17:10
zeripathcan anyone help me or give me some pointers?17:13
sarnoldzeripath: have you seen the acpica-tools package?18:32
zeripathsarnold: heya! 18:33
zeripathas in acpiexec?18:34
zeripathso I used iasl to get the dsdt.dsl - which is where I've found the name18:36
tomreynWMI as in (Ms) "Windows Management Instrumentation", IIRC?21:18
tomreynand i think someone wrote a client for linux to make these systems work at all.21:19
tomreynhttps://wiki.ubuntu.com/Kernel/Reference/WMI21:20
tomreynhttps://lwn.net/Articles/391230/21:20
tomreynhttps://github.com/torvalds/linux/blob/master/drivers/platform/x86/hp-wmi.c21:21
tomreynzeripath: ^21:21
zeripathtomreyn: Is there a userspace way of querying these?21:26
tomreynzeripath: this is all i know really, sorry.21:27
zeripathSo I think hp_wmi_perform_query() might show the way to do it but I'd rather do something in userspace at least to test stuf21:31
zeripathInteresting the commmand number would be 0x20009 which is substantially higher than the ones in that function21:32
zeripathThe fans would be actually 0x20008 21:34
tomreyndo you have "ACPI Error: Method parse/execution failed" for something involving \_SB_.WMID? i read 5.2.1 got some patches about HP WMI ACPI table parsing.21:39
tomreynactually 5.4.2, namely https://bugzilla.kernel.org/show_bug.cgi?id=20198121:42
ubot5bugzilla.kernel.org bug 201981 in BIOS "ACPI Error Method parse/execution failed \HWMC, AE_AML_BUFFER_LIMIT - HP Envy x360" [High,Resolved: code_fix]21:42
tomreynzeripath: see what you have in sysfs21:44
tomreyn+   lsmod | grep hp-wmi21:47
zeripathThere are a few of these errors - but I'm fairly certain that linux doesn't know about these LEDS22:07
zeripathtomreyn: So I don't have hp-wmi as module in lsmod and I can't modprobe it either22:25
zeripathI'll have another think about this tomorrow. Thanks for your help22:27
tomreynhmm should have been a module though?   grep HP_WMI /boot/config-$(uname -r)    tells me CONFIG_HP_WMI=m22:28
tomreynubuntu 18.04 with HWE (linux 5.3)22:28

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!