Changes

Jump to navigation Jump to search
more details on configuring
Line 36: Line 36:  
  - '''update zynthian library''' from the admin menu
 
  - '''update zynthian library''' from the admin menu
 
  - '''restart GUI''' (or '''reboot''') from the admin menu
 
  - '''restart GUI''' (or '''reboot''') from the admin menu
 +
 +
cd /zynthian/zynthian-sys/scripts
 +
./update_zynthian.sh
 +
./update_zynthian.sh
 +
./update_data.sh
 +
 +
==Step 1: Edit fb1 to fb0 in all these files:==
 +
 +
nano /etc/systemd/system/zynthian.service
 +
nano /zynthian/zynthian-sys/sbin/splash-screen.sh
 +
nano /zynthian/zynthian-sys/sbin/zynthian.sh
 +
nano /zynthian/zynthian-ui/zynthian.sh
 +
nano /zynthian/zynthian-ui/zynthian_gui_config.py
 +
 +
==Step 2: Edit boot/config.txt==
 +
 +
nano /boot/config.txt
 +
 +
Edit the following lines according to your screen or set to None and it will auto detect. Try None first if that does not work then put in screen width and height.
 +
framebuffer_width=1024
 +
framebuffer_height=600
 +
 +
comment out both lines
 +
#dtoverlay=pitft28-capacitive,rotate=90,speed=32000000,fps=20
 +
#dtoverlay=pitft28-resistive,rotate=90,speed=32000000,fps=20
 +
 +
If you are running the HDMI screen from the USB port add this line to the end of the file. changes the output voltage on all 4 usb combined from 600mA to double that, 1200mA. which is need for external hd or powering hdmi monitors. Note use a 2A power supply or greater.
 +
 +
max_usb_current=1
 +
 +
Add those lines at the end of the file suggested by the manufacture if None or framebuffer settings from above did not work. For example: 7" Waveshare display - the values below should be adjusted according to your screen
 +
hdmi_goup=2
 +
hdmi_mode=1
 +
hdmi_mode=87
 +
hdmi_cvt 1024 600 60 6 0 0 0
 +
 +
==Step 3: Edit Configure X11==
 +
 +
nano /etc/X11/xorg.conf.d/99-pitft.conf
 +
 +
edit the file to look like this:
 +
 +
Section "Device"
 +
Identifier "HDMI"
 +
Driver "fbdev"
 +
Option "fbdev" "/dev/fb0"
 +
EndSection
 +
 +
==Step 4: Reboot==
 +
shutdown -r now
393

edits

Navigation menu