How to configure VFD

Try changing vfd_chars='0,4,3,2,1' to vfd_chars='4,0,3,2,1' and see what if changes.

At 17:30 he writes this

okay, succeeded
that’s how it got good => vfd_chars=‘4,0,1,2,3’

i would share the finished vfd file which is good for X99Max plus and X88Pro-X3 BOX

vfd_x99max-plus(x88pro-x3).conf (1.2 KB)

Great, thanks!

Please help, I make a C compiled file, with struct from OpenVFDService, but nothing

#include <fcntl.h>
#include <unistd.h>
#include <string.h>

typedef unsigned char u_int8;
typedef unsigned short u_int16;
typedef unsigned long u_int32;

struct vfd_display_data {
u_int16 mode;
u_int8 colon_on;
u_int8 temperature;

struct {
u_int8 seconds;
u_int8 minutes;
u_int8 hours;
u_int8 day_of_week;
u_int8 day;
u_int8 month;
u_int16 year;
} time_date;
struct {
u_int8 seconds;
u_int8 minutes;
u_int8 hours;
u_int8 _reserved;
} time_secondary;
struct {
u_int16 channel;
u_int16 channel_count;
} channel_data;

char string_main[512];
char string_secondary[128];
};

int main()
{
static struct vfd_display_data data;
memset(&data, 0, sizeof(data));
data.mode = 5;
data.temperature = 15;

int file;

file = open(“/sys/class/leds/openvfd/led_cmd”, O_WRONLY);
if (file==-1){
printf(“Error open pipe\n”);
return -1;
}
for (int i=0;i<10;i++){
write(file,&data,sizeof(data));
sleep(1);
}
close(file);

return 0;

}

the WIFI, USB, LAN, PLAY, PAUSE, icons were incorrectly displayed! fixed it at vfd_dot_bits

here is the corrected vfd file => vfd_x99max-plus(x88pro-x3)-NEW.conf (1.2 KB)

X96MAX PLUS requires use of X96MAX vfd
(and X96AIR P2 P3 you also need to use that)

1 Like

Thanks. I pushed this vfd.conf to the github repo.

Thanks a lot. It works perfectly on my X99max

For X96Air im using this vfd.conf
What’s the difference of the file you provide?
Do i need replace “mine” for yours?
Thanks

If the vfd.conf you linked works for you, then the X99-Max vfd will not work. The X99 Max uses a completely different controller and display configuration.

So I don’t understand why he mentioned x96air

Don’t know

I guess he wanted to say X96 Air needs the same vfd conf as the X96Max Plus.
Not the X99 he had been shared.

1 Like

Thank you very much, it was my mistake. All works))

1 Like

I’m trying to get the front display to work -
The box is x96Air_P2_20191017 - 1917 - 4 / 64GB
Installed the nightly CE - running on SD card - works great!
Got the remote working - followed procedure in another thread. Most of it works.
The display is blank.
Downloaded x96-max-1gbit-vfd.conf - renamed to vfd.conf

But where is folder “/storage/.config” located ?
Can’t find the folder on the SD card!
Thanks for any help.

I don’t know how you access CE.I use coreftp lite. If you are using explorer, perhaps you need to show hidden files.

It’s the Config folder on the smb share.

Just access using \\coreelec from run command in windows or explorer

To see that folder, in Kodi choose Settings → Media → General → Show hidden files and directories => set to ON.
Then in (pretty potent) Kodi File manager you’ll see all hidden files and folders (folders all begin with a dot, like .config) Working with File manager, manipulating files/folders should not be a problem to any novice…

1 Like