0

Pitft 2.8 Capacitive Jesse Image MPC/MPD broke
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: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by adafruit_support_mike on Fri Dec 01, 2017 1:34 am

What output do you get from the command:

Code: Select all | TOGGLE FULL SIZE
ls -d /etc/k*

adafruit_support_mike
 
Posts: 46740
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Fri Dec 01, 2017 3:14 pm

Throwing myself at the feet of tech support here! Still trying to get the 2.8 PiTFT Capacitive Touch display running with Raspi Stretch. This is a working RPi 3 and micro SD card, not the one I was having problems with because of the case. Using the Easy Install at https://learn.adafruit.com/adafruit-2-8 ... sy-install, I formatted and burned a fresh copy of Raspbian Stretch 2017-09-07 and ran sudo apt-get update and upgrade. I copied /etc/kbd/config from an Ubuntu distribution to the RPi and commented out everything. The Permissions stayed at root like on Ubuntu. This folder/file doesn't exist in Raspbian and the Easy Installation is failing on it. I then completed the Easy Installation with no failures, selecting 'y' for console appearing on the PiTFT and 'n' for GPIO #23 acting as on/off button at which point the installation finished with Success! On the reboot the screen displays the four-color red-blue-yellow-teal background, the PiTFT stays all white and the red power LED is on while the green LED shows four slow flashes followed by four faster flashes and then a three second pause. I powered down the RPi during the three second pause and on power up it arrives at the same place. Can someone give me some advice, or better yet point me to an Easy Installation that works for the PID #2324 Capacitive Touch display?

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Fri Dec 01, 2017 3:18 pm

Hi Mike. At what point do I enter that command. Once the Installation is complete the Pi seems to be off in binary land somewhere. Four-color background screen, all white PiTFT screen, solid red power LED and Green LED is flashing continuous four-slow-four-fast-three second pause. Thanks in advance.

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by adafruit_support_mike on Sat Dec 02, 2017 3:41 am

The behavior you're seeing means the RasPi can't read the OS on the SD card. Drop back to a fresh install of Stretch and see if you can get that to boot.

adafruit_support_mike
 
Posts: 46740
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Mon Dec 04, 2017 11:26 pm

Hi Mike.

My previous post 'by rhassinger on Fri Dec 01, 2017 8:14 pm' describing the LED four flashes sequence was after a fresh load of 2017-09-07-raspbian-stretch. Each time I try to apply the Easy Install steps it has been on a fresh install of the Raspbian Stretch OS.

After those Easy Install steps, which was loaded on a fresh Raspbian Stretch 2017-09-07 and appeared to complete successfully, file /etc/kbd/config was not updated. That was the file that the Easy Install was failing on because it couldn't find it, which is why I copied the /etc/kbd/config from an Ubuntu distribution after which the Easy Install completed successfully. That folder and file is not in Raspbian.

I wanted to be sure I haven't messed anything up so I burned and ran the 'Jessie-based PiTFT 2.8" Capacitive Image for Pi 1, Pi 2 and Pi 3 (Sept 23. 2016)' image from page https://learn.adafruit.com/adafruit-2-8 ... sy-install that I had run before. It still works ok, so the Pi 3 and PiTFT are running properly.

There is a new version of Stretch available on the raspberrypi.org downloads page, 2017-11-29-raspbian-stretch. Last night I downloaded and burned this to a micro SD to try it, ran update and upgrade, copied the /etc/kbd/config file into raspbian and then tried to apply the Easy Installation steps which completed successfully. After the sudo reboot step the red power led was on and the green activity led stopped flashing and went on solid as well. After power down and back up the red power led stayed on solid and no green activity led at all. The monitor stayed black and the PiTFT display stayed white.

I'm not sure what to try next. Is anyone getting the Easy Install steps on page https://learn.adafruit.com/adafruit-2-8 ... sy-install to work properly, and ending up with a working 2.8" Capacitive Touch PiTFT, Product ID #2423? I know my RPi and 2.8" PiTFT are good. Here are the steps I'm using:

