How to configure VFD

Try this one, let me know if it works.
x96-max-ultra-vfd.conf (1.2 KB)

It doesn’t work. What could you do to provide you with the information you need?

Make sure you’re using the latest nightly build, but if it still doesn’t work, boot into android and follow what this user did

It’ s work.

thx

With the H96 Max plus (s905x4)?

Putting the Tanix x4 numbers appear on the screen, but Openvfd does not seem to work. Is there anything I can do to provide you with more information?

23:09 = 2E 06

H96 Max plus (s905x4): time, temperature and date works fine, but it doesn’t show “:” and icons (it has them in Android), so I gather that the order of vfd_chars is not quite correct. Any ideas? @TheCoolest
h96-max-vfd.conf (1.4 KB)

Try vfd_chars='0,4,3,2,1' and vfd_display_type='0x05,0x00,0x00,0x06'
You can try 0x05 instead of 0x06. If the screen works but looks weird, try to change the first 0x05 in vfd_display_type.

All work with this config:
vfd_chars=‘0,4,3,2,1’
vfd_display_type=‘0x00,0x00,0x00,0x03’

thx

1 Like

Please someone help me learn how to create file vfd.conf. It’s very grateful
I’ve got GPIO from Android:
Android X96_X9
u0_a60@localhost:~$ cat /sys/kernel/debug/gpio

gpiochip1: GPIOs 410-495, parent: platform/pinctrl@ff634480, periphs-banks:
gpio-431 ( |stb_gpio ) out lo
gpio-433 ( |ffe09080.usb3phy ) out hi
gpio-445 ( |amlsd ) out hi
gpio-458 ( |amlsd ) prints hi
gpio-465 ( |ad82584f-reset-pin ) out hi
gpio-482 ( |sdio_wifi ) out hi
gpio-483 ( |sdio_wifi ) prints 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-504 ( |data_gpio ) out hi
gpio-505 ( |clock_gpio ) out hi
gpio-507 ( |? ) out hi

The first question is:
Based on what to set:

vfd_gpio_clk=‘?,?,?’
vfd_gpio_dat=‘?,?,?’
vfd_gpio_stb=‘?,?,?’

Thank you very much!

vfd_gpio_clk=‘1,9,0’
vfd_gpio_dat=‘1,8,0’
vfd_gpio_stb=‘0,21,0’

Thank you, may I ask how to find these number. Is it difficult?

BTW how to get
vfd_chars=
vfd_dot_bits=
vfd_display_type=

Thank you very much!

Hello @TheCoolest , I’ll give you data from the Tanix w2 (s905xw2), in case you can tell me the values to build the vfd:

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

Please try this one and let me know if it works for you.
tanix-w2-vfd.conf (1.3 KB)
If it doesn’t work, post dmesg | paste output.

http://ix.io/4lMK

It doesn’t work at all? Nothing on the screen? The dmesg seems to be clean, and it should work.

It works, but they come out just the other way around. If I go around the box they would be perfect, so you understand me.

And now?
tanix-w2-vfd.conf (1.3 KB)

21:57 = 75:12

tanix-w2-vfd.conf (1.3 KB)