0

Pi 2 Compatibility Updates
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

Re: Pi 2 Compatibility Updates

by pylon on Tue Mar 03, 2015 9:50 am

I got the display running with notro's fbtft kernel on a Pi 2. Unfortunately the touch input is not included there. I tried to find the source code for it but it seems you haven't open sourced it yet, at least I cannot find the file in your adafruit-rpi-fbtft and adafruit-raspberrypi-linux github repos. Am I looking for it at the wrong place? Where can I find the ft6x06_ts files?

pylon
 
Posts: 15
Joined: Tue Apr 24, 2012 11:27 am

Re: Pi 2 Compatibility Updates

by joelmaranhao on Tue Mar 03, 2015 12:05 pm

Thanks for the great software support.

Take your time! Looking forward to trying the 2.8" PiTFT on RPi v2

Cheers!

(Looks like there is no easy way to subscribe to a thread other than leaving a message)

joelmaranhao
 
Posts: 8
Joined: Tue Mar 03, 2015 11:52 am

Re: Pi 2 Compatibility Updates

by adafruit_support_rick on Tue Mar 03, 2015 12:48 pm

Please be patient! We're still working.

Please don't post "are we there yet" on this thread. Let's leave it as clean as possible for people subscribed to it.

There is a 'subscribe topic' button at the lower left of the thread page

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Pi 2 Compatibility Updates

by tictag on Thu Mar 05, 2015 9:15 am

Admins, please block this thread to forum member posts. There're a lot of people waiting for updates in this thread that don't want to listen to general chit-chat - there's a whole forum out there for that! Techies...you might want to consider at least a weekly post keeping us all up to date with progress. For example, I would have loved to see Lady Ada's 2200hrs and very sleepy YouTube post (bless you darling) about getting the PiTFT working posted in this thread.

tictag
 
Posts: 218
Joined: Sun Feb 15, 2015 4:01 pm

Re: Pi 2 Compatibility Updates

by adafruit2 on Tue Mar 10, 2015 3:57 pm

OK after 3 weeks of unending discoveries about device tree overlays, mkknlimage blessing, IRQ differences in the BCM2709 we now have a beta.
I've unlocked this thread. PLEASE ONLY TEST IF YOU KNOW YOU HAVE A WORKING PITFT AND PI! Keep this thread focused on debugging the *package* not your power supply ifyouknowhatimean ;)

https://blog.adafruit.com/2015/03/09/ne ... ry-it-out/

This package also works on Pi 1's *except* we still havent tested capacitive touch on Raspi Version 1's (the ones with I2C 0 instead of 1 on the header)

known: backlight control has changed, and isnt documented yet. 3.5" tft has rotated to match the 2.8 alignment. there's an auto-calibration helper here https://github.com/adafruit/PiTFT_Extras

adafruit2
Site Admin
 
Posts: 17772
Joined: Fri Mar 11, 2005 7:36 pm

Re: Pi 2 Compatibility Updates

by darksheep on Tue Mar 10, 2015 4:10 pm

Hi , I tried it and it worked with out a problem with my 3.5 pitft and a fresh copy of rasbain. Even the touch works well , just need to calibrate it some how its a bit off.

One thing I wanted to ask is how can I get it to show the desktop on the Pitft ?

Also how do we use this calibration helper ?

Thank you for you good work

darksheep
 
Posts: 15
Joined: Tue Nov 06, 2012 9:13 am

Re: Pi 2 Compatibility Updates

by googly_eyes on Tue Mar 10, 2015 4:13 pm

OK, so I followed the instructions on a brand new install of the latest Raspbian, did an update/upgrade, and an rpi-update.

The scripts and instructions seem to work fine. Upon reboot, I see the console text on the 3.5″ display, but the desktop doesn't show up on the small display, only on the HDMI output.

I tried removing the HDMI cable and rebooting, but still the only thing I see on the mini display is the console text and then an underline in the upper left of the now black display.

let me know if you need anything from my rpi to help you debug.

googly_eyes
 
Posts: 38
Joined: Wed Dec 05, 2012 8:22 pm

Re: Pi 2 Compatibility Updates

by googly_eyes on Tue Mar 10, 2015 4:17 pm

Oh, and I tried this on a rpi 2.

googly_eyes
 
Posts: 38
Joined: Wed Dec 05, 2012 8:22 pm

Re: Pi 2 Compatibility Updates

by adafruit2 on Tue Mar 10, 2015 4:21 pm

try

sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
export FRAMEBUFFER=/dev/fb1
startx
or
startx -- -dpi 60

to start up x on the pitft

to auto-cal:
https://raw.githubusercontent.com/adafr ... uch_cal.py
run on your pi with " sudo ./pitft_touch_cal.py "

adafruit2
Site Admin
 
Posts: 17772
Joined: Fri Mar 11, 2005 7:36 pm

Re: Pi 2 Compatibility Updates

by bpb on Tue Mar 10, 2015 4:23 pm

Worth noting here: If you have the helper package installed, the calibration utility should also be available with

Code: Select all | TOGGLE FULL SIZE
sudo adafruit-pitft-touch-cal

bpb
 
Posts: 34
Joined: Tue Jan 06, 2015 7:48 pm

Re: Pi 2 Compatibility Updates

by googly_eyes on Tue Mar 10, 2015 4:31 pm

OK, that worked. I now see the desktop on the piTFT.

Will this work from now on, or do I have to set my pi to boot to the console and do the startx every time??

BTW there was no fbturbo file.

googly_eyes
 
Posts: 38
Joined: Wed Dec 05, 2012 8:22 pm

Re: Pi 2 Compatibility Updates

by adafruit2 on Tue Mar 10, 2015 4:35 pm


adafruit2
Site Admin
 
Posts: 17772
Joined: Fri Mar 11, 2005 7:36 pm

Re: Pi 2 Compatibility Updates

by CPUFixrMan on Tue Mar 10, 2015 4:37 pm

"BTW there was no fbturbo file."

I thought so at first, as well, but located it in /home/pi.

I created this quick script that sets FRAMEBUFFER= and launches X, and called it pitft-x.sh

Code: Select all | TOGGLE FULL SIZE
#!/bin/bash
export FRAMEBUFFER=/dev/fb1
startx -- -dpi 60


~# chmod 755 pitft-x.sh

and launch using

~# ./pitft-x.sh

CPUFixrMan
 
Posts: 2
Joined: Thu Feb 19, 2015 5:36 pm

Re: Pi 2 Compatibility Updates

by googly_eyes on Tue Mar 10, 2015 4:44 pm


googly_eyes
 
Posts: 38
Joined: Wed Dec 05, 2012 8:22 pm

Re: Pi 2 Compatibility Updates

by camix on Wed Mar 11, 2015 10:52 am

Pre new helper configuration script there was an adafruit.conf file that I could configure to change the screen orientation (landscape or portrait). How can this accomplished now?

camix
 
Posts: 4
Joined: Tue Jan 08, 2013 3:20 pm

Please be positive and constructive with your questions and comments.