Advertisement
chinhhut

Untitled

Jun 29th, 2022
751
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.24 KB | None
  1. # This file must be renamed to vfd.conf and placed in the /storage/.config/ folder.
  2. #
  3. # X96 Max Plus (S905X3) configuration
  4. #--------------------
  5. #gpio_xxx:
  6. # [0] 0 = &gpio, 1 = &gpio_ao.
  7. # [1] pin number - https://github.com/openSUSE/kernel/blob/master/include/dt-bindings/gpio/meson-g12a-gpio.h
  8. # [0] Reserved - must be 0.
  9.  
  10. vfd_gpio_clk='1,6,0'
  11. vfd_gpio_dat='1,8,0'
  12. vfd_gpio_stb='1,10,0'
  13.  
  14. #chars:
  15. # < DHHMM > Order of display chars (D=dots, represented by a single char)
  16.  
  17. vfd_chars='4,0,1,2,3'
  18.  
  19. #dot_bits:
  20. # Order of dot bits. Typical configurations:
  21. # Display Type 0, 1 usually has Alarm, USB, Play, Pause, Col, Ethernet, Wifi dots
  22. # Alarm = 0, USB = 1, Play = 2, Pause = 3, Col = 4, Eth = 5, Wifi = 6
  23. # Display Type 2 usually has APPS, USB, SETUP, CARD, Col, HDMI, CVBS dots
  24. # APPS = 0, USB = 1, SETUP = 2, CARD = 3, Col = 4, HDMI = 5, CVBS = 6
  25. # Display Type 3 Power, LAN, Col, Low Wifi, High Wifi
  26. # N/A = 0, N/A = 1, Power = 2, LAN = 3, Col = 4, Low Wifi = 5, High Wifi = 6
  27.  
  28. vfd_dot_bits='0,1,2,3,4,5,6'
  29.  
  30. #display_type:
  31. # [0] - Display type.
  32. # [1] - Reserved - must be 0..
  33. # [2] - Flags. (bit 0 = '1' - Common Anode display)
  34. # [3] - Controller.
  35.  
  36. vfd_display_type='0x02,0x00,0x01,0x00'  # ok
  37.  
  38. functions='usb apps setup sd hdmi cvbs'
Advertisement
RAW Paste Data Copied
Advertisement