1. Burn a fresh copy of 2017-09-07-raspbian-stretch to a micro SD and install it in the RPi with the PiTFT display plugged into the GPIO.
2. Power on the RPi and setup the localization, then the wifi and then enter sudo update and sudo upgrade. At this point the RPi is ready for the Easy Install steps.
3. Enter command: curl -SLs https://apt.adafruit.com/add-pin | sudo bash
4. Enter command: sudo apt-get install raspberrypi-bootloader
5. Enter command: sudo apt-get install adafruit-pitft-helper
6. Enter command: sudo apt-get install raspberrypi-kernel
7. Enter command: sudo adafruit-pitft-helper -t 28c >>> and answer 'y' to have the console appear on the PiTFT display and 'n' to have GPIO #23 act as an on/off button
8. sudo reboot

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Tue Dec 05, 2017 8:04 pm

Hi. Yet another try at the Easy Install at https://learn.adafruit.com/adafruit-2-8 ... sy-install. Only difference is not running update and upgrade so it is just the Raspbian image.

Here are the steps I'm using:

1. Burn a fresh copy of 2017-09-07-raspbian-stretch to a micro SD and install it in the RPi with the PiTFT display plugged into the GPIO.
2. Power on the RPi and setup the localization, then the wifi. Did NOT do sudo update and sudo upgrade.
3. Enter command: curl -SLs https://apt.adafruit.com/add-pin | sudo bash
(I cannot enter the following as one command as shown on the Easy Install because of dependencies, so I entered three separate install commands without error.)
4. Enter command: sudo apt-get install raspberrypi-bootloader
5. Enter command: sudo apt-get install adafruit-pitft-helper
6. Enter command: sudo apt-get install raspberrypi-kernel

7. Create empty /etc/kbd/config file. added a '#' comment line. The following command fails if /etc/kbd/config is not present.

8. Enter command: sudo adafruit-pitft-helper -t 28c >>> and answer 'y' to have the console appear on the PiTFT display and 'n' to have GPIO #23 act as an on/off button
9. Finishes with 'success'
10. sudo reboot

At this point I have solid red and green LED's, a black monitor display and a white PiTFT screen.

If I power down and back up I immediately get a red LED, no green LED (no flashes either), a black monitor display and a white PiTFT screen.

Any ideas anyone? 'skico' said he got it running but I haven't figured out how to contact him to see what he's doing different.

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by adafruit_support_mike on Mon Dec 11, 2017 4:57 am

rhassinger wrote:(I cannot enter the following as one command as shown on the Easy Install because of dependencies, so I entered three separate install commands without error.)

What dependencies are causing a problem? The command should work as-is on any version of Raspbian.

adafruit_support_mike
 
Posts: 46740
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Mon Dec 11, 2017 11:58 pm

Hi Mike. First, can you answer one burning question for me please? Using 2017-09-07-Raspbian-Stretch.img from the Raspberrypi.org download page, are the Easy Installation and/or Detailed Installation instructions supposed to work? I keep having the feeling I am bashing my head against something that just doesn't work properly yet. Are any others getting this PID#2423 display to work on Stretch using the Easy or Detailed Installation Instructions?

Below is a list of the steps I did and the Terminal output for curl and apt-get install commands from the Easy Installation instructions at https://learn.adafruit.com/adafruit-2-8 ... sy-install:

1. Start with 16 GB Sandisk Ultra Class 10 Micro SD HCI card formatted with SD Formatter. Burn the 2017-09-07-Raspbian-Stretch.img file from the raspberrypi.org download page using Win32 Disk Imager.
2. Insert the Micro SD card into the Raspberry Pi 3 with the 2.8" PiTFT display PID#2423 mounted on the RPi GPIO pins, and then power up. There is also an HDMI display attached.
3. When the RPi comes to the Desktop open a Terminal and enter: sudo raspi-config
4. Choose 7. Advanced Options and then A1 Expand Filesystem. Root Partition is resized. Select Reboot.
5. At the Desktop, the keyboard isn't putting out the '|' character in the Terminal, so open Raspberry Pi Configuration window and set Locale, Timezone, Keyboard and WiFi Country. Select Reboot.
7. At the Desktop, select the proper WiFi SSID and enter password.

8. Open a Terminal and enter: curl -SLs https://apt.adafruit.com/add-pin | sudo bash

9. Enter: sudo apt-get install -y raspberrypi-bootloader adafruit-pitft-helper raspberrypi-kernel

10. Immediately get "Some packages could not be installed" and "The following packages have unmet dependencies". The packages are named in the output, and I also see references to Wheezy. Is the Wheezy reference ok?

See the Terminal output, below:

pi@raspberrypi:~ $ curl -SLs https://apt.adafruit.com/add-pin | sudo bash

