How to configure VFD

image

Try with

vfd_display_type='0x0A,0x00,0x01,0x00'

hi, after change have CARD, low wifi (but i have LAN connection) and time blink

What do you mean time blink? Do you mean the colon : blinks?

yes exactly : blink

That is good.
But it means that the other icons are not ordered correctly in the config file you have.
You’d have to play around with it to figure out which index each icon on your display uses.

but i don’t understand order, is the number of position or type of icon ? in example is no my combination of icons

Hello @TheCoolest
i have Kinhank G1, i want help to active 3 LED

cat /sys/kernel/debug/gpio on Android:
No such file or directory

cat /sys/kernel/debug/gpio on coreelec:


gpiochip0: GPIOs 425-511, parent: platform/fe000000.apb4:pinctrl@4000, periphs-banks:
 gpio-425 (GPIOA_14            )
 gpio-426 (GPIOA_15            )
 gpio-427 (GPIOB_0             )
 gpio-428 (GPIOB_1             )
 gpio-429 (GPIOB_2             )
 gpio-430 (GPIOB_3             )
 gpio-431 (GPIOB_4             )
 gpio-432 (GPIOB_5             )
 gpio-433 (GPIOB_6             )
 gpio-434 (GPIOB_7             )
 gpio-435 (GPIOB_8             )
 gpio-436 (GPIOB_9             )
 gpio-437 (GPIOB_10            )
 gpio-438 (GPIOB_11            )
 gpio-439 (GPIOB_12            )
 gpio-440 (GPIOB_13            )
 gpio-441 (GPIOB_14            )
 gpio-442 (GPIOB_15            )
 gpio-443 (GPIOC_0             )
 gpio-444 (GPIOC_1             )
 gpio-445 (GPIOC_2             )
 gpio-446 (GPIOC_3             )
 gpio-447 (GPIOC_4             )
 gpio-448 (GPIOC_5             )
 gpio-449 (GPIOC_6             |cd                  ) in  lo 
 gpio-450 (GPIOC_7             )
 gpio-451 (GPIOE_0             )
 gpio-452 (GPIOE_1             )
 gpio-453 (GPIOE_2             )
 gpio-454 (GPIOD_0             )
 gpio-455 (GPIOD_1             )
 gpio-456 (GPIOD_2             |avout_mute          ) out hi 
 gpio-457 (GPIOD_3             )
 gpio-458 (GPIOD_4             )
 gpio-459 (GPIOD_5             )
 gpio-460 (GPIOD_6             )
 gpio-461 (GPIOD_7             )
 gpio-462 (GPIOD_8             )
 gpio-463 (GPIOD_9             )
 gpio-464 (GPIOD_10            )
 gpio-465 (GPIOD_11            |sys_led             ) out hi 
 gpio-466 (GPIOH_0             )
 gpio-467 (GPIOH_1             )
 gpio-468 (GPIOH_2             )
 gpio-469 (GPIOH_3             )
 gpio-470 (GPIOH_4             )
 gpio-471 (GPIOH_5             )
 gpio-472 (GPIOH_6             )
 gpio-473 (GPIOH_7             )
 gpio-474 (GPIOH_8             )
 gpio-475 (GPIOX_0             )
 gpio-476 (GPIOX_1             )
 gpio-477 (GPIOX_2             )
 gpio-478 (GPIOX_3             )
 gpio-479 (GPIOX_4             )
 gpio-480 (GPIOX_5             )
 gpio-481 (GPIOX_6             |sdio_wifi           ) out hi 
 gpio-482 (GPIOX_7             |sdio_wifi           ) in  lo 
 gpio-483 (GPIOX_8             )
 gpio-484 (GPIOX_9             )
 gpio-485 (GPIOX_10            )
 gpio-486 (GPIOX_11            )
 gpio-487 (GPIOX_12            )
 gpio-488 (GPIOX_13            )
 gpio-489 (GPIOX_14            )
 gpio-490 (GPIOX_15            )
 gpio-491 (GPIOX_16            )
 gpio-492 (GPIOX_17            |bt_rfkill           ) in  lo 
 gpio-493 (GPIOX_18            )
 gpio-494 (GPIOX_19            |bt_rfkill           ) out hi 
 gpio-495 (GPIOZ_0             )
 gpio-496 (GPIOZ_1             )
 gpio-497 (GPIOZ_2             )
 gpio-498 (GPIOZ_3             )
 gpio-499 (GPIOZ_4             )
 gpio-500 (GPIOZ_5             )
 gpio-501 (GPIOZ_6             )
 gpio-502 (GPIOZ_7             )
 gpio-503 (GPIOZ_8             )
 gpio-504 (GPIOZ_9             )
 gpio-505 (GPIOZ_10            )
 gpio-506 (GPIOZ_11            )
 gpio-507 (GPIOZ_12            )
 gpio-508 (GPIOZ_13            )
 gpio-509 (GPIOZ_14            )
 gpio-510 (GPIOZ_15            |PHY reset           ) out hi ACTIVE LOW
 gpio-511 (GPIO_TEST_N         )

dtb.img.gz (84.5 KB)

I am trying to get the VFD working on on an X96X10 PRO, s5_s928x_x96_x10.dtb from latest nightly I am trying one of the x96 conf files but ensure which if any to use

CoreELEC (official): 21.1-Omega_nightly_20240819 (Amlogic-ne.aarch64)
      Machine model: X96 X10
     CoreELEC dt-id: s5_s928x_x96_x10_8g
      Amlogic dt-id: s5_s928x_ax201-v28g
      Linux version: 5.4.210 (docker@692ccbc8913f) #1 Mon Aug 19 09:28:23 IDT 2024
      Kodi compiled: 2024-08-19 03:16:47 -0400

Here is the gpio output in Android with working VFD

gpiochip1: GPIOs 392-404, parent: platform/fe000000.apb4:pinctrl@86000, storage-banks:
 gpio-392 (GPIOB_0             )
 gpio-393 (GPIOB_1             )
 gpio-394 (GPIOB_2             )
 gpio-395 (GPIOB_3             )
 gpio-396 (GPIOB_4             )
 gpio-397 (GPIOB_5             )
 gpio-398 (GPIOB_6             )
 gpio-399 (GPIOB_7             )
 gpio-400 (GPIOB_8             )
 gpio-401 (GPIOB_9             )
 gpio-402 (GPIOB_10            )
 gpio-403 (GPIOB_11            )
 gpio-404 (GPIOB_12            )
gpiochip0: GPIOs 405-511, parent: platform/fe000000.apb4:pinctrl@4008, periphs-banks:
 gpio-405 (GPIOD_0             )
 gpio-406 (GPIOD_1             )
 gpio-407 (GPIOD_2             )
 gpio-408 (GPIOD_3             )
 gpio-409 (GPIOD_4             )
 gpio-410 (GPIOD_5             )
 gpio-411 (GPIOD_6             |data_gpio           ) out hi 
 gpio-412 (GPIOD_7             |clock_gpio          ) out hi 
 gpio-413 (GPIOD_8             |fixedregulator@vddq ) out hi 
 gpio-414 (GPIOD_9             |stb_gpio            ) out lo 
 gpio-415 (GPIOD_10            |fixedregulator@vcc3v) out hi 
 gpio-416 (GPIOD_11            )
 gpio-417 (GPIOE_0             )
 gpio-418 (GPIOE_1             )
 gpio-419 (GPIOE_2             )
 gpio-420 (GPIOE_3             )
 gpio-421 (GPIOE_4             )
 gpio-422 (GPIOC_0             )
 gpio-423 (GPIOC_1             )
 gpio-424 (GPIOC_2             )
 gpio-425 (GPIOC_3             )
 gpio-426 (GPIOC_4             )
 gpio-427 (GPIOC_5             )
 gpio-428 (GPIOC_6             |cd                  ) in  hi 
 gpio-429 (GPIOC_7             )
 gpio-430 (GPIOX_0             )
 gpio-431 (GPIOX_1             )
 gpio-432 (GPIOX_2             )
 gpio-433 (GPIOX_3             )
 gpio-434 (GPIOX_4             )
 gpio-435 (GPIOX_5             |pcie_perst          ) out hi 
 gpio-436 (GPIOX_6             |sdio_wifi           ) out hi 
 gpio-437 (GPIOX_7             )
 gpio-438 (GPIOX_8             )
 gpio-439 (GPIOX_9             )
 gpio-440 (GPIOX_10            )
 gpio-441 (GPIOX_11            )
 gpio-442 (GPIOX_12            )
 gpio-443 (GPIOX_13            )
 gpio-444 (GPIOX_14            )
 gpio-445 (GPIOX_15            )
 gpio-446 (GPIOX_16            )
 gpio-447 (GPIOX_17            |bt_rfkill           ) out hi 
 gpio-448 (GPIOX_18            )
 gpio-449 (GPIOX_19            )
 gpio-450 (GPIOH_0             )
 gpio-451 (GPIOH_1             )
 gpio-452 (GPIOH_2             )
 gpio-453 (GPIOH_3             )
 gpio-454 (GPIOH_4             )
 gpio-455 (GPIOH_5             )
 gpio-456 (GPIOH_6             |soc:crg21otg@fe03800) out hi 
 gpio-457 (GPIOH_7             |sdcard-3v3          ) out lo ACTIVE LOW
 gpio-458 (GPIOH_8             |VDDIO_C             ) out lo 
 gpio-459 (GPIOZ_0             )
 gpio-460 (GPIOZ_1             )
 gpio-461 (GPIOZ_2             )
 gpio-462 (GPIOZ_3             )
 gpio-463 (GPIOZ_4             )
 gpio-464 (GPIOZ_5             )
 gpio-465 (GPIOZ_6             )
 gpio-466 (GPIOZ_7             )
 gpio-467 (GPIOZ_8             )
 gpio-468 (GPIOZ_9             )
 gpio-469 (GPIOZ_10            )
 gpio-470 (GPIOZ_11            )
 gpio-471 (GPIOZ_12            )
 gpio-472 (GPIOZ_13            )
 gpio-473 (GPIOZ_14            )
 gpio-474 (GPIOZ_15            |PHY reset           ) out hi ACTIVE LOW
 gpio-475 (GPIOT_0             )
 gpio-476 (GPIOT_1             )
 gpio-477 (GPIOT_2             )
 gpio-478 (GPIOT_3             )
 gpio-479 (GPIOT_4             )
 gpio-480 (GPIOT_5             )
 gpio-481 (GPIOT_6             )
 gpio-482 (GPIOT_7             )
 gpio-483 (GPIOT_8             )
 gpio-484 (GPIOT_9             )
 gpio-485 (GPIOT_10            )
 gpio-486 (GPIOT_11            )
 gpio-487 (GPIOT_12            )
 gpio-488 (GPIOT_13            )
 gpio-489 (GPIOT_14            )
 gpio-490 (GPIOT_15            )
 gpio-491 (GPIOT_16            )
 gpio-492 (GPIOT_17            )
 gpio-493 (GPIOT_18            )
 gpio-494 (GPIOT_19            )
 gpio-495 (GPIOT_20            )
 gpio-496 (GPIOT_21            )
 gpio-497 (GPIOT_22            )
 gpio-498 (GPIOT_23            )
 gpio-499 (GPIOT_24            )
 gpio-500 (GPIOA_0             )
 gpio-501 (GPIOA_1             )
 gpio-502 (GPIOA_2             )
 gpio-503 (GPIOA_3             )
 gpio-504 (GPIOA_4             )
 gpio-505 (GPIOA_5             )
 gpio-506 (GPIOA_6             )
 gpio-507 (GPIOA_7             |avout_mute          ) out hi 
 gpio-508 (GPIOA_8             )
 gpio-509 (GPIOA_9             )
 gpio-510 (GPIOA_10            )
 gpio-511 (GPIO_TEST_N         )

Hello, I succesfully installed on a microsd card CE, using sc2_s905x4_4g.dtb, everything works like a charm, it’s fabolous!

The only thing not working is the display, in the system settings I tried all in the list but nothing works, display always remains like this:
88:88

https://wiki.coreelec.org/coreelec:genvfd

1 Like

Thank you!
:clap:

Sorry, I followed all wiki instructions but nothing change…

Sorry but this tell us exactly nothing. No one knows what you actually did.

1 Like

I downloaded these 2 files:

  • t95-plus-s905x4-vfd.conf
  • tanix-x4-vfd.conf
    and put into /storage/.config/
    Then I installed OpenVFD, but nothing change, display always 8888…

Did You rename it to vfd.conf ?

1 Like

Yes, for all two files, one at time but nothing… these are my details, via ssh:

CoreELEC (official): 21.1-Omega (Amlogic-ne.aarch64)
Machine model: Amlogic S905X4
CoreELEC dt-id: sc2_s905x4_4g [Mason SC2]
Linux version: 5.4.210 (portisch@ubuntu) #1 Mon Aug 19 10:19:41 CEST 2024
Kodi compiled: 2024-08-19 10:55:15 +0200
CoreELEC:~/.config # cat vfd.conf 
vfd_gpio_clk='0,1,0'
vfd_gpio_dat='0,0,0'
vfd_gpio_stb='0,0,0xFF'
vfd_chars='2,4,3,2,1'
vfd_dot_bits='0,1,3,2,4,5,6'
vfd_display_type='0x01,0x00,0x00,0x03'

Hello, fortunately after reboot something happens, now the display is turned off. I tried to configure OpenVFD pure nothing changes, always black.

Dmesg says:
OpenVFD: vfd_gpio_clk: #0 = 0x00; #1 = 0x01; #2 = 0x00;
OpenVFD: vfd_gpio_dat: #0 = 0x00; #1 = 0x00; #2 = 0x00;
OpenVFD: vfd_gpio_stb: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
OpenVFD: vfd_gpio0: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
OpenVFD: vfd_gpio1: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
OpenVFD: vfd_gpio2: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
OpenVFD: vfd_gpio3: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
OpenVFD: vfd_gpio_protocol: #0 = 0x00; #1 = 0x00;
OpenVFD: vfd_chars: #0 = 0x02; #1 = 0x04; #2 = 0x03; #3 = 0x02; #4 = 0x01;
OpenVFD: vfd_dot_bits: #0 = 0x00; #1 = 0x01; #2 = 0x03; #3 = 0x02; #4 = 0x04; #5 = 0x05; #6 = 0x06;
OpenVFD: vfd_display_type: #0 = 0x01; #1 = 0x00; #2 = 0x00; #3 = 0x03;
OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)
OpenVFD: Select FD628 controller
OpenVFD: SW SPI 3-wire interface failed to intialize. Invalid CLK (426), DAT (425) or STB (-2) pins
OpenVFD: Failed to initialize the controller, reverting to Dummy controller

Anyway thanks, my Tanix is reborn! And thank you all guys for this great project!

I never saw a response to this How to configure VFD - #1013 by emveepee Can the VFD work on the S928X-J at the moment current I am at
21.1-Omega_nightly_20240916

Martin