STRUCT COMMAND_PROTOCOL_BL(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐ŸŒธ NAME ๐ŸŒธ

okay so bestie, this page is struct command_protocol_bl(9) from the Kernel API Manual โ€” and it's literally the keyboard backlight brightness setter message vibe ๐Ÿ’กโœจ

  • struct command_protocol_bl โ€” set keyboard backlight brightness
  • message.type = 0xB051, message.length = 0x0006

โœจ SYNOPSIS โœจ

here's the exact struct, no cap ๐Ÿซถ

struct command_protocol_bl {
    __le16 const1;
    __le16 level;
    __le16 const2;
    __le16 crc16;
 };

๐Ÿ’… Members ๐Ÿ’…

  • const1 โ€” value: 0x01B0. fixed lil' buddy, periodt ๐ŸŽ€
  • level โ€” the brightness level to set. this is the main character of the struct, fr fr โœจ
  • const2 โ€” value: 0x0001 (backlight off), 0x01F4 (backlight on). it's giving on/off energy ๐Ÿ’ก
  • crc16 โ€” crc over the whole message struct (message header + this struct) minus this crc16 field. yes bestie, the checksum covers everything except itself ๐Ÿงฎ๐Ÿ’…

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

  • Kernel file ./drivers/input/keyboard/applespi.c struct keyboard_protocol(9)
  • struct tp_finger(9)
  • struct touchpad_protocol(9)
  • struct command_protocol_tp_info(9)
  • struct touchpad_info_protocol(9)
  • struct command_protocol_mt_init(9)
  • struct command_protocol_capsl(9)
  • struct message(9)
  • struct spi_packet(9)

that's the whole page, bestie ๐ŸŽ€ source/version: ./drivers/input/keyboard, date: October 2026, title still struct command_protocol_bl(9) โ€” slay, you understood the assignment ๐Ÿ’–

๐Ÿ“ฆ where this page comes from