vt_set_led_state(9)
π vt_set_led_state(9) π
okay so bestie, welcome to the Kernel API Manual page for vt_set_led_state(9) β yes, the LED-setting console cutie. no cap, this one is short and sweet. π
β¨ NAME β¨
vt_set_led_state β set LED state of a console. periodt. π
πΈ SYNOPSIS πΈ
void vt_set_led_state (unsigned int console , int leds );
π ARGUMENTS π
consoleβ console to set. like, the console youβre setting, bestie. π₯οΈledsβ LED bits. literally the LED bits. β¨
π¦ DESCRIPTION π¦
Set the LEDs on a console. ποΈ
This is a wrapper for the VT layer so that we can keep kbd knowledge internal. thatβs the whole vibe β clean interface outside, kbd lore safely inside. π
π SEE ALSO π
- Kernel file
./drivers/tty/vt/keyboard.c vt_get_leds(9)vt_kbd_con_start(9)vt_kbd_con_stop(9)vt_do_diacrit(9)vt_do_kdskbmode(9)vt_do_kdskbmeta(9)vt_do_kdgkbmeta(9)vt_reset_unicode(9)vt_get_shift_state(9)vt_reset_keyboard(9)vt_get_kbd_mode_bit(9)vt_set_kbd_mode_bit(9)vt_clr_kbd_mode_bit(9)
this little icon is brought to you by the source at ./drivers/tty/vt, dated October 2026, and it lives in the Kernel API Manual. mwah πβ¨π«Ά
π¦ 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