G7 Max s905x4 1gbit 4gigs mem basic config info

This may be of some help for some one out there as well; having struggled with a couple of config options from the standard s905x4 gbit 4GB dtb config.
first off, the remote control needs to be updated with the custom .toml file

ssh root@my-g7-max-ip-address

vi /storage/g7_max_smart_tv.toml
[[protocols]]
name = “G7 Max Smart TV Box”
protocol = “nec”
variant = “necx”
[protocols.scancodes]
0x9f70a = “KEY_POWER”
0x9f700 = “KEY_UP”
0x9f703 = “KEY_LEFT”
0x9f701 = “KEY_DOWN”
0x9f702 = “KEY_RIGHT”
0x9f71f = “KEY_OK”
0x9f71c = “KEY_BACK”
0x9f780 = “KEY_MENU”
0x9f70c = “KEY_HOME”
0x9f758 = “KEY_VOLUMEUP”
0x9f75d = “KEY_VOLUMEDOWN”
0x9f70d = “KEY_MUTE”
0x9f751 = “KEY_CHANNELUP”
0x9f752 = “KEY_CHANNELDOWN”
0x9f71b = “KEY_INFO”
0x9f71a = “KEY_CONTEXT_MENU”

enable the remote control with
vi /storage/.config/rc_maps.cfg
meson-ir * g7_max_smart_tv.toml

Configuration OpenVFD to display clock, cpu temp, or movie playback time
*Step 1) Install OpenVFD program add on option within Coreelec Repository within Kodi *
Step 2) vi /storage/.config/vfd.conf
# This file must be renamed to vfd.conf and placed in the /storage/.config/ folder.
#
# A95X F4 - S905X4 configuration
#--------------------
#gpio_xxx:
# [0] 0 = &gpio.
# [1] pin number - https://github.com/CoreELEC/linux-amlogic/blob/amlogic-4.9-19/include/dt-bindings/gpio/meson-sc2-gpio.h
# [2] Reserved - must be 0.

vfd_gpio_clk=‘0,35,0’
vfd_gpio_dat=‘0,36,0’
vfd_gpio_stb=‘0,0,0xff’

#chars:
# < DHHMM > Order of display chars (D=dots, represented by a single char)

vfd_chars=‘0,1,2,3,4’

#dot_bits:
# Order of dot bits. Typical configurations:
# Display Type 0, 1 usually has Alarm, USB, Play, Pause, Col, Ethernet, Wifi dots
# Alarm = 0, USB = 1, Play = 2, Pause = 3, Col = 4, Eth = 5, Wifi = 6
# Display Type 2 usually has APPS, USB, SETUP, CARD, Col, HDMI, CVBS dots
# APPS = 0, USB = 1, SETUP = 2, CARD = 3, Col = 4, HDMI = 5, CVBS = 6
# Display Type 3 Power, LAN, Col, Low Wifi, High Wifi
# N/A = 0, N/A = 1, Power = 2, LAN = 3, Col = 4, Low Wifi = 5, High Wifi = 6

vfd_dot_bits=‘0,1,2,3,4,5,6’

#display_type:
# [0] - Display type.
# [1] - Reserved - must be 0.
# [2] - Flags. (bit 0 = ‘1’ - Common Anode display, bits [1-7] - Reserved.)
# [3] - Controller.

vfd_display_type=‘0x01,0x00,0x00,0x06’

test vfd with command
systemctl restart openvfd; dmesg | tail -20

reboot

2 Likes

I also need to figure out on board bluetooth controller, this is currently not detected.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.