Skip to content

Instantly share code, notes, and snippets.

@ignisf
Created May 17, 2021 01:47
Show Gist options
  • Save ignisf/1c5831f87a1ef812e80c86676c47b76b to your computer and use it in GitHub Desktop.
Save ignisf/1c5831f87a1ef812e80c86676c47b76b to your computer and use it in GitHub Desktop.
box:~ # cec-client -d 0
== skipped log-level parameter: invalid level '0' ==
No device type given. Using 'recording device'
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: [ 42] Broadcast (F): osd name set to 'Broadcast'
NOTICE: [ 42] connection opened
DEBUG: [ 43] << Broadcast (F) -> TV (0): POLL
TRAFFIC: [ 43] << f0
DEBUG: [ 43] processor thread started
DEBUG: [ 73] >> POLL sent
DEBUG: [ 73] TV (0): device status changed into 'present'
DEBUG: [ 73] << requesting vendor ID of 'TV' (0)
TRAFFIC: [ 73] << f0:8c
TRAFFIC: [ 305] >> 0f:87:00:e0:91
DEBUG: [ 305] TV (0): vendor = LG (00e091)
DEBUG: [ 306] expected response received (87: device vendor id)
DEBUG: [ 306] replacing the command handler for device 'TV' (0)
DEBUG: [ 306] >> TV (0) -> Broadcast (F): device vendor id (87)
DEBUG: [ 306] TV (0): CEC version 1.3a
DEBUG: [ 306] TV (0): menu language set to 'eng'
DEBUG: [ 306] registering new CEC client - v6.0.2
DEBUG: [ 306] SetClientVersion - using client version '6.0.2'
NOTICE: [ 306] setting HDMI port to 1 on device TV (0)
DEBUG: [ 306] SetConfiguration: double tap timeout = 200ms, repeat rate = 0ms, release delay = 500ms
DEBUG: [ 306] detecting logical address for type 'recording device'
DEBUG: [ 306] trying logical address 'Recorder 1'
DEBUG: [ 306] << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [ 306] << 11
TRAFFIC: [ 531] >> 0f:87:00:e0:91
DEBUG: [ 531] >> TV (0) -> Broadcast (F): device vendor id (87)
WARNING: [ 782] Write: write failed
TRAFFIC: [ 782] << 11
WARNING: [ 782] Write: write failed
DEBUG: [ 782] >> POLL not sent
DEBUG: [ 782] using logical address 'Recorder 1'
DEBUG: [ 782] Recorder 1 (1): device status changed into 'handled by libCEC'
DEBUG: [ 782] Recorder 1 (1): power status changed from 'unknown' to 'on'
DEBUG: [ 782] Recorder 1 (1): vendor = Pulse Eight (001582)
DEBUG: [ 782] Recorder 1 (1): CEC version 1.4
DEBUG: [ 782] AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
DEBUG: [ 784] Recorder 1 (1): osd name set to 'CECTester'
DEBUG: [ 784] Recorder 1 (1): menu language set to 'eng'
DEBUG: [ 784] using auto-detected physical address 4000
DEBUG: [ 784] Recorder 1 (1): physical address changed from ffff to 4000
DEBUG: [ 784] << Recorder 1 (1) -> broadcast (F): physical address 4000
TRAFFIC: [ 784] << 1f:84:40:00:01
NOTICE: [ 932] CEC client registered: libCEC version = 6.0.2, client version = 6.0.2, firmware version = 5, logical address(es) = Recorder 1 (1) , 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: [ 932] Recorder 1 (1): vendor = LG (00e091)
DEBUG: [ 932] replacing the command handler for device 'Recorder 1' (1)
DEBUG: [ 932] Recorder 1 (1): CEC version 1.3a
DEBUG: [ 932] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 932] << 10:47:43:45:43:54:65:73:74:65:72
DEBUG: [ 1219] << requesting power status of 'TV' (0)
TRAFFIC: [ 1219] << 10:8f
TRAFFIC: [ 1283] >> 01:46
DEBUG: [ 1283] >> TV (0) -> Recorder 1 (1): give osd name (46)
DEBUG: [ 1351] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 1351] << 10:47:43:45:43:54:65:73:74:65:72
TRAFFIC: [ 1702] >> 01:8c
DEBUG: [ 1702] << Recorder 1 (1) -> TV (0): vendor id LG (e091)
TRAFFIC: [ 1702] << 1f:87:00:e0:91
DEBUG: [ 1702] >> TV (0) -> Recorder 1 (1): give device vendor id (8C)
TRAFFIC: [ 1907] >> 01:8f
DEBUG: [ 1907] << Recorder 1 (1) -> TV (0): on
TRAFFIC: [ 1907] << 10:90:00
DEBUG: [ 1907] >> TV (0) -> Recorder 1 (1): give device power status (8F)
TRAFFIC: [ 2066] >> 01:8f
WARNING: [ 2066] FIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
DEBUG: [ 2066] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 2066] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 2066] << 10:90:02
DEBUG: [ 2068] >> TV (0) -> Recorder 1 (1): give device power status (8F)
DEBUG: [ 2146] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 2234] >> 01:90:00
waiting for input
DEBUG: [ 2234] TV (0): power status changed from 'unknown' to 'on'
DEBUG: [ 2234] expected response received (90: report power status)
DEBUG: [ 2234] >> TV (0) -> Recorder 1 (1): report power status (90)
TRAFFIC: [ 2302] >> 01:8f
WARNING: [ 2302] FIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
DEBUG: [ 2302] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 2302] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 2302] << 10:90:02
DEBUG: [ 2303] >> TV (0) -> Recorder 1 (1): give device power status (8F)
DEBUG: [ 2395] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 2483] >> 01:89:0b
DEBUG: [ 2483] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 2483] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 2483] << 10:90:02
DEBUG: [ 2484] >> TV (0) -> Recorder 1 (1): vendor command (89)
DEBUG: [ 2578] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 2667] >> 01:89:01
DEBUG: [ 2667] Recorder 1 (1): power status changed from 'on' to 'standby'
DEBUG: [ 2667] << Recorder 1 (1) -> TV (0): standby
TRAFFIC: [ 2667] << 10:90:01
DEBUG: [ 2668] >> TV (0) -> Recorder 1 (1): vendor command (89)
TRAFFIC: [ 2762] << 10:89:02:05
NOTICE: [ 2866] SL initialised
TRAFFIC: [ 2930] >> 01:8f
DEBUG: [ 2930] << Recorder 1 (1) -> TV (0): standby
TRAFFIC: [ 2930] << 10:90:01
DEBUG: [ 2931] >> TV (0) -> Recorder 1 (1): give device power status (8F)
DEBUG: [ 3023] Recorder 1 (1): power status changed from 'standby' to 'on'
TRAFFIC: [ 14508] >> 0f:87:00:e0:91
DEBUG: [ 14508] << Recorder 1 (1) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 14508] << 1f:87:00:e0:91
DEBUG: [ 14509] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 14690] >> 01
DEBUG: [ 14690] << POLL: TV (0) -> Recorder 1 (1)
TRAFFIC: [ 14784] >> 01:89:0b
DEBUG: [ 14784] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 14784] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 14784] << 10:90:02
DEBUG: [ 14785] >> TV (0) -> Recorder 1 (1): vendor command (89)
DEBUG: [ 14877] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 28511] >> 0f:87:00:e0:91
DEBUG: [ 28511] << Recorder 1 (1) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 28511] << 1f:87:00:e0:91
DEBUG: [ 28511] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 28693] >> 01
DEBUG: [ 28693] << POLL: TV (0) -> Recorder 1 (1)
TRAFFIC: [ 28786] >> 01:89:0b
DEBUG: [ 28786] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 28786] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 28786] << 10:90:02
DEBUG: [ 28787] >> TV (0) -> Recorder 1 (1): vendor command (89)
DEBUG: [ 28881] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 28970] >> 01:89:01
DEBUG: [ 28970] Recorder 1 (1): power status changed from 'on' to 'standby'
DEBUG: [ 28970] << Recorder 1 (1) -> TV (0): standby
TRAFFIC: [ 28970] << 10:90:01
DEBUG: [ 28970] >> TV (0) -> Recorder 1 (1): vendor command (89)
TRAFFIC: [ 29065] << 10:89:02:05
NOTICE: [ 29169] SL initialised
TRAFFIC: [ 29232] >> 01:83
DEBUG: [ 29233] >> TV (0) -> Recorder 1 (1): give physical address (83)
DEBUG: [ 29233] << Recorder 1 (1) -> broadcast (F): physical address 4000
TRAFFIC: [ 29233] << 1f:84:40:00:01
TRAFFIC: [ 29545] >> 01:46
DEBUG: [ 29545] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 29545] << 10:47:43:45:43:54:65:73:74:65:72
DEBUG: [ 29547] >> TV (0) -> Recorder 1 (1): give osd name (46)
TRAFFIC: [ 29896] >> 01:8c
DEBUG: [ 29896] << Recorder 1 (1) -> TV (0): vendor id LG (e091)
TRAFFIC: [ 29896] << 1f:87:00:e0:91
DEBUG: [ 29897] >> TV (0) -> Recorder 1 (1): give device vendor id (8C)
TRAFFIC: [ 30101] >> 01:8f
DEBUG: [ 30101] << Recorder 1 (1) -> TV (0): standby
TRAFFIC: [ 30101] << 10:90:01
DEBUG: [ 30102] >> TV (0) -> Recorder 1 (1): give device power status (8F)
DEBUG: [ 30194] Recorder 1 (1): power status changed from 'standby' to 'on'
TRAFFIC: [ 30257] >> 01:8f
DEBUG: [ 30257] << Recorder 1 (1) -> TV (0): on
TRAFFIC: [ 30257] << 10:90:00
DEBUG: [ 30259] >> TV (0) -> Recorder 1 (1): give device power status (8F)
TRAFFIC: [ 30439] >> 01:89:0b
DEBUG: [ 30439] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 30439] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 30439] << 10:90:02
DEBUG: [ 30440] >> TV (0) -> Recorder 1 (1): vendor command (89)
DEBUG: [ 30534] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
TRAFFIC: [ 30622] >> 01:89:01
DEBUG: [ 30622] Recorder 1 (1): power status changed from 'on' to 'standby'
DEBUG: [ 30622] << Recorder 1 (1) -> TV (0): standby
TRAFFIC: [ 30622] << 10:90:01
DEBUG: [ 30624] >> TV (0) -> Recorder 1 (1): vendor command (89)
TRAFFIC: [ 30717] << 10:89:02:05
NOTICE: [ 30821] SL initialised
TRAFFIC: [ 30885] >> 01:8f
DEBUG: [ 30885] << Recorder 1 (1) -> TV (0): standby
TRAFFIC: [ 30885] << 10:90:01
DEBUG: [ 30886] >> TV (0) -> Recorder 1 (1): give device power status (8F)
DEBUG: [ 30978] Recorder 1 (1): power status changed from 'standby' to 'on'
TRAFFIC: [ 42512] >> 0f:87:00:e0:91
DEBUG: [ 42512] << Recorder 1 (1) -> Broadcast (F): vendor id LG (e091)
TRAFFIC: [ 42512] << 1f:87:00:e0:91
DEBUG: [ 42514] >> TV (0) -> Broadcast (F): device vendor id (87)
TRAFFIC: [ 42694] >> 01
DEBUG: [ 42694] << POLL: TV (0) -> Recorder 1 (1)
TRAFFIC: [ 42788] >> 01:89:0b
DEBUG: [ 42788] Recorder 1 (1): power status changed from 'on' to 'in transition from standby to on'
DEBUG: [ 42788] << Recorder 1 (1) -> TV (0): in transition from standby to on
TRAFFIC: [ 42788] << 10:90:02
DEBUG: [ 42789] >> TV (0) -> Recorder 1 (1): vendor command (89)
DEBUG: [ 42880] Recorder 1 (1): power status changed from 'in transition from standby to on' to 'on'
^Csignal caught: 2 - exiting
DEBUG: [ 53159] unregistering all CEC clients
NOTICE: [ 53159] unregistering client: libCEC version = 6.0.2, client version = 6.0.2, firmware version = 5, logical address(es) = Recorder 1 (1) , 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: [ 53159] Recorder 1 (1): power status changed from 'on' to 'unknown'
DEBUG: [ 53159] Recorder 1 (1): vendor = Unknown (000000)
DEBUG: [ 53159] Recorder 1 (1): CEC version unknown
DEBUG: [ 53159] Recorder 1 (1): osd name set to 'Recorder 1'
DEBUG: [ 53159] Recorder 1 (1): device status changed into 'unknown'
DEBUG: [ 53162] unregistering all CEC clients
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment