ir_do_keyup(9)
π ir_do_keyup β the kernel's little "key went up bestie" moment π
okay so this page lives in the Kernel API Manual, section 9 β that's the kernel API section, iykyk π
β¨ NAME β¨
ir_do_keyup β the internal function that signals a keypress got released π«Ά
πΈ SYNOPSIS πΈ
void ir_do_keyup (struct rc_dev *dev , bool sync );
like, that's the whole vibe. void, no return, just vibes and side effects π
π¦ ARGUMENTS π¦
devβ thestruct rc_devdescriptor of the device. it's giving "which remote are we talking about" energy πsyncβ whether or not to callinput_sync. yes/no, do it or don't, that's the whole question β¨
β DESCRIPTION β
okay so real talk: this function is used internally to release a keypress. and here's the important bit, no cap β it must be called with keylock held. π like, that's not a suggestion, that's the rule. hold the lock, bestie. don't be the reason things go sideways ππ
π SEE ALSO π
this part is literally a whole friend group, so buckle up π§
Kernel file ./drivers/media/rc/rc-main.c, plus:
scancode_to_u64(9), ir_create_table(9), ir_free_table(9), ir_resize_table(9), ir_update_mapping(9), ir_establish_scancode(9), ir_setkeycode(9), ir_setkeytable(9), ir_lookup_by_scancode(9), ir_getkeycode(9), rc_g_keycode_from_table(9), rc_keyup(9), ir_timer_keyup(9), ir_timer_repeat(9), rc_repeat(9), ir_do_keydown(9), rc_keydown(9), rc_keydown_notimeout(9), rc_validate_scancode(9), rc_validate_filter(9), struct rc_filter_attribute(9), show_protocols(9), parse_protocol_change(9), store_protocols(9), show_filter(9), store_filter(9), show_wakeup_protocols(9), store_wakeup_protocols(9)
likeβ¦ that's a lot of besties. every single one of them made the list. slay π
π reminder:ir_do_keyupis internal-only and you gotta holdkeylockwhen you call it. that's the whole plot. periodt. π
mwah, that's a wrap π β this lil page comes from ./drivers/media/rc and it's dated October 2026, and the source/version line is ir_do_keyup(9). see u in the next manpage, bestie π¦π
π¦ 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