Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Testing CEC with Pulse8 USB adapter on Ubuntu + Vizio TV - f.f.f.f Address only with Golang code?
$ echo 'scan' | cec-client -s
opening a connection to the CEC adapter...
DEBUG: [ 54] Broadcast (F): osd name set to 'Broadcast'
DEBUG: [ 55] connection opened, clearing any previous input and waiting for active transmissions to end before starting
DEBUG: [ 60] communication thread started
DEBUG: [ 171] turning controlled mode on
NOTICE: [ 343] connection opened
DEBUG: [ 343] processor thread started
DEBUG: [ 343] << Broadcast (F) -> TV (0): POLL
TRAFFIC: [ 343] << f0
DEBUG: [ 343] setting the line timeout to 3
DEBUG: [ 484] >> POLL sent
DEBUG: [ 484] TV (0): device status changed into 'present'
DEBUG: [ 484] << requesting vendor ID of 'TV' (0)
TRAFFIC: [ 484] << f0:8c
TRAFFIC: [ 708] >> 0f:87:9d:19:00
DEBUG: [ 708] TV (0): vendor = Unknown (9d1900)
DEBUG: [ 708] >> TV (0) -> Broadcast (F): device vendor id (87)
DEBUG: [ 708] expected response received (87: device vendor id)
NOTICE: [ 708] registering new CEC client - v4.0.1
DEBUG: [ 708] detecting logical address for type 'recording device'
DEBUG: [ 708] trying logical address 'Recorder 1'
DEBUG: [ 708] << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [ 708] << 11
DEBUG: [ 782] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 783] << 11
TRAFFIC: [ 912] >> 2f:87:00:15:82
DEBUG: [ 912] Recorder 2 (2): vendor = Pulse Eight (001582)
DEBUG: [ 912] device Recorder 2 (2) status changed to present after command device vendor id
DEBUG: [ 912] >> Recorder 2 (2) -> Broadcast (F): device vendor id (87)
DEBUG: [ 967] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 967] >> POLL not sent
DEBUG: [ 967] using logical address 'Recorder 1'
DEBUG: [ 967] Recorder 1 (1): device status changed into 'handled by libCEC'
DEBUG: [ 967] Recorder 1 (1): power status changed from 'unknown' to 'on'
DEBUG: [ 967] Recorder 1 (1): vendor = Pulse Eight (001582)
DEBUG: [ 967] Recorder 1 (1): CEC version 1.4
DEBUG: [ 967] AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
DEBUG: [ 967] setting ackmask to 2
DEBUG: [ 1023] Recorder 1 (1): osd name set to 'CECTester'
DEBUG: [ 1023] Recorder 1 (1): menu language set to 'eng'
DEBUG: [ 1023] GetPhysicalAddress - trying to get the physical address via ADL
DEBUG: [ 1023] GetPhysicalAddress - ADL returned physical address 0000
DEBUG: [ 1023] GetPhysicalAddress - trying to get the physical address via nvidia driver
DEBUG: [ 1023] GetPhysicalAddress - nvidia driver returned physical address 0000
DEBUG: [ 1023] GetPhysicalAddress - trying to get the physical address from the OS
DEBUG: [ 1023] GetPhysicalAddress - OS returned physical address 0000
NOTICE: [ 1023] setting HDMI port to 1 on device TV (0)
DEBUG: [ 1023] Recorder 1 (1): physical address changed from ffff to 1000
DEBUG: [ 1023] << Recorder 1 (1) -> broadcast (F): physical address 1000
TRAFFIC: [ 1023] << 1f:84:10:00:01
DEBUG: [ 1217] using persisted autonomous mode setting: 'enabled'
DEBUG: [ 1241] using persisted CEC version setting: '1.4'
TRAFFIC: [ 1246] >> 01:46
DEBUG: [ 1246] using persisted logical address setting: 'Recorder 1'
DEBUG: [ 1246] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 1246] << 10:47:43:45:43:54:65:73:74:65:72
DEBUG: [ 1246] >> TV (0) -> Recorder 1 (1): give osd name (46)
DEBUG: [ 1251] using persisted device type setting: 'recording device'
DEBUG: [ 1518] using persisted logical address mask setting: '206'
DEBUG: [ 1583] using persisted device name setting: 'CECTester'
DEBUG: [ 1588] using persisted physical address setting: '1000'
NOTICE: [ 1589] CEC client registered: libCEC version = 4.0.1, client version = 4.0.1, firmware version = 8, firmware build date: Fri Jul 21 09:08:24 2017 +0000, logical address(es) = Recorder 1 (1) , base device: TV (0), HDMI port number: 1, physical address: 1.0.0.0, compiled on Linux-4.4.0-59-generic ... , features: P8_USB, DRM, P8_detect, randr
DEBUG: [ 1589] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 1589] << 10:47:43:45:43:54:65:73:74:65:72
DEBUG: [ 1916] << requesting power status of 'TV' (0)
TRAFFIC: [ 1916] << 10:8f
TRAFFIC: [ 2155] >> 01:90:00
DEBUG: [ 2155] TV (0): power status changed from 'unknown' to 'on'
DEBUG: [ 2155] expected response received (90: report power status)
DEBUG: [ 2155] >> TV (0) -> Recorder 1 (1): report power status (90)
requesting CEC bus information ...
DEBUG: [ 2155] << Recorder 1 (1) -> Tuner 1 (3): POLL
TRAFFIC: [ 2155] << 13
DEBUG: [ 2240] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 2240] << 13
DEBUG: [ 2325] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 2325] >> POLL not sent
DEBUG: [ 2325] Tuner 1 (3): device status changed into 'not present'
DEBUG: [ 2325] << Recorder 1 (1) -> Playback 1 (4): POLL
TRAFFIC: [ 2325] << 14
DEBUG: [ 2410] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 2410] << 14
DEBUG: [ 2495] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 2495] >> POLL not sent
DEBUG: [ 2495] Playback 1 (4): device status changed into 'not present'
DEBUG: [ 2495] << Recorder 1 (1) -> Audio (5): POLL
TRAFFIC: [ 2495] << 15
DEBUG: [ 2580] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 2580] << 15
DEBUG: [ 2665] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 2665] >> POLL not sent
DEBUG: [ 2665] Audio (5): device status changed into 'not present'
DEBUG: [ 2665] << Recorder 1 (1) -> Tuner 2 (6): POLL
TRAFFIC: [ 2665] << 16
DEBUG: [ 2750] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 2751] << 16
DEBUG: [ 2836] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 2836] >> POLL not sent
DEBUG: [ 2836] Tuner 2 (6): device status changed into 'not present'
DEBUG: [ 2836] << Recorder 1 (1) -> Tuner 3 (7): POLL
TRAFFIC: [ 2836] << 17
DEBUG: [ 2921] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 2921] << 17
DEBUG: [ 3006] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 3006] >> POLL not sent
DEBUG: [ 3006] Tuner 3 (7): device status changed into 'not present'
DEBUG: [ 3006] << Recorder 1 (1) -> Playback 2 (8): POLL
TRAFFIC: [ 3006] << 18
DEBUG: [ 3092] >> POLL sent
DEBUG: [ 3092] Playback 2 (8): device status changed into 'present'
DEBUG: [ 3092] << Recorder 1 (1) -> Recorder 3 (9): POLL
TRAFFIC: [ 3092] << 19
DEBUG: [ 3177] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 3177] << 19
DEBUG: [ 3262] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 3262] >> POLL not sent
DEBUG: [ 3262] Recorder 3 (9): device status changed into 'not present'
DEBUG: [ 3262] << Recorder 1 (1) -> Tuner 4 (A): POLL
TRAFFIC: [ 3262] << 1a
DEBUG: [ 3347] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 3347] << 1a
DEBUG: [ 3432] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 3432] >> POLL not sent
DEBUG: [ 3432] Tuner 4 (A): device status changed into 'not present'
DEBUG: [ 3432] << Recorder 1 (1) -> Playback 3 (B): POLL
TRAFFIC: [ 3432] << 1b
DEBUG: [ 3517] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 3517] << 1b
DEBUG: [ 3602] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 3602] >> POLL not sent
DEBUG: [ 3602] Playback 3 (B): device status changed into 'not present'
DEBUG: [ 3602] << Recorder 1 (1) -> Reserved 1 (C): POLL
TRAFFIC: [ 3602] << 1c
DEBUG: [ 3688] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 3688] << 1c
DEBUG: [ 3773] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 3773] >> POLL not sent
DEBUG: [ 3773] Reserved 1 (C): device status changed into 'not present'
DEBUG: [ 3773] << Recorder 1 (1) -> Reserved 2 (D): POLL
TRAFFIC: [ 3773] << 1d
DEBUG: [ 3858] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 3858] << 1d
DEBUG: [ 3943] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 3943] >> POLL not sent
DEBUG: [ 3943] Reserved 2 (D): device status changed into 'not present'
DEBUG: [ 3943] << Recorder 1 (1) -> Free use (E): POLL
TRAFFIC: [ 3943] << 1e
DEBUG: [ 4028] CEC transmission - received response - TRANSMIT_FAILED_ACK
TRAFFIC: [ 4028] << 1e
DEBUG: [ 4113] CEC transmission - received response - TRANSMIT_FAILED_ACK
DEBUG: [ 4113] >> POLL not sent
DEBUG: [ 4113] Free use (E): device status changed into 'not present'
DEBUG: [ 4113] << requesting active source
TRAFFIC: [ 4113] << 1f:85
DEBUG: [ 5168] expected response not received (82: active source)
TRAFFIC: [ 5168] << 1f:85
DEBUG: [ 6223] expected response not received (82: active source)
DEBUG: [ 6223] << requesting CEC version of 'TV' (0)
TRAFFIC: [ 6223] << 10:9f
TRAFFIC: [ 6465] >> 01:9e:05
DEBUG: [ 6465] TV (0): CEC version 1.4
DEBUG: [ 6465] >> TV (0) -> Recorder 1 (1): cec version (9E)
DEBUG: [ 6465] expected response received (9E: cec version)
DEBUG: [ 6465] << requesting menu language of 'TV' (0)
TRAFFIC: [ 6465] << 10:91
TRAFFIC: [ 6683] >> 0f:32:65:6e:67
DEBUG: [ 6683] TV (0): menu language set to 'eng'
DEBUG: [ 6683] >> TV (0) -> Broadcast (F): set menu language (32)
DEBUG: [ 6683] expected response received (32: set menu language)
DEBUG: [ 6683] << requesting physical address of 'Recorder 2' (2)
TRAFFIC: [ 6683] << 12:83
TRAFFIC: [ 6934] >> 2f:84:10:00:01
DEBUG: [ 6934] Recorder 2 (2): physical address changed from ffff to 1000
DEBUG: [ 6934] setting physical address to '1000'
DEBUG: [ 6934] << Recorder 1 (1) -> broadcast (F): physical address 1000
TRAFFIC: [ 6934] << 1f:84:10:00:01
DEBUG: [ 6934] >> Recorder 2 (2) -> Broadcast (F): report physical address (84)
DEBUG: [ 7100] expected response received (84: report physical address)
DEBUG: [ 7100] << requesting CEC version of 'Recorder 2' (2)
TRAFFIC: [ 7100] << 12:9f
TRAFFIC: [ 7134] >> 02:46
TRAFFIC: [ 7348] >> 20:47:4b:6f:64:69
DEBUG: [ 7348] Recorder 2 (2): osd name set to 'Kodi'
TRAFFIC: [ 7501] >> 21:9e:05
DEBUG: [ 7501] Recorder 2 (2): CEC version 1.4
DEBUG: [ 7501] expected response received (9E: cec version)
DEBUG: [ 7501] << requesting power status of 'Recorder 2' (2)
TRAFFIC: [ 7501] << 12:8f
DEBUG: [ 7501] >> Recorder 2 (2) -> Recorder 1 (1): cec version (9E)
TRAFFIC: [ 7698] >> 21:90:00
DEBUG: [ 7698] Recorder 2 (2): power status changed from 'unknown' to 'on'
DEBUG: [ 7698] expected response received (90: report power status)
DEBUG: [ 7698] >> Recorder 2 (2) -> Recorder 1 (1): report power status (90)
DEBUG: [ 7698] << requesting menu language of 'Recorder 2' (2)
TRAFFIC: [ 7698] << 12:91
TRAFFIC: [ 7945] >> 2f:32:65:6e:67
DEBUG: [ 7945] Recorder 2 (2): menu language set to 'eng'
DEBUG: [ 7945] expected response received (32: set menu language)
DEBUG: [ 7945] >> Recorder 2 (2) -> Broadcast (F): set menu language (32)
DEBUG: [ 7945] << requesting vendor ID of 'Playback 2' (8)
TRAFFIC: [ 7945] << 18:8c
TRAFFIC: [ 8172] >> 8f:87:08:00:46
DEBUG: [ 8172] Playback 2 (8): vendor = Sony (080046)
DEBUG: [ 8172] expected response received (87: device vendor id)
DEBUG: [ 8172] >> Playback 2 (8) -> Broadcast (F): device vendor id (87)
DEBUG: [ 8172] << requesting physical address of 'Playback 2' (8)
TRAFFIC: [ 8172] << 18:83
TRAFFIC: [ 8479] >> 8f:84:20:00:04
DEBUG: [ 8479] Playback 2 (8): physical address changed from ffff to 2000
DEBUG: [ 8479] >> Playback 2 (8) -> Broadcast (F): report physical address (84)
DEBUG: [ 8479] expected response received (84: report physical address)
DEBUG: [ 8479] << requesting CEC version of 'Playback 2' (8)
TRAFFIC: [ 8479] << 18:9f
TRAFFIC: [ 8533] >> 08:46
TRAFFIC: [ 8755] >> 80:47:42:44
DEBUG: [ 8755] Playback 2 (8): osd name set to 'BD'
TRAFFIC: [ 8892] >> 81:9e:05
DEBUG: [ 8892] Playback 2 (8): CEC version 1.4
DEBUG: [ 8893] expected response received (9E: cec version)
DEBUG: [ 8893] << requesting power status of 'Playback 2' (8)
DEBUG: [ 8893] >> Playback 2 (8) -> Recorder 1 (1): cec version (9E)
TRAFFIC: [ 8893] << 18:8f
TRAFFIC: [ 9124] >> 81:90:00
DEBUG: [ 9124] Playback 2 (8): power status changed from 'unknown' to 'on'
DEBUG: [ 9124] expected response received (90: report power status)
DEBUG: [ 9124] << requesting menu language of 'Playback 2' (8)
TRAFFIC: [ 9124] << 18:91
DEBUG: [ 9124] >> Playback 2 (8) -> Recorder 1 (1): report power status (90)
TRAFFIC: [ 9379] >> 81:00:91:00
DEBUG: [ 9379] marking opcode 'get menu language' as unsupported feature for device 'Playback 2'
DEBUG: [ 9379] expected response received (32: set menu language)
DEBUG: [ 9379] >> Playback 2 (8) -> Recorder 1 (1): feature abort ( 0)
DEBUG: [ 9379] << requesting active source
TRAFFIC: [ 9379] << 1f:85
DEBUG: [ 10434] expected response not received (82: active source)
TRAFFIC: [ 10434] << 1f:85
CEC bus information
===================
device #0: TV
address: 0.0.0.0
active source: no
vendor: Unknown
osd string: TV
CEC version: 1.4
power status: on
language: eng
device #1: Recorder 1
address: 1.0.0.0
active source: no
vendor: Pulse Eight
osd string: CECTester
CEC version: 1.4
power status: on
language: eng
device #2: Recorder 2
address: 1.0.0.0
active source: no
vendor: Pulse Eight
osd string: Kodi
CEC version: 1.4
power status: on
language: eng
device #8: Playback 2
address: 2.0.0.0
active source: no
vendor: Sony
osd string: BD
CEC version: 1.4
power status: on
language: ???
currently active source: unknown (-1)
DEBUG: [ 11489] expected response not received (82: active source)
DEBUG: [ 11489] unregistering all CEC clients
NOTICE: [ 11489] unregistering client: libCEC version = 4.0.1, client version = 4.0.1, firmware version = 8, firmware build date: Fri Jul 21 09:08:24 2017 +0000, logical address(es) = Recorder 1 (1) , physical address: 1.0.0.0, compiled on Linux-4.4.0-59-generic ... , features: P8_USB, DRM, P8_detect, randr
DEBUG: [ 11489] Recorder 1 (1): power status changed from 'on' to 'unknown'
DEBUG: [ 11489] Recorder 1 (1): vendor = Unknown (000000)
DEBUG: [ 11489] Recorder 1 (1): CEC version unknown
DEBUG: [ 11489] Recorder 1 (1): osd name set to 'Recorder 1'
DEBUG: [ 11489] Recorder 1 (1): device status changed into 'unknown'
DEBUG: [ 11489] setting ackmask to 0
DEBUG: [ 11540] turning controlled mode off
DEBUG: [ 11596] unregistering all CEC clients
DEBUG: [ 12376] communication thread ended
$ test-cec
Using CEC Device Name: saturn
2018/01/14 16:46:49 Broadcast (F): osd name set to 'Broadcast'
2018/01/14 16:46:49 connection opened, clearing any previous input and waiting for active transmissions to end before starting
2018/01/14 16:46:49 communication thread started
2018/01/14 16:46:49 turning controlled mode on
2018/01/14 16:46:49 connection opened
2018/01/14 16:46:49 processor thread started
2018/01/14 16:46:49 << Broadcast (F) -> TV (0): POLL
2018/01/14 16:46:49 << f0
2018/01/14 16:46:49 setting the line timeout to 3
2018/01/14 16:46:49 >> POLL sent
2018/01/14 16:46:49 TV (0): device status changed into 'present'
2018/01/14 16:46:49 << requesting vendor ID of 'TV' (0)
2018/01/14 16:46:49 << f0:8c
2018/01/14 16:46:50 >> 0f:87:9d:19:00
2018/01/14 16:46:50 TV (0): vendor = Unknown (9d1900)
2018/01/14 16:46:50 expected response received (87: device vendor id)
2018/01/14 16:46:50 registering new CEC client - v4.0.1
2018/01/14 16:46:50 detecting logical address for type 'recording device'
2018/01/14 16:46:50 trying logical address 'Recorder 1'
2018/01/14 16:46:50 << Recorder 1 (1) -> Recorder 1 (1): POLL
2018/01/14 16:46:50 << 11
2018/01/14 16:46:50 >> TV (0) -> Broadcast (F): device vendor id (87)
2018/01/14 16:46:50 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:50 << 11
2018/01/14 16:46:50 >> 2f:87:00:15:82
2018/01/14 16:46:50 Recorder 2 (2): vendor = Pulse Eight (001582)
2018/01/14 16:46:50 device Recorder 2 (2) status changed to present after command device vendor id
2018/01/14 16:46:50 >> Recorder 2 (2) -> Broadcast (F): device vendor id (87)
2018/01/14 16:46:50 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:50 >> POLL not sent
2018/01/14 16:46:50 using logical address 'Recorder 1'
2018/01/14 16:46:50 Recorder 1 (1): device status changed into 'handled by libCEC'
2018/01/14 16:46:50 Recorder 1 (1): power status changed from 'unknown' to 'on'
2018/01/14 16:46:50 Recorder 1 (1): vendor = Pulse Eight (001582)
2018/01/14 16:46:50 AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
2018/01/14 16:46:50 AllocateLogicalAddresses - device '1', type 'TV', LA '0'
2018/01/14 16:46:50 setting ackmask to 3
2018/01/14 16:46:50 TV (0): menu language set to ''
2018/01/14 16:46:50 Recorder 1 (1): osd name set to 'saturn'
2018/01/14 16:46:50 Recorder 1 (1): menu language set to ''
2018/01/14 16:46:50 GetPhysicalAddress - trying to get the physical address via ADL
2018/01/14 16:46:50 GetPhysicalAddress - ADL returned physical address 0000
2018/01/14 16:46:50 GetPhysicalAddress - trying to get the physical address via nvidia driver
2018/01/14 16:46:50 GetPhysicalAddress - nvidia driver returned physical address 0000
2018/01/14 16:46:50 GetPhysicalAddress - trying to get the physical address from the OS
2018/01/14 16:46:50 GetPhysicalAddress - OS returned physical address 0000
2018/01/14 16:46:50 SetPhysicalAddress - resetting HDMI port and base device to defaults
2018/01/14 16:46:50 CEC client registered: libCEC version = 4.0.1, client version = 4.0.1, firmware version = 8, firmware build date: Fri Jul 21 09:08:24 2017 +0000, logical address(es) = TV (0) Recorder 1 (1) , base device: unknown (FFFFFFFF), HDMI port number: 0, physical address: f.f.f.f, compiled on Linux-4.4.0-59-generic ... , features: P8_USB, DRM, P8_detect, randr
2018/01/14 16:46:50 << Recorder 1 (1) -> TV (0): OSD name 'saturn'
2018/01/14 16:46:50 << 10:47:73:61:74:75:72:6e
2018/01/14 16:46:50 << requesting power status of 'TV' (0)
2018/01/14 16:46:50 << 10:8f
2018/01/14 16:46:50 >> 01:90:00
2018/01/14 16:46:50 TV (0): power status changed from 'unknown' to 'on'
2018/01/14 16:46:50 expected response received (90: report power status)
2018/01/14 16:46:50 << TV (0) -> Tuner 1 (3): POLL
2018/01/14 16:46:50 << 03
2018/01/14 16:46:50 >> TV (0) -> Recorder 1 (1): report power status (90)
2018/01/14 16:46:50 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:50 << 03
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 >> POLL not sent
2018/01/14 16:46:51 Tuner 1 (3): device status changed into 'not present'
2018/01/14 16:46:51 << TV (0) -> Playback 1 (4): POLL
2018/01/14 16:46:51 << 04
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 << 04
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 >> POLL not sent
2018/01/14 16:46:51 Playback 1 (4): device status changed into 'not present'
2018/01/14 16:46:51 << TV (0) -> Audio (5): POLL
2018/01/14 16:46:51 << 05
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 << 05
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 >> POLL not sent
2018/01/14 16:46:51 Audio (5): device status changed into 'not present'
2018/01/14 16:46:51 << TV (0) -> Tuner 2 (6): POLL
2018/01/14 16:46:51 << 06
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 << 06
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 >> POLL not sent
2018/01/14 16:46:51 Tuner 2 (6): device status changed into 'not present'
2018/01/14 16:46:51 << TV (0) -> Tuner 3 (7): POLL
2018/01/14 16:46:51 << 07
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 << 07
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 >> POLL not sent
2018/01/14 16:46:51 Tuner 3 (7): device status changed into 'not present'
2018/01/14 16:46:51 << TV (0) -> Playback 2 (8): POLL
2018/01/14 16:46:51 << 08
2018/01/14 16:46:51 >> POLL sent
2018/01/14 16:46:51 Playback 2 (8): device status changed into 'present'
2018/01/14 16:46:51 << TV (0) -> Recorder 3 (9): POLL
2018/01/14 16:46:51 << 09
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 << 09
2018/01/14 16:46:51 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:51 >> POLL not sent
2018/01/14 16:46:51 Recorder 3 (9): device status changed into 'not present'
2018/01/14 16:46:51 << TV (0) -> Tuner 4 (A): POLL
2018/01/14 16:46:51 << 0a
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 << 0a
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 >> POLL not sent
2018/01/14 16:46:52 Tuner 4 (A): device status changed into 'not present'
2018/01/14 16:46:52 << TV (0) -> Playback 3 (B): POLL
2018/01/14 16:46:52 << 0b
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 << 0b
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 >> POLL not sent
2018/01/14 16:46:52 Playback 3 (B): device status changed into 'not present'
2018/01/14 16:46:52 << TV (0) -> Reserved 1 (C): POLL
2018/01/14 16:46:52 << 0c
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 << 0c
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 >> POLL not sent
2018/01/14 16:46:52 Reserved 1 (C): device status changed into 'not present'
2018/01/14 16:46:52 << TV (0) -> Reserved 2 (D): POLL
2018/01/14 16:46:52 << 0d
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 << 0d
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 >> POLL not sent
2018/01/14 16:46:52 Reserved 2 (D): device status changed into 'not present'
2018/01/14 16:46:52 << TV (0) -> Free use (E): POLL
2018/01/14 16:46:52 << 0e
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 << 0e
2018/01/14 16:46:52 CEC transmission - received response - TRANSMIT_FAILED_ACK
2018/01/14 16:46:52 >> POLL not sent
2018/01/14 16:46:52 Free use (E): device status changed into 'not present'
2018/01/14 16:46:52 << requesting physical address of 'Recorder 2' (2)
2018/01/14 16:46:52 << 12:83
2018/01/14 16:46:53 >> 2f:84:10:00:01
2018/01/14 16:46:53 Recorder 2 (2): physical address changed from ffff to 1000
2018/01/14 16:46:53 expected response received (84: report physical address)
2018/01/14 16:46:53 << requesting OSD name of 'Recorder 2' (2)
2018/01/14 16:46:53 << 12:46
2018/01/14 16:46:53 >> Recorder 2 (2) -> Broadcast (F): report physical address (84)
2018/01/14 16:46:53 >> 02:46
2018/01/14 16:46:53 >> 20:47:4b:6f:64:69
2018/01/14 16:46:53 Recorder 2 (2): osd name set to 'Kodi'
2018/01/14 16:46:53 expected response received (47: set osd name)
2018/01/14 16:46:53 << requesting power status of 'Recorder 2' (2)
2018/01/14 16:46:53 >> Recorder 2 (2) -> TV (0): set osd name (47)
2018/01/14 16:46:53 << 12:8f
2018/01/14 16:46:53 >> 21:47:4b:6f:64:69
2018/01/14 16:46:53 >> Recorder 2 (2) -> Recorder 1 (1): set osd name (47)
2018/01/14 16:46:53 >> 21:90:00
2018/01/14 16:46:53 Recorder 2 (2): power status changed from 'unknown' to 'on'
2018/01/14 16:46:53 expected response received (90: report power status)
2018/01/14 16:46:53 << requesting vendor ID of 'Playback 2' (8)
2018/01/14 16:46:53 << 18:8c
2018/01/14 16:46:53 >> Recorder 2 (2) -> Recorder 1 (1): report power status (90)
2018/01/14 16:46:53 >> 8f:87:08:00:46
2018/01/14 16:46:53 Playback 2 (8): vendor = Sony (080046)
2018/01/14 16:46:53 expected response received (87: device vendor id)
2018/01/14 16:46:53 << requesting physical address of 'Playback 2' (8)
2018/01/14 16:46:53 << 18:83
2018/01/14 16:46:53 >> Playback 2 (8) -> Broadcast (F): device vendor id (87)
2018/01/14 16:46:54 >> 8f:84:20:00:04
2018/01/14 16:46:54 Playback 2 (8): physical address changed from ffff to 2000
2018/01/14 16:46:54 expected response received (84: report physical address)
2018/01/14 16:46:54 << requesting OSD name of 'Playback 2' (8)
2018/01/14 16:46:54 << 18:46
2018/01/14 16:46:54 >> Playback 2 (8) -> Broadcast (F): report physical address (84)
2018/01/14 16:46:54 >> 08:46
2018/01/14 16:46:54 >> 80:47:42:44
2018/01/14 16:46:54 Playback 2 (8): osd name set to 'BD'
2018/01/14 16:46:54 expected response received (47: set osd name)
2018/01/14 16:46:54 << requesting power status of 'Playback 2' (8)
2018/01/14 16:46:54 << 18:8f
2018/01/14 16:46:54 >> Playback 2 (8) -> TV (0): set osd name (47)
2018/01/14 16:46:54 >> 81:47:42:44
2018/01/14 16:46:54 >> Playback 2 (8) -> Recorder 1 (1): set osd name (47)
CEC bus information
2018/01/14 16:46:54 >> 81:90:00
===================
Found 4 devices!
Trying to match against Regex: .*TV.*
2018/01/14 16:46:54 Playback 2 (8): power status changed from 'unknown' to 'on'
2018/01/14 16:46:54 expected response received (90: report power status)
device 0: TV
address: 0.0.0.0
active source: no
vendor:
osd string: TV
power status: on
2018/01/14 16:46:54 >> Playback 2 (8) -> Recorder 1 (1): report power status (90)
MATCHED!
true
Trying to match against Regex: .*TV.*
device 1: Recording
address: f.f.f.f
active source: no
vendor: Pulse Eight
osd string: saturn
power status: on
NOT MATCHED!
false
Trying to match against Regex: .*TV.*
device 2: Recording2
address: 1.0.0.0
active source: no
vendor: Pulse Eight
osd string: Kodi
power status: on
NOT MATCHED!
false
Trying to match against Regex: .*TV.*
device 8: Playback2
address: 2.0.0.0
active source: no
vendor: Sony
osd string: BD
power status: on
NOT MATCHED!
false
2018/01/14 16:46:54 << powering on 'TV' (0)
2018/01/14 16:46:54 << 10:04
Comparing cmd ActiveSource with name SetAnalogueTimer = 0x34
Comparing cmd ActiveSource with name DeckStatus = 0x1b
Comparing cmd ActiveSource with name TunerStepDecrement = 0x6
Comparing cmd ActiveSource with name GiveSystemAudioModeStatus = 0x7d
Comparing cmd ActiveSource with name ReportAudioStatus = 0x7a
Comparing cmd ActiveSource with name MenuRequest = 0x8d
Comparing cmd ActiveSource with name MenuStatus = 0x8e
Comparing cmd ActiveSource with name ClearExternalTimer = 0xa1
Comparing cmd ActiveSource with name SetDigitalTimer = 0x97
Comparing cmd ActiveSource with name ImageViewOn = 0x4
Comparing cmd ActiveSource with name SystemAudioModeRequest = 0x70
Comparing cmd ActiveSource with name SetExternalTimer = 0xa2
Comparing cmd ActiveSource with name RecordTVScreen = 0xf
Comparing cmd ActiveSource with name SetSystemAudioMode = 0x72
Comparing cmd ActiveSource with name TunerStepIncrement = 0x5
Comparing cmd ActiveSource with name TunerDeviceStatus = 0x7
Comparing cmd ActiveSource with name GiveAudioStatus = 0x71
Comparing cmd ActiveSource with name UserControlPressed = 0x44
Comparing cmd ActiveSource with name UserControlReleased = 0x45
Comparing cmd ActiveSource with name ClearDigitalTimer = 0x99
Comparing cmd ActiveSource with name SelectDigitalService = 0x93
Comparing cmd ActiveSource with name TextViewOn = 0xd
Comparing cmd ActiveSource with name RecordOff = 0xb
Comparing cmd ActiveSource with name RecordStatus = 0xa
Comparing cmd ActiveSource with name GiveDeckStatus = 0x1a
Comparing cmd ActiveSource with name Play = 0x41
Comparing cmd ActiveSource with name GiveTunerDeviceStatus = 0x8
Comparing cmd ActiveSource with name SelectAnalogueService = 0x92
Comparing cmd ActiveSource with name SetTimerProgramTitle = 0x67
Comparing cmd ActiveSource with name RecordOn = 0x9
Comparing cmd ActiveSource with name SystemAudioModeStatus = 0x7e
Comparing cmd ActiveSource with name TimerStatus = 0x35
Comparing cmd ActiveSource with name Standby = 0x36
Comparing cmd ActiveSource with name DeckControl = 0x42
Comparing cmd ActiveSource with name ActiveSource = 0x82
Attempt to transmit command: ActiveSource = 0x82
CEC bus information
===================
Found 4 devices!
Trying to match against Regex: .*saturn.*
device 2: Recording2
address: 1.0.0.0
active source: no
vendor: Pulse Eight
osd string: Kodi
power status: on
NOT MATCHED!
false
Trying to match against Regex: .*saturn.*
device 8: Playback2
address: 2.0.0.0
active source: no
vendor: Sony
osd string: BD
power status: on
NOT MATCHED!
false
Trying to match against Regex: .*saturn.*
device 0: TV
address: 0.0.0.0
active source: no
vendor:
osd string: TV
power status: on
NOT MATCHED!
false
Trying to match against Regex: .*saturn.*
device 1: Recording
address: f.f.f.f
active source: no
vendor: Pulse Eight
osd string: saturn
power status: on
MATCHED!
true
Recording
1
["f" "f" "f" "f"]
1F:82:ff:ff
2018/01/14 16:46:54 << 1f:82:ff:ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.