Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Display installation and control over Display
#5
I had looked at Waveshare displays a while ago for another project. Never got around to buying one, but my impression from reading the sparse documentation was that they are simply an HDMI display with a resistive touchscreen. 

If you have the RPi-version, then it includes a hat-like base that can plug directly to the RPi for power and gpio but you still need the separate connection between the HDMI port on the RPi and the display. 

The so-called drivers I found on github seem mostly to set up raspbian for an HDMI display and start X. There's also some things to help calibrate the touchscreen, to rotate the screen by 270-degrees, etc.

When you have enabled local display in moOde and rebooted, what is the content of /boot/config.txt? 

On one of my players running moOde r4.4 with local display enabled, I get (with my added note)

Code:
pi@moode44:~ $ more /boot/config.txt
disable_splash=1
hdmi_drive=2             <<-- this forces HDMI mode instead of DVI
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt
 
I ask because the Waveshare folks seem to recommend a number of specific HDMI settings.


Do you have another HDMI display you can use to test that the RPi HDMI output is working? 

Attached is a screenshot of my 19" monitor plugged into the RPi HDMI port. This monitor did not sync with the default /boot/config.txt parameters. Rather than take time to fiddle to find proper settings, I commented out the hdmi_drive line and added

Code:
hdmi_safe=1


Also, just to be sure, is the X-server running, e.g.,

Code:
pi@moode:~ $ ps aux|grep X
root      1150  0.1  3.4 130724 32832 tty2     Ssl+ 11:24   0:00 /usr/lib/xorg/Xorg :0
pi        3593  0.0  0.0   4372   568 pts/0    S+   11:32   0:00 grep --color=auto X

where the first line shows the X-server is running. The second is an artifact of my simplistic use of grep.


Bottom line: I don't believe you are very far from getting the result you want.

Regards,
Kent


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Display installation and control over Display - by TheOldPresbyope - 01-15-2019, 06:16 PM

Forum Jump: