Vero 4k CEC issue

I’ll take a look at this shortly.

Sam

Thanks Sam, appreciate that! :wink:

Hello Sam, did you forget about it? Really strange things happen here, it starts the tv on it’s own. I was really patient, but pls take a look. Maybe it would help to update the cec-lib.

@kid63 + @sam_nazarko: jfyi: The interesting part starts “01:54:37.237” in the last log in post #40

1 Like

@JimKnopf
I’ve recognized that already, it’s because it’s declared as recorder, right? Or is it the “unknown” command?

You can try change the device to a Player via XML IIRC, but I’m not sure it would help

That’s all u suggest, a bit less. Sorry, but that’s a nonsatisfying answer for me.

Did you try it?

Sorry — but I’m not sure what the issue is. CEC is a specification; not a hard directive and it is implemented in many different ways across different hardware.

If you have a number of devices connected to your AVR or TV, this is likely to be the issue

I wonder if the behaviour has changed in Leia or there is a patch missing from our v17 branch. Did this only start to occur after updating?

nope, only the dreambox and the vero, i’ve separated the PS3 already, just to have the vero and dreambox connected. I can exclude the dreambox as a reason for the failure.

Hmm, good question. I’ve never used krypton. :slight_smile:

Can u tell me where it’s located? Not that sure.

It would have been the stable version of Kodi when you got the device.

If you haven’t used the @gmc’s repo then apt-get -y install vero3-mediacenter-osmc —reinstall should help

Sam

I know Sam, but i started immediately to install Leia.

Of course i’ve used @gmc’s repo and compile it too. But where is the suggested xml located?

It’s the device_type option as shown in your XML before; but if running v18 it may not be the issue here.

I suspect some changed behaviour in v18

Thanks Sam, that’s an answer i can deal with! :wink: They’ve updated cec-lib to 4.04, maybe we should give that a try?

I’m reluctant to update the CEC version at this time.
After v18 has been released for a little while I will take a look.

Sam

I mean in the sdk, not generally, maybe as experimental.

I provide a cec-client log, think it’s quite interesting:

