Skip to content

Instantly share code, notes, and snippets.

@ignisf
Created May 17, 2021 01:48
Show Gist options
  • Save ignisf/af0115eb3e198438ffc6edf1fe01fa7c to your computer and use it in GitHub Desktop.
Save ignisf/af0115eb3e198438ffc6edf1fe01fa7c to your computer and use it in GitHub Desktop.
box:~ # cec-client -t p -d 0
== using device type 'playback device'
== skipped log-level parameter: invalid level '0' ==
CEC Parser created - libCEC version 6.0.2
no serial port given. trying autodetect:
path: /dev/aocec
com port: AOCEC
opening a connection to the CEC adapter...
DEBUG: [ 46] Broadcast (F): osd name set to 'Broadcast'
NOTICE: [ 47] connection opened
DEBUG: [ 47] << Broadcast (F) -> TV (0): POLL
TRAFFIC: [ 47] << f0
DEBUG: [ 47] processor thread started
DEBUG: [ 78] >> POLL sent
DEBUG: [ 78] TV (0): device status changed into 'present'
DEBUG: [ 78] << requesting vendor ID of 'TV' (0)
TRAFFIC: [ 78] << f0:8c
TRAFFIC: [ 78] >> 0f:87:00:e0:91
DEBUG: [ 78] TV (0): vendor = LG (00e091)
DEBUG: [ 78] >> TV (0) -> Broadcast (F): device vendor id (87)
DEBUG: [ 147] expected response received (87: device vendor id)
DEBUG: [ 147] replacing the command handler for device 'TV' (0)
DEBUG: [ 147] TV (0): CEC version 1.3a
DEBUG: [ 147] TV (0): menu language set to 'eng'
DEBUG: [ 147] registering new CEC client - v6.0.2
DEBUG: [ 147] SetClientVersion - using client version '6.0.2'
NOTICE: [ 147] setting HDMI port to 1 on device TV (0)
DEBUG: [ 147] SetConfiguration: double tap timeout = 200ms, repeat rate = 0ms, release delay = 500ms
DEBUG: [ 147] detecting logical address for type 'playback device'
DEBUG: [ 147] trying logical address 'Playback 1'
DEBUG: [ 147] << Playback 1 (4) -> Playback 1 (4): POLL
TRAFFIC: [ 147] << 44
TRAFFIC: [ 329] >> 0f:87:00:e0:91
DEBUG: [ 329] >> TV (0) -> Broadcast (F): device vendor id (87)
WARNING: [ 509] Write: write failed
TRAFFIC: [ 509] << 44
WARNING: [ 509] Write: write failed
DEBUG: [ 509] >> POLL not sent
DEBUG: [ 509] using logical address 'Playback 1'
DEBUG: [ 509] Playback 1 (4): device status changed into 'handled by libCEC'
DEBUG: [ 509] Playback 1 (4): power status changed from 'unknown' to 'on'
DEBUG: [ 509] Playback 1 (4): vendor = Pulse Eight (001582)
DEBUG: [ 509] Playback 1 (4): CEC version 1.4
DEBUG: [ 509] AllocateLogicalAddresses - device '0', type 'playback device', LA '4'
DEBUG: [ 511] Playback 1 (4): osd name set to 'CECTester'
DEBUG: [ 511] Playback 1 (4): menu language set to 'eng'
DEBUG: [ 511] using auto-detected physical address 4000
DEBUG: [ 511] Playback 1 (4): physical address changed from ffff to 4000
DEBUG: [ 511] << Playback 1 (4) -> broadcast (F): physical address 4000
TRAFFIC: [ 511] << 4f:84:40:00:04
NOTICE: [ 659] CEC client registered: libCEC version = 6.0.2, client version = 6.0.2, firmware version = 5, logical address(es) = Playback 1 (4) , physical address: 4.0.0.0, compiled on 2021-05-12 11:26:34 by portisch@ubuntu on Linux 5.4.0-73-generic (x86_64), features: P8_USB, DRM, P8_detect, AOCEC
DEBUG: [ 659] Playback 1 (4): vendor = LG (00e091)
DEBUG: [ 659] replacing the command handler for device 'Playback 1' (4)
DEBUG: [ 659] Playback 1 (4): CEC version 1.3a
DEBUG: [ 659] << Playback 1 (4) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 659] << 40:47:43:45:43:54:65:73:74:65:72
DEBUG: [ 946] << requesting power status of 'TV' (0)
TRAFFIC: [ 946] << 40:8f
TRAFFIC: [ 1010] >> 04:46
DEBUG: [ 1010] >> TV (0) -> Playback 1 (4): give osd name (46)
DEBUG: [ 1078] << Playback 1 (4) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 1078] << 40:47:43:45:43:54:65:73:74:65:72
TRAFFIC: [ 1429] >> 04:8c
DEBUG: [ 1429] << Playback 1 (4) -> TV (0): vendor id LG (e091)
TRAFFIC: [ 1429] << 4f:87:00:e0:91
DEBUG: [ 1429] >> TV (0) -> Playback 1 (4): give device vendor id (8C)
TRAFFIC: [ 1634] >> 04:8f
DEBUG: [ 1634] << Playback 1 (4) -> TV (0): on
TRAFFIC: [ 1634] << 40:90:00
DEBUG: [ 1634] >> TV (0) -> Playback 1 (4): give device power status (8F)
TRAFFIC: [ 1794] >> 04:8f
WARNING: [ 1794] FIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
DEBUG: [ 1794] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 1794] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 1794] << 40:90:02
DEBUG: [ 1795] >> TV (0) -> Playback 1 (4): give device power status (8F)
DEBUG: [ 1873] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 1962] >> 04:90:00
DEBUG: [ 1962] TV (0): power status changed from 'unknown' to 'on'
DEBUG: [ 1962] >> TV (0) -> Playback 1 (4): report power status (90)
DEBUG: [ 1962] expected response received (90: report power status)
waiting for input
TRAFFIC: [ 2030] >> 04:8f
WARNING: [ 2030] FIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
DEBUG: [ 2030] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 2030] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 2030] << 40:90:02
DEBUG: [ 2031] >> TV (0) -> Playback 1 (4): give device power status (8F)
DEBUG: [ 2122] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 2211] >> 04:89:0b
DEBUG: [ 2211] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 2211] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 2211] << 40:90:02
DEBUG: [ 2212] >> TV (0) -> Playback 1 (4): vendor command (89)
DEBUG: [ 2303] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 2393] >> 04:89:01
DEBUG: [ 2393] Playback 1 (4): power status changed from 'on' to 'standby'
DEBUG: [ 2393] << Playback 1 (4) -> TV (0): standby
TRAFFIC: [ 2393] << 40:90:01
DEBUG: [ 2394] >> TV (0) -> Playback 1 (4): vendor command (89)
TRAFFIC: [ 2487] << 40:89:02:05
NOTICE: [ 2590] SL initialised
TRAFFIC: [ 2654] >> 04:8f
DEBUG: [ 2654] << Playback 1 (4) -> TV (0): standby
TRAFFIC: [ 2654] << 40:90:01
DEBUG: [ 2656] >> TV (0) -> Playback 1 (4): give device power status (8F)
DEBUG: [ 2747] Playback 1 (4): power status changed from 'standby' to 'on'
TRAFFIC: [ 2884] >> 0f:87:00:e0:91
DEBUG: [ 2884] << Playback 1 (4) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 2884] << 4f:87:00:e0:91
DEBUG: [ 2885] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 3160] >> 04:89:0b
DEBUG: [ 3160] >> TV (0) -> Playback 1 (4): vendor command (89)
DEBUG: [ 3160] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 3160] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 3160] << 40:90:02
DEBUG: [ 3255] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 3847] >> 04
DEBUG: [ 3847] << POLL: TV (0) -> Playback 1 (4)
TRAFFIC: [ 3916] >> 04:8f
WARNING: [ 3916] FIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
DEBUG: [ 3916] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 3916] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 3916] << 40:90:02
DEBUG: [ 3917] >> TV (0) -> Playback 1 (4): give device power status (8F)
DEBUG: [ 4009] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 14946] >> 0f:87:00:e0:91
DEBUG: [ 14946] << Playback 1 (4) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 14946] << 4f:87:00:e0:91
DEBUG: [ 14948] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 15222] >> 04:89:0b
DEBUG: [ 15222] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 15222] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 15222] << 40:90:02
DEBUG: [ 15223] >> TV (0) -> Playback 1 (4): vendor command (89)
DEBUG: [ 15314] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 17849] >> 04
DEBUG: [ 17849] << POLL: TV (0) -> Playback 1 (4)
TRAFFIC: [ 17917] >> 04:8f
DEBUG: [ 17917] << Playback 1 (4) -> TV (0): on
TRAFFIC: [ 17917] << 40:90:00
DEBUG: [ 17919] >> TV (0) -> Playback 1 (4): give device power status (8F)
TRAFFIC: [ 28949] >> 0f:87:00:e0:91
DEBUG: [ 28949] << Playback 1 (4) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 28949] << 4f:87:00:e0:91
DEBUG: [ 28950] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 29224] >> 04:89:0b
DEBUG: [ 29224] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 29224] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 29224] << 40:90:02
DEBUG: [ 29225] >> TV (0) -> Playback 1 (4): vendor command (89)
DEBUG: [ 29317] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 31850] >> 04
DEBUG: [ 31850] << POLL: TV (0) -> Playback 1 (4)
TRAFFIC: [ 31918] >> 04:8f
DEBUG: [ 31918] << Playback 1 (4) -> TV (0): on
TRAFFIC: [ 31919] << 40:90:00
DEBUG: [ 31920] >> TV (0) -> Playback 1 (4): give device power status (8F)
TRAFFIC: [ 42951] >> 0f:87:00:e0:91
DEBUG: [ 42951] << Playback 1 (4) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 42951] << 4f:87:00:e0:91
DEBUG: [ 42952] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 43226] >> 04:89:0b
DEBUG: [ 43226] Playback 1 (4): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 43226] << Playback 1 (4) -> TV (0): in transition from standby to on
TRAFFIC: [ 43226] << 40:90:02
DEBUG: [ 43228] >> TV (0) -> Playback 1 (4): vendor command (89)
DEBUG: [ 43318] Playback 1 (4): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 45852] >> 04
DEBUG: [ 45852] << POLL: TV (0) -> Playback 1 (4)
TRAFFIC: [ 45921] >> 04:8f
DEBUG: [ 45921] << Playback 1 (4) -> TV (0): on
TRAFFIC: [ 45921] << 40:90:00
DEBUG: [ 45922] >> TV (0) -> Playback 1 (4): give device power status (8F)
^Csignal caught: 2 - exiting
DEBUG: [ 47174] unregistering all CEC clients
NOTICE: [ 47174] unregistering client: libCEC version = 6.0.2, client version = 6.0.2, firmware version = 5, logical address(es) = Playback 1 (4) , physical address: 4.0.0.0, compiled on 2021-05-12 11:26:34 by portisch@ubuntu on Linux 5.4.0-73-generic (x86_64), features: P8_USB, DRM, P8_detect, AOCEC
DEBUG: [ 47174] Playback 1 (4): power status changed from 'on' to 'unknown'
DEBUG: [ 47174] Playback 1 (4): vendor = Unknown (000000)
DEBUG: [ 47174] Playback 1 (4): CEC version unknown
DEBUG: [ 47174] Playback 1 (4): osd name set to 'Playback 1'
DEBUG: [ 47174] Playback 1 (4): device status changed into 'unknown'
DEBUG: [ 47176] unregistering all CEC clients
^Csignal caught: 2 - exiting
^Csignal caught: 2 - exiting
^Csignal caught: 2 - exiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment