From: Mark Kettenis Subject: Re: aplhidev: enable on amd64, add keyboard backlight support To: joshua stein Cc: tech@openbsd.org Date: Sat, 15 Nov 2025 09:16:01 +0100 > Date: Fri, 14 Nov 2025 08:33:02 -0600 > From: joshua stein > > On Thu, 13 Nov 2025 at 22:09:09 -0500, Bryan Steele wrote: > > On Thu, Nov 13, 2025 at 08:15:16PM -0600, joshua stein wrote: > > > This moves aplhidev out of arch/arm64 and into dev/spi, adds > > > attachment via ACPI through ispi, enables it on amd64, and adds > > > support for adjusting keyboard backlight through 'wsconsctl > > > keyboard.backlight'. > > > > > > Tested on a 2017 MacBook 12". Hopefully it didn't break anything on > > > Apple M* arm64 laptops and I'm curious if the keyboard backlight > > > support also works there. > > > > > > I haven't tested your diff, but at least on Apple M1 there is are > > seperate pwm(4)/pwmled(4) drivers that handle the keyboard backlight > > which this may conflict with. > > Ah, ok. I'll make the keyboard backlight stuff only take over on > the !fdt attachment. Is the keyboard backlight stuff described in the HID descriptors?