how to uninstall PITFT plus software on a RPi 3B+

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
xetum
 
Posts: 2
Joined: Tue Oct 02, 2018 4:28 am

how to uninstall PITFT plus software on a RPi 3B+

Post by xetum »

I'm about to install PITFT plus display software with adafruit-pitft.sh script. I'm going to make some tests with console-only and graphics display mirroring and would like to know in advance how to uninstall it completely and revert to HDMI-only setup

User avatar
xetum
 
Posts: 2
Joined: Tue Oct 02, 2018 4:28 am

Re: how to uninstall PITFT plus software on a RPi 3B+

Post by xetum »

More specifically. If I look at adafruit-pitft.sh script:

Code: Select all

# ask for console access
if ask "Would you like the console to appear on the PiTFT display?"; then
    info PITFT "Updating console to PiTFT..."
    uninstall_fbcp  || bail "Unable to uninstall fbcp"
    install_console || bail "Unable to configure console"
else
    info PITFT "Making sure console doesn't use PiTFT"
    uninstall_console || bail "Unable to configure console"

    if ask "Would you like the HDMI display to mirror to the PiTFT display?"; then
        info PITFT "Adding FBCP support..."
        install_fbcp || bail "Unable to configure fbcp"

        if [ -e /etc/lightdm ]; then
            info PITFT "Updating X11 default calibration..."
            update_xorg || bail "Unable to update calibration"
        fi
    fi
fi
and mirror displays, there is no chance to restore HDMI default since uninstall_fbcp isn't invoked. Only way would be to install console on the PiTFT display and then rerun and answer no to both questions. Perhaps a modified script like:

Code: Select all

# ask for console access
if ask "Would you like the console to appear on the PiTFT display?"; then
    ....
else
    ....
    if ask "Would you like the HDMI display to mirror to the PiTFT display?"; then
        ....
    else
        # ADD AN ELSE ALTERNATIVE
        uninstall_fbcp  || bail "Unable to uninstall fbcp"
    fi
fi
would do the job?

User avatar
CoreyWC1
 
Posts: 6
Joined: Tue Oct 02, 2018 10:02 am

Re: how to uninstall PITFT plus software on a RPi 3B+

Post by CoreyWC1 »

Been trying to figure out this same thing, Ideally would like the option to switch back and forth between the TV/ monitor and the TFT. Was under the impression that the easy install script did that but it's proving to not be the case

User avatar
stangogh
 
Posts: 15
Joined: Tue Oct 25, 2016 8:22 pm

Re: how to uninstall PITFT plus software on a RPi 3B+

Post by stangogh »

This really should exist.

The script provided in this tutorial does it:
http://www.raspberrypiwiki.com/index.php/2.2_LCD

User avatar
adafruit_support_carter
 
Posts: 29189
Joined: Tue Nov 29, 2016 2:45 pm

Re: how to uninstall PITFT plus software on a RPi 3B+

Post by adafruit_support_carter »

In general, just run the script again and select different options.

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”