Вот уже пол года, как я на ноуте прикрутил отображение текущего уровня громкости при его изменении клавишами Fn+F7/F8. Обычным osdsh.
Есть акустика с пультом ДУ. Так вот по непонятным причинам ноут реагирует, если медленно нажимать на некоторые клавиши пульта (например подержать кнопку уменьшения громкости нажатой в течение секунды). Какого-либо инфракрасного порта нету. acpi_listen ничего не видит, зато xev отображает следующее:
KeyPress event, serial 34, synthetic NO, window 0x4200001,
root 0x5e, subw 0x0, time 92342799, (-4,774), root:(0,799),
state 0x10, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x4200001,
root 0x5e, subw 0x0, time 92342801, (-4,774), root:(0,799),
state 0x10, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 34, synthetic NO, window 0x4200001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 34, synthetic NO, window 0x4200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 34, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyPress event, serial 34, synthetic NO, window 0x4200001,
root 0x5e, subw 0x0, time 92368930, (-4,774), root:(0,799),
state 0x10, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x4200001,
root 0x5e, subw 0x0, time 92368931, (-4,774), root:(0,799),
state 0x10, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Вот сижу, пытаюсь понять, что это за фигня. Кейкоды бывают разные.