On Sat, Jul 16, 2016 at 04:42:01PM +0200, Mark Kettenis wrote: > Hi Frank, > > Your diff makes acpiasus(4) attach to "pnp0c14" which is a fairly > generic device ID that will match non-ASUS machines as well. That's a > bit of a problem. > > The "pnp0c14" ID indicates that the device is a WMI device. And the > AML you sent me indeed contains WMI methods. The acpiasus(4) driver > was written for a different device. I believe pirofti@ was at some > point working on a WMI driver for ASUS laptops. Peraps he can shed > some more light on this. > > It is interesting that your diff makes (some) stuff work. Because as > far as I can tell it doesn't actually make OpenBSD receive hotkey > events. Can you elaborate what works with this diff and what doesn't? > It would also good to check whether it changes things behind the back > of the OS or if things like volume level and brightness level get > updated properly when you press the hotkeys. > > Cheers, > > Mark
Hello Mark, You observations made me doubt the patch and after some more testing I found out that I don't need it to have the volume keys work, they apparently already work out-of-the box nowadays. However, I do need some method to prevent acpivideo from attaching, as that disabled the use of brightness control. What would be the best method to achieve that? Thanks for your help. Frank
