Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
724 stars 291 forks source link

Cannot scan Samsung TV - USB ADapter #648

Closed 1quest closed 1 year ago

1quest commented 1 year ago

I've got a Zotac CI329, with Linux Mint running. Plugged in is the Pulse Eight USB-CEC Adapter. The adapter doesn't work with my Samsung TV (Q70T from 2020), below is the output from running

echo scan | cec-client -s

===================


opening a connection to the CEC adapter...
DEBUG:   [              57] Broadcast (F): osd name set to 'Broadcast'
DEBUG:   [              57] connection opened, clearing any previous input and waiting for active transmissions to end before starting
DEBUG:   [              63] communication thread started
DEBUG:   [             174] usbcec: enabling controlled mode
NOTICE:  [             346] connection opened
DEBUG:   [             346] processor thread started
DEBUG:   [             347] << Broadcast (F) -> TV (0): POLL
TRAFFIC: [             347] << f0
DEBUG:   [             347] usbcec: updating line timeout: 3
WARNING: [             422] HIGH_ERROR line:466 time:103
WARNING: [             422] TRANSMIT_FAILED_LINE
DEBUG:   [            1401] command 'CEC transmission' was not acked by the controller
TRAFFIC: [            1902] << f0
WARNING: [            1940] HIGH_ERROR line:466 time:104
WARNING: [            1940] TRANSMIT_FAILED_LINE
DEBUG:   [            2920] command 'CEC transmission' was not acked by the controller
DEBUG:   [            3420] >> POLL not sent
DEBUG:   [            3420] TV (0): device status changed into 'not present'
DEBUG:   [            3420] registering new CEC client - v6.0.2
DEBUG:   [            3492] usbcec: autonomous mode = enabled
DEBUG:   [            3547] usbcec: logical address = Recorder 1
DEBUG:   [            3603] usbcec: device type = recording device
DEBUG:   [            3608] usbcec: logical address mask = 206
DEBUG:   [            3679] usbcec: physical address = 2000
DEBUG:   [            3735] usbcec: auto power on = disabled
DEBUG:   [            3735] SetClientVersion - using client version '6.0.2'
NOTICE:  [            3735] setting HDMI port to 1 on device TV (0)
DEBUG:   [            3735] << Broadcast (F) -> TV (0): POLL
TRAFFIC: [            3735] << f0
WARNING: [            3756] HIGH_ERROR line:466 time:104
WARNING: [            3756] TRANSMIT_FAILED_LINE
DEBUG:   [            4735] command 'CEC transmission' was not acked by the controller
TRAFFIC: [            5235] << f0
WARNING: [            5273] HIGH_ERROR line:466 time:104
WARNING: [            5273] TRANSMIT_FAILED_LINE
DEBUG:   [            6252] command 'CEC transmission' was not acked by the controller
DEBUG:   [            6753] >> POLL not sent
DEBUG:   [            6753] SetConfiguration: double tap timeout = 200ms, repeat rate = 0ms, release delay = 500ms
DEBUG:   [            6753] detecting logical address for type 'recording device'
DEBUG:   [            6753] trying logical address 'Recorder 1'
DEBUG:   [            6753] << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [            6753] << 11
WARNING: [            6790] HIGH_ERROR line:466 time:103
WARNING: [            6790] TRANSMIT_FAILED_LINE
DEBUG:   [            7770] command 'CEC transmission' was not acked by the controller
TRAFFIC: [            8270] << 11
WARNING: [            8308] HIGH_ERROR line:466 time:104
WARNING: [            8308] TRANSMIT_FAILED_LINE
DEBUG:   [            9287] command 'CEC transmission' was not acked by the controller
DEBUG:   [            9788] >> POLL not sent
DEBUG:   [            9788] using logical address 'Recorder 1'
DEBUG:   [            9788] Recorder 1 (1): device status changed into 'handled by libCEC'
DEBUG:   [            9788] Recorder 1 (1): power status changed from 'unknown' to 'on'
DEBUG:   [            9788] Recorder 1 (1): vendor = Pulse Eight (001582)
DEBUG:   [            9788] Recorder 1 (1): CEC version 1.4
DEBUG:   [            9788] AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
DEBUG:   [            9804] usbcec: updating ackmask: 0002
DEBUG:   [            9859] Recorder 1 (1): osd name set to 'CECTester'
DEBUG:   [            9859] Recorder 1 (1): menu language set to 'eng'
DEBUG:   [            9859] GetPhysicalAddress - trying to get the physical address via ADL
DEBUG:   [            9860] GetPhysicalAddress - ADL returned physical address 0000
DEBUG:   [            9860] GetPhysicalAddress - trying to get the physical address via nvidia driver
DEBUG:   [            9860] GetPhysicalAddress - nvidia driver returned physical address 0000
DEBUG:   [            9860] GetPhysicalAddress - trying to get the physical address via drm files
DEBUG:   [            9861] GetPhysicalAddress - drm files returned physical address 2000
DEBUG:   [            9861] using auto-detected physical address 2000
DEBUG:   [            9861] Recorder 1 (1): physical address changed from ffff to 2000
DEBUG:   [            9861] << Recorder 1 (1) -> broadcast (F): physical address 2000
TRAFFIC: [            9861] << 1f:84:20:00:01
WARNING: [            9881] HIGH_ERROR line:466 time:118
WARNING: [            9881] TRANSMIT_FAILED_LINE
DEBUG:   [           10861] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           11361] << 1f:84:20:00:01
WARNING: [           11414] HIGH_ERROR line:466 time:118
WARNING: [           11414] TRANSMIT_FAILED_LINE
DEBUG:   [           12394] command 'CEC transmission' was not acked by the controller
NOTICE:  [           12894] CEC client registered: libCEC version = 6.0.2, client version = 6.0.2, firmware version = 12, firmware build date: Tue Apr 28 14:20:49 2020 +0000, logical address(es) = Recorder 1 (1) , physical address: 2.0.0.0, compiled on Linux-4.15.0-166-generic ... , features: P8_USB, DRM, P8_detect, randr, Exynos, AOCEC
DEBUG:   [           12894] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
DEBUG:   [           12894] << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [           12894] << 10
WARNING: [           12947] HIGH_ERROR line:466 time:103
WARNING: [           12947] TRANSMIT_FAILED_LINE
DEBUG:   [           13927] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           14427] << 10
WARNING: [           14464] HIGH_ERROR line:466 time:104
WARNING: [           14464] TRANSMIT_FAILED_LINE
DEBUG:   [           15444] command 'CEC transmission' was not acked by the controller
DEBUG:   [           15944] >> POLL not sent
DEBUG:   [           15944] not sending command 'set osd name': destination device 'TV' marked as not present
DEBUG:   [           15944] << requesting power status of 'TV' (0)
DEBUG:   [           15944] << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [           15944] << 10
WARNING: [           15982] HIGH_ERROR line:466 time:104
WARNING: [           15982] TRANSMIT_FAILED_LINE
DEBUG:   [           16961] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           17462] << 10
WARNING: [           17499] HIGH_ERROR line:466 time:104
WARNING: [           17499] TRANSMIT_FAILED_LINE
DEBUG:   [           18479] command 'CEC transmission' was not acked by the controller
DEBUG:   [           18979] >> POLL not sent
DEBUG:   [           18979] not sending command 'give device power status': destination device 'TV' marked as not present
requesting CEC bus information ...
DEBUG:   [           18979] << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [           18979] << 10
WARNING: [           19017] HIGH_ERROR line:466 time:104
WARNING: [           19017] TRANSMIT_FAILED_LINE
DEBUG:   [           19997] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           20497] << 10
WARNING: [           20535] HIGH_ERROR line:466 time:104
WARNING: [           20535] TRANSMIT_FAILED_LINE
DEBUG:   [           21514] command 'CEC transmission' was not acked by the controller
DEBUG:   [           22014] >> POLL not sent
DEBUG:   [           22014] << Recorder 1 (1) -> Recorder 2 (2): POLL
TRAFFIC: [           22014] << 12
WARNING: [           22052] HIGH_ERROR line:466 time:103
WARNING: [           22052] TRANSMIT_FAILED_LINE
DEBUG:   [           23032] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           23532] << 12
WARNING: [           23570] HIGH_ERROR line:466 time:104
WARNING: [           23570] TRANSMIT_FAILED_LINE
DEBUG:   [           24549] command 'CEC transmission' was not acked by the controller
DEBUG:   [           25049] >> POLL not sent
DEBUG:   [           25049] Recorder 2 (2): device status changed into 'not present'
DEBUG:   [           25049] << Recorder 1 (1) -> Tuner 1 (3): POLL
TRAFFIC: [           25049] << 13
WARNING: [           25087] HIGH_ERROR line:466 time:103
WARNING: [           25087] TRANSMIT_FAILED_LINE
DEBUG:   [           26066] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           26567] << 13
WARNING: [           26605] HIGH_ERROR line:466 time:103
WARNING: [           26605] TRANSMIT_FAILED_LINE
DEBUG:   [           27584] command 'CEC transmission' was not acked by the controller
DEBUG:   [           28084] >> POLL not sent
DEBUG:   [           28084] Tuner 1 (3): device status changed into 'not present'
DEBUG:   [           28084] << Recorder 1 (1) -> Playback 1 (4): POLL
TRAFFIC: [           28084] << 14
WARNING: [           28122] HIGH_ERROR line:466 time:103
WARNING: [           28122] TRANSMIT_FAILED_LINE
DEBUG:   [           29102] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           29602] << 14
WARNING: [           29639] HIGH_ERROR line:466 time:103
WARNING: [           29639] TRANSMIT_FAILED_LINE
DEBUG:   [           30619] command 'CEC transmission' was not acked by the controller
DEBUG:   [           31119] >> POLL not sent
DEBUG:   [           31119] Playback 1 (4): device status changed into 'not present'
DEBUG:   [           31119] << Recorder 1 (1) -> Audio (5): POLL
TRAFFIC: [           31119] << 15
WARNING: [           31157] HIGH_ERROR line:466 time:103
WARNING: [           31157] TRANSMIT_FAILED_LINE
DEBUG:   [           32137] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           32637] << 15
WARNING: [           32675] HIGH_ERROR line:466 time:104
WARNING: [           32675] TRANSMIT_FAILED_LINE
DEBUG:   [           33654] command 'CEC transmission' was not acked by the controller
DEBUG:   [           34155] >> POLL not sent
DEBUG:   [           34155] Audio (5): device status changed into 'not present'
DEBUG:   [           34155] << Recorder 1 (1) -> Tuner 2 (6): POLL
TRAFFIC: [           34155] << 16
WARNING: [           34193] HIGH_ERROR line:466 time:104
WARNING: [           34193] TRANSMIT_FAILED_LINE
DEBUG:   [           35173] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           35673] << 16
WARNING: [           35710] HIGH_ERROR line:466 time:104
WARNING: [           35710] TRANSMIT_FAILED_LINE
DEBUG:   [           36690] command 'CEC transmission' was not acked by the controller
DEBUG:   [           37190] >> POLL not sent
DEBUG:   [           37190] Tuner 2 (6): device status changed into 'not present'
DEBUG:   [           37190] << Recorder 1 (1) -> Tuner 3 (7): POLL
TRAFFIC: [           37190] << 17
WARNING: [           37229] HIGH_ERROR line:466 time:104
WARNING: [           37229] TRANSMIT_FAILED_LINE
DEBUG:   [           38208] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           38708] << 17
WARNING: [           38747] HIGH_ERROR line:466 time:104
WARNING: [           38747] TRANSMIT_FAILED_LINE
DEBUG:   [           39726] command 'CEC transmission' was not acked by the controller
DEBUG:   [           40226] >> POLL not sent
DEBUG:   [           40226] Tuner 3 (7): device status changed into 'not present'
DEBUG:   [           40227] << Recorder 1 (1) -> Playback 2 (8): POLL
TRAFFIC: [           40227] << 18
WARNING: [           40264] HIGH_ERROR line:466 time:104
WARNING: [           40264] TRANSMIT_FAILED_LINE
DEBUG:   [           41243] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           41744] << 18
WARNING: [           41781] HIGH_ERROR line:466 time:103
WARNING: [           41781] TRANSMIT_FAILED_LINE
DEBUG:   [           42761] command 'CEC transmission' was not acked by the controller
DEBUG:   [           43261] >> POLL not sent
DEBUG:   [           43261] Playback 2 (8): device status changed into 'not present'
DEBUG:   [           43261] << Recorder 1 (1) -> Recorder 3 (9): POLL
TRAFFIC: [           43261] << 19
WARNING: [           43299] HIGH_ERROR line:466 time:104
WARNING: [           43299] TRANSMIT_FAILED_LINE
DEBUG:   [           44279] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           44779] << 19
WARNING: [           44817] HIGH_ERROR line:466 time:104
WARNING: [           44817] TRANSMIT_FAILED_LINE
DEBUG:   [           45796] command 'CEC transmission' was not acked by the controller
DEBUG:   [           46296] >> POLL not sent
DEBUG:   [           46296] Recorder 3 (9): device status changed into 'not present'
DEBUG:   [           46296] << Recorder 1 (1) -> Tuner 4 (A): POLL
TRAFFIC: [           46296] << 1a
WARNING: [           46334] HIGH_ERROR line:466 time:104
WARNING: [           46334] TRANSMIT_FAILED_LINE
DEBUG:   [           47313] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           47814] << 1a
WARNING: [           47852] HIGH_ERROR line:466 time:104
WARNING: [           47852] TRANSMIT_FAILED_LINE
DEBUG:   [           48831] command 'CEC transmission' was not acked by the controller
DEBUG:   [           49332] >> POLL not sent
DEBUG:   [           49332] Tuner 4 (A): device status changed into 'not present'
DEBUG:   [           49332] << Recorder 1 (1) -> Playback 3 (B): POLL
TRAFFIC: [           49332] << 1b
WARNING: [           49369] HIGH_ERROR line:466 time:104
WARNING: [           49369] TRANSMIT_FAILED_LINE
DEBUG:   [           50348] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           50849] << 1b
WARNING: [           50886] HIGH_ERROR line:466 time:104
WARNING: [           50886] TRANSMIT_FAILED_LINE
DEBUG:   [           51866] command 'CEC transmission' was not acked by the controller
DEBUG:   [           52366] >> POLL not sent
DEBUG:   [           52366] Playback 3 (B): device status changed into 'not present'
DEBUG:   [           52366] << Recorder 1 (1) -> Reserved 1 (C): POLL
TRAFFIC: [           52366] << 1c
WARNING: [           52403] HIGH_ERROR line:466 time:103
WARNING: [           52403] TRANSMIT_FAILED_LINE
DEBUG:   [           53383] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           53883] << 1c
WARNING: [           53920] HIGH_ERROR line:466 time:104
WARNING: [           53920] TRANSMIT_FAILED_LINE
DEBUG:   [           54899] command 'CEC transmission' was not acked by the controller
DEBUG:   [           55399] >> POLL not sent
DEBUG:   [           55399] Reserved 1 (C): device status changed into 'not present'
DEBUG:   [           55399] << Recorder 1 (1) -> Reserved 2 (D): POLL
TRAFFIC: [           55399] << 1d
WARNING: [           55437] HIGH_ERROR line:466 time:104
WARNING: [           55437] TRANSMIT_FAILED_LINE
DEBUG:   [           56417] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           56917] << 1d
WARNING: [           56956] HIGH_ERROR line:466 time:104
WARNING: [           56956] TRANSMIT_FAILED_LINE
DEBUG:   [           57935] command 'CEC transmission' was not acked by the controller
DEBUG:   [           58435] >> POLL not sent
DEBUG:   [           58435] Reserved 2 (D): device status changed into 'not present'
DEBUG:   [           58435] << Recorder 1 (1) -> Free use (E): POLL
TRAFFIC: [           58435] << 1e
WARNING: [           58473] HIGH_ERROR line:466 time:104
WARNING: [           58473] TRANSMIT_FAILED_LINE
DEBUG:   [           59452] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           59952] << 1e
WARNING: [           59990] HIGH_ERROR line:466 time:104
WARNING: [           59990] TRANSMIT_FAILED_LINE
DEBUG:   [           60969] command 'CEC transmission' was not acked by the controller
DEBUG:   [           61470] >> POLL not sent
DEBUG:   [           61470] Free use (E): device status changed into 'not present'
DEBUG:   [           61470] << requesting active source
TRAFFIC: [           61470] << 1f:85
WARNING: [           61507] HIGH_ERROR line:466 time:118
WARNING: [           61507] TRANSMIT_FAILED_LINE
DEBUG:   [           62487] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           62987] << 1f:85
WARNING: [           63023] HIGH_ERROR line:466 time:118
WARNING: [           63023] TRANSMIT_FAILED_LINE
DEBUG:   [           64003] command 'CEC transmission' was not acked by the controller
DEBUG:   [           64503] << requesting active source
TRAFFIC: [           64503] << 1f:85
WARNING: [           64540] HIGH_ERROR line:466 time:118
WARNING: [           64540] TRANSMIT_FAILED_LINE
DEBUG:   [           65520] command 'CEC transmission' was not acked by the controller
TRAFFIC: [           66020] << 1f:85
WARNING: [           66058] HIGH_ERROR line:466 time:118
WARNING: [           66058] TRANSMIT_FAILED_LINE
DEBUG:   [           67037] command 'CEC transmission' was not acked by the controller
CEC bus information
===================
device #1: Recorder 1
address:       2.0.0.0
active source: no
vendor:        Pulse Eight
osd string:    CECTester
CEC version:   1.4
power status:  on
language:      eng

