STRUCT COMMAND_PROTOCOL_BL(9)
๐ธ 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 brightnessmessage.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 thiscrc16field. yes bestie, the checksum covers everything except itself ๐งฎ๐
๐ฆ SEE ALSO ๐ฆ
- Kernel file
./drivers/input/keyboard/applespi.cstructkeyboard_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
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms