[Bug 279690] Inbuilt keyboard capslock LED does not work past bootloader on a MacBook Pro 11.4

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Jun 2024 16:12:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279690

--- Comment #4 from megamansec@gmail.com ---
And just for a small final correction for the record.. To make the light come
on, I need to:

1. Enable hkbd and enable usbhid in /boot/loader.conf:
hkbd_load="YES"
hw.usb.usbhid.enable="1"
2. Build the kernel without ukbd (it still seems to build and install it;
probably as a fallback?)
3. reboot

The "hidraw" driver also works. AFAICT, it's only the ukbd driver which this
inbuilt keyboard's capslock LED is incompatible. This is the device
information:

ugen0.4: <Apple Inc. Apple Internal Keyboard / Trackpad> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x05ac 
  idProduct = 0x0274 
  bcdDevice = 0x0624 
  iManufacturer = 0x0001  <Apple Inc.>
  iProduct = 0x0002  <Apple Internal Keyboard / Trackpad>
  iSerialNumber = 0x0003  <D3H74250UC1FTV4A76PF>
  bNumConfigurations = 0x0001

-- 
You are receiving this mail because:
You are the assignee for the bug.