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