currently active source: unknown (-1)
DEBUG:   [           67538] unregistering all CEC clients
NOTICE:  [           67538] unregistering client: libCEC version = 6.0.2, client version = 6.0.2, firmware version = 12, firmware build date: Tue Apr 28 14:20:49 2020 +0000, logical address(es) = Recorder 1 (1) , physical address: 2.0.0.0, compiled on Linux-4.15.0-166-generic ... , features: P8_USB, DRM, P8_detect, randr, Exynos, AOCEC
DEBUG:   [           67538] Recorder 1 (1): power status changed from 'on' to 'unknown'
DEBUG:   [           67538] Recorder 1 (1): vendor = Unknown (000000)
DEBUG:   [           67538] Recorder 1 (1): CEC version unknown
DEBUG:   [           67538] Recorder 1 (1): osd name set to 'Recorder 1'
DEBUG:   [           67538] Recorder 1 (1): device status changed into 'unknown'
DEBUG:   [           67555] usbcec: updating ackmask: 0000
DEBUG:   [           67611] usbcec: disabling controlled mode
DEBUG:   [           67666] unregistering all CEC clients
DEBUG:   [           68392] communication thread ended

Originally posted by @1quest in https://github.com/Pulse-Eight/libcec/issues/603#issuecomment-1791501259

1quest commented 1 year ago

My error was resolved by using an adapter without the 13th pin into my PC. Thanks for the help!