Skip to content

Zidoo smart TV box with libcec #401

@jmgirven

Description

@jmgirven

Can you just confirm for me that libcec does not require a Pulse-Eight USB-CEC adapter? It instead requires a box that supports HDMI CEC?

I have a Zidoo X9S smart TV box that supports HDMI CEC and wondered if I could get libcec to send a mute command to it. This gets out of what you support as you are still working on mainline Linux 4.8 kernel (#67) though. I found a very old build of libcec claiming to work on Android, and I was testing it out. I believe it is libcec v2.2.0. I have written some Android JNI code to utilise libcec, but get stuck with:

g_config.Clear();
g_callbacks.Clear();
snprintf(g_config.strDeviceName, 13, "CECTest");
g_config.clientVersion       = CEC_CONFIG_VERSION;
g_config.bActivateSource     = 0;
g_config.callbacks           = &g_callbacks;

ICECAdapter *parser = LibCecInitialise(&g_config, "libcec.so");
parser->InitVideoStandalone();
int8_t iDevicesFound = parser->FindAdapters(devices, count, NULL);

Not finding any devices. I wondered if I had completely misunderstood the purpose of libcec!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions