How to configure VFD

If you try the hk1 vfd file, you also need to apply the DTB change required for that configuration to work.
Check the wiki.

1 Like

The dtb for the S905X4 is in the current nightly. I had boxed mine up to send back the junk but got it to take picture you asked for. I did get it working on the Tanix X4 using type 1 but there are no icons available on the display as indicated on the readme. The four digits are green not as shown on the display.

image

So the display itself doesn’t have any icons (physically), right? Only the 4 digits? And the only change you had to make in the vfd.config file is to change display type to 1?
When it’s in clock mode, is the colon between the 2 digits blinking?

1 Like

Right, right and right, and there is no colon at all, just the 4 digits that are green and much bigger then the HK1

Try
vfd_display_type='0x01,0x00,0x00,0x03'
And check the time. The colon should blink.

1 Like

The still displays the same with no colon.

Thank you so much emveepee and The Coolest. I am now using the latest 19.5 nightly build of 24th Aug and the new DTB which indeed has the working front panel display driver included. Now using the HK1 X4 vfd.conf and changing it to type 1 as suggested and illustrated by The Coolest it now all works. Sure no flashing or static colon but hey this is now good and a big improvement to this new box.

Now all we need is the WiFi and BT drivers of course.

Forgot this, also change vfd_chars to vfd_chars='2,4,3,2,1'.
The colon will appear only in time mode.

1 Like

Confirmed colon is working with that.

1 Like

btw, latest nightlies do not need the dtb hack anymore.

1 Like

Hey many thanks TheCoolest. My colon is now winking LOL

Newbie still
have patience

Testing Coreelec on a95xf4 s905x4 4/32
Box is older/first release came with andriod 10
So have flashed Android 11 firmware

Using latest nightly
This dtb sc2_s905x4_4g.dtb

Have remote working used
Config from A95XF3AIR

The mission is vfd config
Have tried various files with no luck

Here are some pics with info about display and what is happening in Android
Older Terminal gave different results so post new version in picS
20220904_181754
20220904_150034
20220904_161630
20220904_161133

1 Like

Try this file:
a95x-f4-aml-vfd.conf (1.2 KB)

1 Like

Most Excellent!!!

Thankyou!!!

1 Like

Hello! I recently bought an x96 plus max ultra, wich is basicly an updated version of the x96 max plus. It has an 905X4 core instead of an 905X3, but overall it is the same. I am using openVFD on the 905X3 and this works perfectly, but somehow on the newer box is does not work. It looks like the driver/service does not want to start. I am running the lates nigtly and when i check the status of the driver this is the output:

● openvfd.service - OpenVFD Service
Loaded: loaded (/usr/lib/systemd/system/openvfd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2021-08-06 16:43:10 CEST; 1 year 1 month ago
Process: 3334 ExecStart=/usr/lib/coreelec/openvfd-start (code=exited, status=1/FAILURE)
Process: 3443 ExecStopPost=/usr/sbin/rmmod openvfd (code=exited, status=0/SUCCESS)
Main PID: 3334 (code=exited, status=1/FAILURE)

Aug 06 16:43:09 CoreELEC openvfd-start[3382]: /storage/.config/vfd.conf: line 13: $‘\r’: command not found
Aug 06 16:43:09 CoreELEC openvfd-start[3384]: /storage/.config/vfd.conf: line 16: $‘\r’: command not found
Aug 06 16:43:09 CoreELEC openvfd-start[3388]: /storage/.config/vfd.conf: line 18: $‘\r’: command not found
Aug 06 16:43:09 CoreELEC openvfd-start[3393]: /storage/.config/vfd.conf: line 27: $‘\r’: command not found
Aug 06 16:43:09 CoreELEC openvfd-start[3397]: /storage/.config/vfd.conf: line 29: $‘\r’: command not found
Aug 06 16:43:09 CoreELEC openvfd-start[3399]: /storage/.config/vfd.conf: line 35: $‘\r’: command not found
Aug 06 16:43:09 CoreELEC openvfd-start[3415]: Open device failed.
Aug 06 16:43:09 CoreELEC openvfd-start[3415]: : No such file or directory
Aug 06 16:43:09 CoreELEC systemd[1]: openvfd.service: Main process exited, code=exited, status=1/FAILURE
Aug 06 16:43:10 CoreELEC systemd[1]: openvfd.service: Failed with result ‘exit-code’.

Does anyone have any idea?

Your file vfd.conf is DOS formatted but must be UNIX formatted.
You need to change format with some text editor or directly on device in SSH console with command

dos2unix  /storage/.config/vfd.conf

In the future edit and save the configuration file with gvim instead of windows notepad.

Thanks! somehow i messed up the file format. It is now in unix format, but i still don’t get it to work. Probably someting stupid again:

● openvfd.service - OpenVFD Service
Loaded: loaded (/usr/lib/systemd/system/openvfd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2021-08-06 14:43:09 UTC; 1 year 1 month ago
Process: 3335 ExecStart=/usr/lib/coreelec/openvfd-start (code=exited, status=1/FAILURE)
Process: 3387 ExecStopPost=/usr/sbin/rmmod openvfd (code=exited, status=0/SUCCESS)
Main PID: 3335 (code=exited, status=1/FAILURE)

Aug 06 14:43:09 CoreELEC systemd[1]: Started OpenVFD Service.
Aug 06 14:43:09 CoreELEC openvfd-start[3377]: Open device failed.
Aug 06 14:43:09 CoreELEC openvfd-start[3377]: : No such file or directory
Aug 06 14:43:09 CoreELEC systemd[1]: openvfd.service: Main process exited, code=exited, status=1/FAILURE
Aug 06 14:43:09 CoreELEC systemd[1]: openvfd.service: Failed with result ‘exit-code’.

gpio.txt (3.4 KB)

The GPIO output form android. I use this VFD conf file:

vfd.conf (1.2 KB)

You probably copy\pasted it from github, it copies weird characters. Either download the file or open it in raw mode and then copy\paste.
Preferably just download it as is, and put it in place, don’t edit it.

1 Like