Sorry for my english, i use G....e for help. (i'm best in french ).
I had a demand of my image of runeaudio 0.4b with pitft 3.5 working. For people who have difficulties with the code i put my image here:
The link: https://drive.google.com/open?id=0B1Lpxf_c0CmEcDhYZjlHaWVENFk
It's an image with no configuration. For configuring the screen you can read the end of my post.
For the others who want's to try by themselves, you can continue to read.
I have used much of the explanation of this post:
raspberry-3-runeaudio-and-tft-2-2-hat-install-t3496.html
And i used the RuneAudio image of hondagx35 (thank's to him), you can find here:
https://docs.google.com/uc?id=0B5E5WDN- ... t=download
And the software "WinSCP" ( to access certain files) and "PuTTY" ( to insert code and reboot...) ".
To Install the PITFT 3.5: (A part of the text is taken in integrality from the post i said before)
Get the device tree overlay:
- Code: Select all
curl -L --output /boot/overlays/pitft35r.dtb https://github.com/AndrewFromMelbourne/raspi-device-tree/raw/master/pitft35r-overlay.dtb
Next I used the second command listed above to get the adafruit script and make it executable:
- Code: Select all
curl -L --output /root/adafruit-pitft-helper https://raw.githubusercontent.com/adafruit/Adafruit-PiTFT-Helper/master/adafruit-pitft-helper && chmod +x /root/adafruit-pitft-helper
then I executed the script with this:
- Code: Select all
export SYSTEMD=1 && /root/adafruit-pitft-helper -t 35r -u /root
I check that fb is on 1 and not on 0 (fb1 is for TFT an fb0 is for HDMI)
For that:
What is the output of the following command:
- Code: Select all
ls -l /dev/fb*
If not, then the screen was not initialized correctly by the kernel/device tree,
Do that:
installed packages:
- Code: Select all
pacman -Qe
And for finish:
- Code: Select all
reboot
Now, if you want to correct the display, return it ....
I have made this:
To return the display:
In the file "boot/config.txt"
I change:
dtoverlay=pitft35-resistive,rotate=270,speed=25000000,fps=20
by:
dtoverlay=pitft35-resistive,rotate=90,speed=25000000,fps=20
And for the touchscreen to match the rotation of the screen make the following changes:
in the file "etc/x11/xorg.conf.d/99-calibration.conf"
Change:
Section "InputClass"
Identifier "calibration"
MatchProduct "stmpe-ts"
Option "Calibration" "3800 120 200 3900"
Option "SwapAxes" "1"
EndSection
By:
Section "InputClass"
Identifier "calibration"
MatchProduct "stmpe-ts"
Option "Calibration" "120 3800 3900 200"
Option "SwapAxes" "1"
EndSection
To adjust the display on the screen:
I made this:
- Code: Select all
sudo nano /root/.config/midori/config
Change the value "0.7" by the value "0.5"
And for finish (record and close the file)
Ctrl+O
Ctrl+X
And:
- Code: Select all
reboot
I hope this will help beginners like me who spent a lot of time searching and finding a solution.
And a big thank you to all those who posted solutions on the forum, without them I will never have arrived.
Thank you