=== JanC_ is now known as JanC [12:26] apw: woah hey famous already https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-20.04-Adds-WireGuard [12:27] also, cool https://usercontent.irccloud-cdn.com/file/Ww768WV1/image.png [13:24] zx2c4, the wheels are grinding ... as distros go we are pretty quick [13:26] Sure sounds it! [13:26] Aside from the sausage making process of course [13:27] zx2c4, that is as much as anything about multiple checks and balances [17:05] Hi! 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 windows [17:06] I've discovered that they're attached to the ACPI names(?) "\_SB_.WMID.LM02" to get and "\_SB_.WMID.LM03" to set [17:07] so if I do echo "\_SB_.WMID.LM02" | sudo tee /proc/acpi/call > /dev/null; && sudo cat /proc/acpi/call; echo; [17:07] I'll get something that I can read the values for the current backlight settings from [17:08] but I don't know how to structure the Set [17:08] I've got the DSDT.dsl [17:08] but I don't know how to read it. [17:09] What's interesting is that the windows client does a very different thing [17:10] it appears to send commands to 131081 -> (Which maps to 0x20009 which is what these things are mapped to) [17:13] can anyone help me or give me some pointers? [18:32] zeripath: have you seen the acpica-tools package? [18:33] sarnold: heya! [18:34] as in acpiexec? [18:36] so I used iasl to get the dsdt.dsl - which is where I've found the name [21:18] WMI as in (Ms) "Windows Management Instrumentation", IIRC? [21:19] and i think someone wrote a client for linux to make these systems work at all. [21:20] https://wiki.ubuntu.com/Kernel/Reference/WMI [21:20] https://lwn.net/Articles/391230/ [21:21] https://github.com/torvalds/linux/blob/master/drivers/platform/x86/hp-wmi.c [21:21] zeripath: ^ [21:26] tomreyn: Is there a userspace way of querying these? [21:27] zeripath: this is all i know really, sorry. [21:31] So 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 stuf [21:32] Interesting the commmand number would be 0x20009 which is substantially higher than the ones in that function [21:34] The fans would be actually 0x20008 [21:39] do 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:42] actually 5.4.2, namely https://bugzilla.kernel.org/show_bug.cgi?id=201981 [21:42] bugzilla.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:44] zeripath: see what you have in sysfs [21:47] + lsmod | grep hp-wmi [22:07] There are a few of these errors - but I'm fairly certain that linux doesn't know about these LEDS [22:25] tomreyn: So I don't have hp-wmi as module in lsmod and I can't modprobe it either [22:27] I'll have another think about this tomorrow. Thanks for your help [22:28] hmm should have been a module though? grep HP_WMI /boot/config-$(uname -r) tells me CONFIG_HP_WMI=m [22:28] ubuntu 18.04 with HWE (linux 5.3)