No device type given. Using 'recording device'`
CEC Parser created - libCEC version 4.0.2
no serial port given. trying autodetect: 
 path:     /dev/aocec
 com port: AOCEC

    opening a connection to the CEC adapter...
    DEBUG:   [             135]	Broadcast (F): osd name set to 'Broadcast'
    NOTICE:  [             136]	connection opened
    DEBUG:   [             136]	processor thread started
    DEBUG:   [             136]	<< Broadcast (F) -> TV (0): POLL
    TRAFFIC: [             136]	<< f0
    DEBUG:   [             205]	>> POLL sent
    DEBUG:   [             205]	TV (0): device status changed into 'present'
    DEBUG:   [             205]	<< requesting vendor ID of 'TV' (0)
    TRAFFIC: [             205]	<< f0:8c
    TRAFFIC: [             410]	>> 0f:87:00:90:3e
    DEBUG:   [             411]	>> TV (0) -> Broadcast (F): device vendor id (87)
    DEBUG:   [             411]	TV (0): vendor = Philips (00903e)
    DEBUG:   [             411]	expected response received (87: device vendor id)
    DEBUG:   [             411]	replacing the command handler for device 'TV' (0)
    NOTICE:  [             411]	registering new CEC client - v4.0.2
    DEBUG:   [             411]	detecting logical address for type 'recording device'
    DEBUG:   [             411]	trying logical address 'Recorder 1'
    DEBUG:   [             411]	<< Recorder 1 (1) -> Recorder 1 (1): POLL
    TRAFFIC: [             411]	<< 11
    WARNING: [             625]	Write: write failed
    TRAFFIC: [             625]	<< 11
    WARNING: [             825]	Write: write failed
    DEBUG:   [             825]	>> POLL not sent
    DEBUG:   [             825]	using logical address 'Recorder 1'
    DEBUG:   [             825]	Recorder 1 (1): device status changed into 'handled by libCEC'
    DEBUG:   [             825]	Recorder 1 (1): power status changed from 'unknown' to 'on'
    DEBUG:   [             825]	Recorder 1 (1): vendor = Pulse Eight (001582)
    DEBUG:   [             825]	Recorder 1 (1): CEC version 1.4
    DEBUG:   [             825]	AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
    DEBUG:   [             826]	Recorder 1 (1): osd name set to 'CECTester'
    DEBUG:   [             826]	Recorder 1 (1): menu language set to 'eng'
    DEBUG:   [             826]	AutodetectPhysicalAddress - autodetected physical address '1500'
    DEBUG:   [             826]	Recorder 1 (1): physical address changed from ffff to 1500
    DEBUG:   [             826]	<< Recorder 1 (1) -> broadcast (F): physical address 1500
    TRAFFIC: [             826]	<< 1f:84:15:00:01
    NOTICE:  [             985]	CEC client registered: libCEC version = 4.0.2, client version = 4.0.2, firmware version = 5, logical address(es) = Recorder 1 (1) , physical address: 1.5.0.0,  compiled on Wed Nov 22 02:45:53 UTC 2017 by root@compiler2 on Linux 4.9.0-3-amd64 (armv7l), features: P8_USB, DRM, P8_detect, AOCEC
    DEBUG:   [             985]	Recorder 1 (1): vendor = Philips (00903e)
    DEBUG:   [             985]	replacing the command handler for device 'Recorder 1' (1)
    DEBUG:   [             985]	<< Recorder 1 (1) -> TV (0): OSD name 'CECTester'
    TRAFFIC: [             985]	<< 10:47:43:45:43:54:65:73:74:65:72
    DEBUG:   [            1345]	<< requesting power status of 'TV' (0)
    TRAFFIC: [            1345]	<< 10:8f
    TRAFFIC: [            1523]	>> 01:46
    DEBUG:   [            1523]	<< Recorder 1 (1) -> TV (0): OSD name 'CECTester'
    TRAFFIC: [            1523]	<< 10:47:43:45:43:54:65:73:74:65:72
    DEBUG:   [            1523]	>> TV (0) -> Recorder 1 (1): give osd name (46)
    TRAFFIC: [            1876]	>> 01:8f
    DEBUG:   [            1876]	<< Recorder 1 (1) -> TV (0): on
    TRAFFIC: [            1876]	<< 10:90:00
    DEBUG:   [            1878]	>> TV (0) -> Recorder 1 (1): give device power status (8F)
    DEBUG:   [            2495]	expected response not received (90: report power status)
    TRAFFIC: [            2495]	<< 10:8f
    TRAFFIC: [            2873]	>> 01:8c
    DEBUG:   [            2873]	<< Recorder 1 (1) -> TV (0): vendor id Philips (903e)
    TRAFFIC: [            2873]	<< 1f:87:00:15:82
    DEBUG:   [            2874]	>> TV (0) -> Recorder 1 (1): give device vendor id (8C)
    TRAFFIC: [            3198]	>> 01:8f
    DEBUG:   [            3198]	<< Recorder 1 (1) -> TV (0): on
    TRAFFIC: [            3198]	<< 10:90:00
    DEBUG:   [            3198]	>> TV (0) -> Recorder 1 (1): give device power status (8F)
    TRAFFIC: [            3792]	>> 01:8f
    DEBUG:   [            3792]	<< Recorder 1 (1) -> TV (0): on
    TRAFFIC: [            3792]	<< 10:90:00
    DEBUG:   [            3792]	>> TV (0) -> Recorder 1 (1): give device power status (8F)
    waiting for input
    DEBUG:   [            3845]	expected response not received (90: report power status)
    TRAFFIC: [           12408]	>> 01
    DEBUG:   [           12408]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [           57433]	>> 01
    DEBUG:   [           57433]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [           72438]	>> 01
    DEBUG:   [           72438]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [          117462]	>> 01
    DEBUG:   [          117462]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [          132467]	>> 01
    DEBUG:   [          132467]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [          177491]	>> 01
    DEBUG:   [          177491]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [          192496]	>> 01
    DEBUG:   [          192496]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [          237525]	>> 01
    DEBUG:   [          237525]	<< POLL: TV (0) -> Recorder 1 (1)
    TRAFFIC: [          252530]	>> 01
    DEBUG:   [          252530]	<< POLL: TV (0) -> Recorder 1 (1)
    signal caught: 2 - exiting
    DEBUG:   [          296536]	unregistering all CEC clients
    NOTICE:  [          296536]	unregistering client: libCEC version = 4.0.2, client version = 4.0.2, firmware version = 5, logical address(es) = Recorder 1 (1) , physical address: 1.5.0.0,  compiled on Wed Nov 22 02:45:53 UTC 2017 by root@compiler2 on Linux 4.9.0-3-amd64 (armv7l), features: P8_USB, DRM, P8_detect, AOCEC
    DEBUG:   [          296536]	Recorder 1 (1): power status changed from 'on' to 'unknown'
    DEBUG:   [          296536]	Recorder 1 (1): vendor = Unknown (000000)
    DEBUG:   [          296536]	Recorder 1 (1): CEC version unknown
    DEBUG:   [          296536]	Recorder 1 (1): osd name set to 'Recorder 1'
    DEBUG:   [          296536]	Recorder 1 (1): device status changed into 'unknown'
    DEBUG:   [          296538]	unregistering all CEC clients

I’ve tried to set the device-id manually, but it’s ignored. The reason should be clear in the log, pls have a look.

Compiled libcec 4.04 by myself and all my problems are gone. Thx for the help.

Interesting. I’ll give libcec a bump and release it with v18.

Sam

Sounds good! :slight_smile: