In a previous message, he mentioned he is using the 4" spi version.

I'm assuming that you are trying to get jivelite working.  First install
jivelite, this will also install the Touchscreen kernel modules.  In pCP
3.20, I've started to include the ads7846.ko module that waveshare uses
as a touch interface.

First, I'm doing this all based on reading, the instructions
http://www.waveshare.com/wiki/4inch_RPi_LCD_(A)#Driver   I don't have a
waveshare screen, so there is no way for me to troubleshoot.

You will need to download this to.
http://www.waveshare.com/w/upload/7/74/LCD-show-170309.tar.gz  Hopefully
this is designed for the new 4.9.y kernels.

Once extracted, do not run the LCD4-show script......but you need to
read what that script is doing.

The files of interest are

waveshare35a-overlay.dtb   
-Copy this file to /mnt/mmcblk0p1/overlays/waveshare35a-overlay.dtbo
-and /mnt/mmcblk0p1/overlays/waveshare35a-overlay.dtb


The next files are the configs for orientation......look at the last
lines of the file

boot/config-4.txt
boot/config-4.txt-90
boot/config-4.txt-180
boot/config-4.txt-270

depending on the orientation  (This is the lines from config-4.txt)  Add
these lines to /mnt/mmcblk0p1/config.txt
dtoverlay=waveshare35a
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900

After making the edits, reboot and see if the screen starts
up......there is a chance that the screen will stay dark.....the key
will be if /dev/fb1 is present on your system, there should also be some
messages in dmesg.   Lets see how this goes, before moving on.


Reminder, if you save files in your home directory, backup before
rebooting (pcp bu)
/mnt/mmcblk0p1 is persistent, so backup is not needed here.


------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107320

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to