Hi
could you use cec-ctl to test?the cec-client still not work
Install v4l-utils:
sudo apt-get install v4l-utils
Configure CEC
sudo cec-ctl --phys-addr=2.0.0.0 --playback
Test
sudo cec-compliance
Turn TV off
root@linaro-alip:~# sudo cec-ctl --standby -t0
Driver Info:
Driver Name : dwhdmi-rockchip
Adapter Name : dw_hdmi
Capabilities : 0x0000000e
Logical Addresses
Transmit
Passthrough
Driver version : 4.4.154
Available Logical Addresses: 4
Physical Address : 3.0.0.0
Logical Address Mask : 0x0010
CEC Version : 2.0
Vendor ID : 0x000c03 (HDMI)
OSD Name : 'Playback'
Logical Addresses : 1 (Allow RC Passthrough)
Logical Address : 4 (Playback Device 1)
Primary Device Type : Playback
Logical Address Type : Playback
All Device Types : Playback
RC TV Profile : None
Device Features :
None
Transmit from Playback Device 1 to TV (4 to 0):
CEC_MSG_STANDBY (0x36)
Sequence: 54 Tx Timestamp: 416.161s
Turn TV on
sudo cec-ctl --image-view-on -t0
list the ui commands TV support
root@linaro-alip:~# cec-ctl --list-ui-commands
'ui-cmd' can have these values:
Select (0)
Up (1)
Down (2)
Left (3)
Right (4)
Right-Up (5)
Right-Down (6)
Left-Up (7)
Left-Down (8)
Device Root Menu (9)
Device Setup Menu (10)
Contents Menu (11)
Favorite Menu (12)
Back (13)
Media Top Menu (16)
Media Context-sensitive Menu (17)
Number Entry Mode (29)
Number 11 (30)
Number 12 (31)
Number 0 or Number 10 (32)
Number 1 (33)
Number 2 (34)
Number 3 (35)
Number 4 (36)
Number 5 (37)
Number 6 (38)
Number 7 (39)
Number 8 (40)
Number 9 (41)
Dot (42)
Enter (43)
Clear (44)
Next Favorite (47)
Channel Up (48)
Channel Down (49)
Previous Channel (50)
Sound Select (51)
Input Select (52)
Display Information (53)
Help (54)
Page Up (55)
Page Down (56)
Power (64)
Volume Up (65)
Volume Down (66)
Mute (67)
Play (68)
Stop (69)
Pause (70)
Record (71)
Rewind (72)
Fast forward (73)
Eject (74)
Skip Forward (75)
Skip Backward (76)
Stop-Record (77)
Pause-Record (78)
Angle (80)
Sub picture (81)
Video on Demand (82)
Electronic Program Guide (83)
Timer Programming (84)
Initial Configuration (85)
Select Broadcast Type (86)
Select Sound Presentation (87)
Audio Description (88)
Internet (89)
3D Mode (90)
Play Function (96)
Pause-Play Function (97)
Record Function (98)
Pause-Record Function (99)
Stop Function (100)
Mute Function (101)
Restore Volume Function (102)
Tune Function (103)
Select Media Function (104)
Select A/V Input Function (105)
Select Audio Input Function (106)
Power Toggle Function (107)
Power Off Function (108)
Power On Function (109)
F1 (Blue) (113)
F2 (Red) (114)
F3 (Green) (115)
F4 (Yellow) (116)
F5 (117)
Data (118)
Driver Info:
Driver Name : dwhdmi-rockchip
Adapter Name : dw_hdmi
Capabilities : 0x0000000e
Logical Addresses
Transmit
Passthrough
Driver version : 4.4.154
Available Logical Addresses: 4
Physical Address : 3.0.0.0
Logical Address Mask : 0x0010
CEC Version : 2.0
Vendor ID : 0x000c03 (HDMI)
OSD Name : 'Playback'
Logical Addresses : 1 (Allow RC Passthrough)
Logical Address : 4 (Playback Device 1)
Primary Device Type : Playback
Logical Address Type : Playback
All Device Types : Playback
RC TV Profile : None
Device Features :
None