Running on Raspberry Pi OS 5.10 with my kernel.
Code:
--------------------
uname -a
Linux raspberrypi 5.10.11-pwcec #3 Sun Jan 31 13:32:50 GMT 2021 armv6l
GNU/Linux
--------------------
In ran cec-ctl first and then did the same with your version of
sdltest.
First pair to show sdltest is working
This is using the TV remote up/right/down/left
cec-ctl
Code:
--------------------
Initial Event: State Change: PA: 2.0.0.0, LA mask: 0x0010
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Up (0x01)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Right (0x04)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Down (0x02)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_POLL
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Left (0x03)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
--------------------
sdltest
Code:
--------------------
Press:- Scancode: 0x67, Name: up, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x67, Name: up
Modifers: None
Press:- Scancode: 0x6A, Name: right, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x6A, Name: right
Modifers: None
Press:- Scancode: 0x6C, Name: down, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x6C, Name: down
Modifers: None
Press:- Scancode: 0x69, Name: left, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x69, Name: left
Modifers: None
--------------------
Now the media transport keys
cec-ctl
Code:
--------------------
Initial Event: State Change: PA: 2.0.0.0, LA mask: 0x0010
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_POLL
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Rewind (0x48)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Play (0x44)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Fast forward (0x49)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Pause (0x46)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_PRESSED
(0x44):
ui-cmd: Stop (0x45)
Received from TV to Playback Device 1 (0 to 4): CEC_MSG_USER_CONTROL_RELEASED
(0x45)
--------------------
sdltest
Code:
--------------------
Press:- Scancode: 0x00, Name: unknown key, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x00, Name: unknown key
Modifers: None
Press:- Scancode: 0x00, Name: unknown key, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x00, Name: unknown key
Modifers: None
Press:- Scancode: 0x00, Name: unknown key, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x00, Name: unknown key
Modifers: None
Press:- Scancode: 0x00, Name: unknown key, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x00, Name: unknown key
Modifers: None
Press:- Scancode: 0x00, Name: unknown key, Unicode: ? (0x0000)
Modifers: None
Release:- Scancode: 0x00, Name: unknown key
Modifers: None
--------------------
Could it be something as simple as ensuring that SDL built to support
media controls (Windows Media Remote)?
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113784
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix