-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I noticed that sometimes my IR remote key gets stuck in pressed state. After some debugging it seems like it happens in python-cec.
To reproduce - click the same button after the initial click quickly. Quite frequently it triggers a situation where it registers only key down and does not send key up.
It does however still trigger command callback, so I'll use that for now as a workaround.
Here is some debug log from cecdaemon.
CEC DEBUG: got command callback
Got event 4 with data ({'initiator': 0, 'destination': 1, 'ack': False, 'eom': True, 'opcode': 68, 'parameters': b'\x03', 'opcode_set': True, 'transmit_timeout': 1000},)
CEC DEBUG: Callback succeeded
CEC DEBUG: got keypress callback
DEBUG:root:3 is mapped to KEY_LEFT
DEBUG:root:Key 3 down
CEC DEBUG: Callback succeeded
CEC DEBUG: got command callback
Got event 4 with data ({'initiator': 0, 'destination': 1, 'ack': False, 'eom': True, 'opcode': 69, 'parameters': b'', 'opcode_set': True, 'transmit_timeout': 1000},)
CEC DEBUG: Callback succeeded
Metadata
Metadata
Assignees
Labels
No labels