Hello all!
I have a question.
Does OpenVFD service also control the On/Standby LEDs of the TV Box?
I have a Vontar X3 TV Box. As already suggested in the thread, I used the config from HK1 X3 and VFD itself works fine, except for the On/Standby LEDs. They are swapped (It is “Red” when CE is running and “Blue” when it is switched off).
The native Android firmware however lights it correctly: Red in standby and Blue when it is on.
I opened the box and there is AiP1628 chip and type “3” display in it.
Based on this information I created a new vfd.conf file with the following lines:
vfd_gpio_clk=‘0,0,0x00’
vfd_gpio_dat=‘0,1,0x00’
vfd_gpio_stb=‘0,39,0x00’
vfd_chars=‘4,3,2,1,0’
vfd_dot_bits=‘0,1,2,3,4,5,6’
vfd_display_type=‘0x03,0x00,0x00,0x00’
You need to install the latest nightly build.
Then try this vfd.conf. I think that the icons are not correct, but you should get the time. x96-max-ultra-vfd.conf (1.2 KB)
If icons are wrong, you’ll have to play with vfd_dot_bits or you can do that with the openvfd service in kodi.
Please let me know what the correct config for the dot bits is.
openvfd.service - OpenVFD Service
Loaded: loaded (/usr/lib/systemd/system/openvfd.service; disabled; vendor p Active: active (running) since Tue 2022-10-04 06:43:24 UTC; 2h 4min ago
Main PID: 4080 (openvfd-start)
Tasks: 4 (limit: 3722)
Memory: 1.4M
CGroup: /system.slice/openvfd.service
├─4080 /bin/sh /usr/lib/coreelec/openvfd-start
└─4127 /usr/sbin/OpenVFDService
Oct 04 06:43:24 CoreELEC systemd[1]: Started OpenVFD Service.
CoreELEC:~ # cat /sys/kernel/debug/gpio
gpiochip1: GPIOs 410-495, parent: platform/pinctrl@ff634480, periphs-banks:
gpio-448 ( |amlsd ) out hi
gpio-458 ( |amlsd ) in hi
gpio-474 ( |openvfd ) in hi
gpio-475 ( |openvfd ) in hi
gpio-482 ( |sdio_wifi ) out hi
gpio-483 ( |sdio_wifi ) in hi
gpio-493 ( |bt_rfkill ) out hi
gpio-495 ( |bt_rfkill ) out hi
gpiochip0: GPIOs 496-511, parent: platform/pinctrl@ff800014, aobus-banks:
gpio-498 ( |avout_mute ) out hi
gpio-499 ( |key ) in hi
gpio-507 ( |? ) out lo
CoreELEC:~ #