бегло посмотрел
если заустить в ssh
cec-client
можно получить примерно такое
TRAFFIC: [ 50414] >> 01:44:02
DEBUG: [ 50414] SetCurrentButton down (2) D:0ms cur:2
DEBUG: [ 50414] key pressed: down (2) current(ff) duration(0)
DEBUG: [ 50414] Changed key down (2) D:0ms cur:ff
DEBUG: [ 50414] key pressed: down (2, 0)
DEBUG: [ 50414] CheckKeypressTimeout T:2726.119
DEBUG: [ 50414] Key down: idle (duration:0) (2) timeout:1944055128ms (rel:500,rep:0,prs:500,rel:0)
DEBUG: [ 50414] >> TV (0) -> Recorder 1 (1): user control pressed (44)
TRAFFIC: [ 50506] >> 01:8b:02
DEBUG: [ 50506] key released: down (2) D:92ms
DEBUG: [ 50506] >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
разработчики raspberry красавцы. в LibreElec есть штатная возможность включения кучи логов. в том числе и HDMI CEC. А потом их можно просто чакачть по самбе.
вот навскидку, что я нашел по громкости. По хорошему, надо будет обнулить логи и заново запустить.
15:47:12.600 T:1944903680 DEBUG: OnKey: volume_up (0xf0b9) pressed, action is VolumeUp
15:47:12.604 T:1789916064 DEBUG: CecLogMessage - << 15:44:41
15:47:12.665 T:1944903680 DEBUG: Keyboard: scancode: 0x73, sym: 0x00af, unicode: 0x0000, modifier: 0x0
15:47:12.858 T:1789916064 DEBUG: CecLogMessage - << 15:45
15:47:14.250 T:1944903680 DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
15:47:14.250 T:1944903680 DEBUG: OnKey: volume_down (0xf0b8) pressed, action is VolumeDown
15:47:14.251 T:1789916064 DEBUG: CecLogMessage - << 15:44:42
15:47:14.433 T:1944903680 DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
15:47:14.505 T:1789916064 DEBUG: CecLogMessage - << 15:45
15:47:14.550 T:1944903680 DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
15:47:14.551 T:1944903680 DEBUG: OnKey: volume_down (0xf0b8) pressed, action is VolumeDown
15:47:14.570 T:1789916064 DEBUG: CecLogMessage - << 15:44:42
15:47:14.651 T:1944903680 DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
15:47:14.717 T:1944903680 DEBUG: Previous line repeats 1 times.
15:47:14.717 T:1944903680 DEBUG: OnKey: volume_down (0xf0b8) pressed, action is VolumeDown
15:47:14.722 T:1789916064 DEBUG: CecLogMessage - << 15:44:42
15:47:14.975 T:1789916064 DEBUG: CecLogMessage - << 15:45
15:47:15.051 T:1944903680 DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
15:47:15.101 T:1944903680 DEBUG: Previous line repeats 1 times.
15:47:15.101 T:1944903680 DEBUG: OnKey: volume_down (0xf0b8) pressed, action is VolumeDown
15:47:15.106 T:1789916064 DEBUG: CecLogMessage - << 15:44:42
15:47:15.268 T:1944903680 DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
15:47:15.334 T:1944903680 DEBUG: Previous line repeats 1 times.
15:47:15.335 T:1944903680 DEBUG: OnKey: volume_down (0xf0b8) pressed, action is VolumeDown
15:47:15.345 T:1789916064 DEBUG: CecLogMessage - << 15:44:42