LED (VFD) Displays in LibreELEC

  • Is the FD628 service only for OpenELEC? I'm currently using the latest CoreELEC and I got the clock working on my Sunvell T95 using the T95m vfd.conf file, but none of the other icons light up. I tried to find the FD628 service, but it's not available. Is it possible to manually install this add-on for CoreELEC?

  • Hello! I got an U2C Z Pro (2/8GB, S905X) and tested the latest m9-pro-u2c-x-u5x-s-vfd.conf, but I can’t get it to work.

    a2915c1c021dacd912d715eee0c5c48448f62f2d.png

    I found a dtb.img similar to my device. Someone over here contacted the official u2c seller on amazon.ca and got the official update file, containing the dtb.img. I’ll contact them, since mine is a U2C Z Pro, not U2C X Super, but the displays look exactly the same (without BT). The chip is a HBS658 and The Coolest mentioned it already over here: coreelec.org - Help with VFD.conf

    Another thing I found is this: A user called hlyi published hbs658service on GitHub. I'm not sure how to compile, install it or if it's already included in the builds.

    I also tried using gxm_q201_2g instead of gxl_p212_2g, since hbs658 it's mentioned here: GitHub Gist - aep / dts

    But no luck.. It seems to be implemented for the S912 U2C devices, right?

    hhsb5zEm.jpg  GplQxL8m.jpg  pq0vUM2m.jpg

    Edited 5 times, last by HaselnuesseTo (May 4, 2019 at 1:30 PM).

  • hi The Coolest

    [Edit: just realized I opened an old thread]

    I see following error on RK3399 TV Box:

    Code
         Loaded: loaded (/usr/lib/systemd/system/openvfd.service; enabled; vendor preset: disabled)
         Active: inactive (dead)
      Condition: start condition failed at Sat 2020-01-11 01:34:31 UTC; 15min ago
                 └─ ConditionPathExists=/proc/device-tree/openvfd was not met
    
    Jan 11 01:34:31 LibreELEC systemd[1]: Condition check resulted in OpenVFD Service being skipped.

    This is in manufacturer's DTS:

    Code
        skykirin_led {
            compatible = "skykirin-ht1628";
            spi_clk = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
            spi_cs = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
            spi_data = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
            status = "okay";
        };

    Let me know how to fix this

    Edited once, last by npcomplete (January 11, 2020 at 3:42 AM).

  • I don't know which version of OpenVFD LE is using. It's not my official code.

    From the error, it seems that the openvfd tag is missing from the DTB file.

    Code
        openvfd {
            compatible = "open,vfd";
            dev_name = "openvfd";
            status = "okay";
        };
  • Hello,

    I have a QINTEX-Q912 box with Amlogic S912 and hbs658.

    Is openvfd supposed to work with hbs658 ?

    In the original dtb, i found only info about two gpios:

    hbs658 {

    compatible = "amlogic, hbs658";

    dev_name = "hbs658";

    status = "okay";

    gpio-scl = <0x24 0x4c 0x00>;

    gpio-sda = <0x24 0x4b 0x00>;

    };

    I suspect these are for vfd_gpio_clk and vfd_gpio_dat, but I could not find the one for vfd_gpio_stb.

    Thank you,

    Paul

    P.S. I attached the full dtc of the box

  • Hello,

    I have a QINTEX-Q912 box with Amlogic S912 and hbs658.

    Is openvfd supposed to work with hbs658 ?

    I got it working with bellow parameters, and the HBS658 controller is properly selected.

    vfd_gpio_clk='0,76,0x10'

    vfd_gpio_dat='0,75,0x10'

    vfd_gpio_stb='0,0,0xFF'

    vfd_chars='4,0,1,2,3'

    vfd_dot_bits='0,1,2,3,4,5,6'

    vfd_display_type='0x06,0x00,0x00,0x04'

    The dmesg looks like this:

    2445.369925] OpenVFD: Detected gpio chips: periphs-banks, aobus-banks.

    [ 2445.369929] OpenVFD: is_right_chip periphs-banks | periphs-banks | 0

    [ 2445.375018] OpenVFD: "periphs-banks" chip found. base = 401, pin count = 100, pin = 76, offset = 477

    [ 2445.375021] OpenVFD: is_right_chip periphs-banks | periphs-banks | 0

    [ 2445.381301] OpenVFD: "periphs-banks" chip found. base = 401, pin count = 100, pin = 75, offset = 476

    [ 2445.381305] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)

    [ 2445.381306] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)

    [ 2445.381308] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)

    [ 2445.381310] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)

    [ 2445.381312] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)

    [ 2445.382999] OpenVFD: register_openvfd_driver: Succeeded to add openvfd module

    [ 2445.388762] OpenVFD: Select HBS658 controller

    [ 2445.388835] OpenVFD: SW I2C interface intialized (address = 0x0000 (N/A), LSB mode, pull-ups on)

    Thank you,

    Paul

  • Hi, guys! I had S78 box, this is a rikomagic rkm mk25 clone on S922x. I got working the HBS658 vfd. Below is a chunk from dtb and config:

    hbs658 {

    compatible = "amlogic, hbs658";

    dev_name = "hbs658";

    status = "okay";

    gpio-scl = <0x2c 0x17 0x0>;

    gpio-sda = <0x2c 0x18 0x0>;

    vfd.conf:

    vfd_gpio_clk='0,0x17,0x10'

    vfd_gpio_dat='0,0x18,0x10'

    vfd_gpio_stb='0,0,0xFF'

    vfd_chars='4,0,1,2,3'

    vfd_dot_bits='0,1,2,3,4,5,6'

    vfd_display_type='0x06,0x00,0x00,0x04'

    Edited once, last by aisman (January 31, 2021 at 9:25 PM).