[STAR LOGO REMOVED BY ME TO REDUCE SIZE OF THIS OUTPUT]

adding apt.adafruit.com to /etc/apt/sources.list

OK
pinning apt.adafruit.com origin
edit /etc/apt/preferences.d/adafruit to change
Get:1 http://apt.adafruit.com/raspbian wheezy InRelease [2,093 B]
Get:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Ign:1 http://apt.adafruit.com/raspbian wheezy InRelease
Get:3 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:4 http://apt.adafruit.com/raspbian wheezy/main armhf Packages [6,091 B]
Get:5 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:6 http://archive.raspberrypi.org/debian stretch/main armhf Packages [127 kB]
Get:7 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [27.7 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf Packages [56.8 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages [95.2 kB]
Fetched 12.0 MB in 24s (492 kB/s)
Reading package lists... Done
W: GPG error: http://apt.adafruit.com/raspbian wheezy InRelease: The following signatures were invalid: 58A1FE78D61C7C13E28B92A7C24E6D5378661FA5
W: The repository 'http://apt.adafruit.com/raspbian wheezy InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

pi@raspberrypi:~ $ sudo apt-get install -y raspberrypi-bootloader adafruit-pitft-helper raspberrypi-kernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1.20160324-1)
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:~ $

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by adafruit_support_mike on Tue Dec 12, 2017 4:31 am

rhassinger wrote:Using 2017-09-07-Raspbian-Stretch.img from the Raspberrypi.org download page, are the Easy Installation and/or Detailed Installation instructions supposed to work?

Yes.

Ladyada and the PiTFT team dedicated a week to making them work about two or three weeks ago. Not only should it work, it should work on the basis of recent extensive testing.

adafruit_support_mike
 
Posts: 46740
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Wed Dec 13, 2017 1:42 am

Hi Mike. That is why this is driving me crazy! Tonight I again downloaded 2016-10-18-pitt-28c.zip, extracted it and burned it to a Micro SD. I put it in the RPi 3 with the display mounted on the GPIO and it comes up just fine. Please see the images I uploaded. My previous post Tue Dec 12, 2017 4:58 am (what's with the 'am'?) included my steps using the Easy Installation at https://learn.adafruit.com/adafruit-2-8 ... sy-install, which I followed exactly, and also the Terminal output from the those first few steps. Also, the Stretch image runs fine prior to attempting the Easy Installation steps.
- If you look through that post you can see it failed on Step 2, sudo apt-get install -y raspberrypi-bootloader adafruit-pitft-helper raspberrypi-kernel. It will work if I separately install each of the three packages: Bootloader, helper and kernel. Was this supposed to have worked?
- If you look further back in my posts you can see that I installed the three packages separately but then on Step 3, sudo adafruit-pitft-helper -t 28c, it will fail because of sed: can't read /etc/kbd/config: No such file or directory. That is because the Stretch image doesn't have the /etc/kbd/ folder with the config file. Was this supposed to have worked?
- Finally, if I create a /etc/kbd/config file before running sudo adafruit-pitft-helper -t 28c, that command finishes successfully. However, on the reboot the RPi indicates it cannot find the Stretch image.
I'm running out of ideas here. I could buy a new RPi 3, but if the Jesse image drives the display properly doesn't that say the RPi is ok and should work with Stretch?
I have a hard time believing the display works with the Jessie image but is bad with the Stretch image. I guess it could be possible.
It's almost like I'm using a completely different Easy Installation page than what you all developed for Stretch. Any ideas?
IMG_0033.JPG
IMG_0033.JPG (520.55 KiB) Viewed 124 times
IMG_0035.JPG
Running the Jesse based image.
IMG_0035.JPG (730.92 KiB) Viewed 124 times
. (I don't know why the images are upside down!)

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Re: Pitft 2.8 Capacitive Jesse Image MPC/MPD broke

by rhassinger on Fri Dec 15, 2017 2:53 am

Adafruit2 gave me the following fix and it works. Gives me a command line input on the display, which should work for the project I'm working on. Thanks a bunch!

viewtopic.php?f=24&t=54246&start=15#p630193

Hopefully we will have a Stretch based image to download soon.

I never got the Easy Installation or Detailed Installation to work with the Stretch Raspbian. There is definitely something wrong with those procedures at this time.

rhassinger
 
Posts: 27
Joined: Wed Oct 25, 2017 10:45 pm

Please be positive and constructive with your questions and comments.