AdaFruit PiTFT mit Kali oder Rasbian installieren
Wie ich den Fragen auf der Seite entnehme haben viele Personen ein Problem damit das AdaFruit PiTFT mit Kali oder Rasbian einzurichten. AdaFruit hat zum Glück inzwischen einen „Installer“ bereitgestellt, der alles automatisch installiert und einrichtet. Daher diesmal kein eigentliches HowTo sondern nur ein eine kurze Doku in Form eines Shell-Dumps.
Der Vorteil des Easy-Install ist, dass duch die zusätzlich eingetragene Paketquelle das Display auch ein Kernel-Update übersteht und man nicht nach jedem Update händische Anpassungen machen muss.
Die Quelle zu der Doku dazu findet man unter:
https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/easy-install
Leider ist die oben angegebene Quelle nicht mehr verlinkt (Stand 12.2019) daher am besten direkt auf das GIT gehen: https://github.com/adafruit/Raspberry-Pi-Installer-Scripts
root@kali:~# mkdir tft root@kali:~# cd tft/ root@kali:~/tft# apt-get install curl Reading package lists... Done Building dependency tree root@kali:~/tft# curl -SLs https://apt.adafruit.com/add | sudo bash sudo apt-get install -y adafruit-pitft-helper root@kali:~/tft# curl -SLs https://apt.adafruit.com/add | sudo bash .` -dMMs +MMMMMo .dMMMMMMN- +NMMMMMMMMd` `hMMMMMMMMMMMo -mMMMMMMMMMMMMN. dMMMMMMMMMMMMMMo :hmmmmmmmmmmmmdhs/. `MMMMMMMMMMMMMMMh sMMMMMMMMMMMMMMMMMMd+NMMMMMMMMMMMMMM+ /NMMMMMMMMMMMMMMMMMMMMMMMMs+NMMMMMm/+syyyso/-` `hMMMMMMMMMMMMMMMMMMMMMMo hMMMMMMMMMMMMMMMMMNhs+:. /NMMMMMMMMMMMNmmNMMMMN. `mMMMMMMMMMMMMMMMMMMMMMMMNh- .hMMMMMMMMMMh` `-sNMMs-hMMMMMMMMMMMMMMMMMMMMMMMMMM+ /mMMMMMMMMMNy+-./MMMMMMy:....oMMMMMMMMMMMMMMMNo. :ymMMMMMMMMMMMMMMMMMNy//oymMMMMMMMMMMMMMNy: .yMMMMMMMms:oMMNhNMMMMMMMMMMMMMMMMNh/` .yMMMMMMMN/ .dMMy `sMMMMMMMMMMMNmy/` /NMMMMMMMM:`-sMMMMM: sMMMMMMs-..` -NMMMMMMMMMNNMMMMMMMMs./MMMMMMMh` mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMs sMMMMMMMMMMMMMMMMhMMMMMMMMMMMMMMMN :MMMMMMMMMMMMMMMN+ hMMMMMMMMMMMMMMN. `dMMMMMMMMMMMMNh/` `hMMMMMMMMMMMMMN. /MMMMMMMMmhs+- /dMMMMMMMMMMMN. .hmdys/- -sNMMMMMMMMN. `:hNMMMMMN. `+dMMMN` ./+- adding apt.adafruit.com to /etc/apt/sources.list OK Get:1 http://apt.adafruit.com wheezy Release.gpg [836 B] Get:2 http://apt.adafruit.com wheezy Release [919 B] Get:3 http://http.kali.org kali Release.gpg [819 B] Get:4 http://security.kali.org kali/updates Release.gpg [819 B] Get:5 http://apt.adafruit.com wheezy/main armhf Packages [4459 B] Get:6 http://http.kali.org kali Release [21.1 kB] Get:7 http://security.kali.org kali/updates Release [11.0 kB] Get:8 http://http.kali.org kali/main Sources [7570 kB] Ign http://apt.adafruit.com wheezy/main Translation-en Ign http://http.kali.org kali/contrib Translation-en Ign http://http.kali.org kali/main Translation-en Ign http://security.kali.org kali/updates/contrib Translation-en Get:9 http://security.kali.org kali/updates/main Sources [151 kB] Ign http://http.kali.org kali/non-free Translation-en Ign http://security.kali.org kali/updates/main Translation-en Get:10 http://http.kali.org kali/non-free Sources [118 kB] Ign http://security.kali.org kali/updates/non-free Translation-en Get:11 http://security.kali.org kali/updates/contrib Sources [20 B] Get:12 http://http.kali.org kali/contrib Sources [56.9 kB] Get:13 http://security.kali.org kali/updates/non-free Sources [20 B] Get:14 http://http.kali.org kali/main armhf Packages [7716 kB] Get:15 http://security.kali.org kali/updates/main armhf Packages [307 kB] Get:16 http://http.kali.org kali/non-free armhf Packages [86.8 kB] Hit http://security.kali.org kali/updates/contrib armhf Packages Hit http://http.kali.org kali/contrib armhf Packages Hit http://security.kali.org kali/updates/non-free armhf Packages Fetched 16.0 MB in 33s (474 kB/s) Reading package lists... Done sudo apt-get install -y adafruit-pitft-helper Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: evtest fbi kpartx libgif4 libts-bin raspberrypi-bootloader wiringpi Suggested packages: imagemagick The following NEW packages will be installed: adafruit-pitft-helper evtest fbi kpartx libgif4 libts-bin raspberrypi-bootloader wiringpi 0 upgraded, 8 newly installed, 0 to remove and 26 not upgraded. Need to get 70.2 MB of archives. After this operation, 198 MB of additional disk space will be used. Get:1 http://apt.adafruit.com/raspbian/ wheezy/main wiringpi armhf 2.24 [53.3 kB] Get:2 http://apt.adafruit.com/raspbian/ wheezy/main raspberrypi-bootloader armhf 1.20150309-1 [69.9 MB] Get:3 http://http.kali.org/kali/ kali/main libgif4 armhf 4.1.6-10 [39.0 kB] Get:4 http://http.kali.org/kali/ kali/main fbi armhf 2.07-10 [57.2 kB] Get:5 http://http.kali.org/kali/ kali/main libts-bin armhf 1.0-11 [32.3 kB] Get:6 http://http.kali.org/kali/ kali/main evtest armhf 1:1.30-1 [21.4 kB] Get:7 http://http.kali.org/kali/ kali/main kpartx armhf 0.4.9+git0.4dfdaf2b-7~deb7u2 [33.9 kB] Get:8 http://apt.adafruit.com/raspbian/ wheezy/main adafruit-pitft-helper armhf 0.5.0-1 [10.9 kB] Fetched 70.2 MB in 44s (1566 kB/s) Selecting previously unselected package libgif4. (Reading database ... 70639 files and directories currently installed.) Unpacking libgif4 (from .../libgif4_4.1.6-10_armhf.deb) ... Selecting previously unselected package fbi. Unpacking fbi (from .../archives/fbi_2.07-10_armhf.deb) ... Selecting previously unselected package libts-bin. Unpacking libts-bin (from .../libts-bin_1.0-11_armhf.deb) ... Selecting previously unselected package wiringpi. Unpacking wiringpi (from .../wiringpi_2.24_armhf.deb) ... Selecting previously unselected package evtest. Unpacking evtest (from .../evtest_1%3a1.30-1_armhf.deb) ... Selecting previously unselected package raspberrypi-bootloader. Unpacking raspberrypi-bootloader (from .../raspberrypi-bootloader_1.20150309-1_armhf.deb) ... Adding 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b.dtb by rpikernelhack' Adding 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by rpikernelhack' Adding 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm2709-rpi-2-b.dtb by rpikernelhack' Adding 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack' Adding 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.linux by rpikernelhack' Adding 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack' Adding 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack' Adding 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack' Adding 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img by rpikernelhack' Adding 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack' Adding 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack' Adding 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack' Adding 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack' Adding 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack' Adding 'diversion of /boot/overlays/bmp085_i2c-sensor-overlay.dtb to /usr/share/rpikernelhack/overlays/bmp085_i2c-sensor-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/ds1307-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/ds1307-rtc-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/enc28j60-overlay.dtb to /usr/share/rpikernelhack/overlays/enc28j60-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/hifiberry-amp-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-amp-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/hifiberry-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dac-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/hifiberry-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dacplus-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/hifiberry-digi-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-digi-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/hy28a-overlay.dtb to /usr/share/rpikernelhack/overlays/hy28a-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/hy28b-overlay.dtb to /usr/share/rpikernelhack/overlays/hy28b-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/i2c-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/i2c-rtc-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/iqaudio-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dac-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/iqaudio-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dacplus-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/lirc-rpi-overlay.dtb to /usr/share/rpikernelhack/overlays/lirc-rpi-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/mcp2515-can0-overlay.dtb to /usr/share/rpikernelhack/overlays/mcp2515-can0-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/mz61581-overlay.dtb to /usr/share/rpikernelhack/overlays/mz61581-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pcf2127-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/pcf2127-rtc-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pcf8523-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/pcf8523-rtc-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/piscreen-overlay.dtb to /usr/share/rpikernelhack/overlays/piscreen-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pitft22-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft22-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pitft28c-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft28c-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pitft28-resistive-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft28-resistive-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pitft28r-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft28r-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pitft35r-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft35r-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/pps-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/pps-gpio-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlays/README by rpikernelhack' Adding 'diversion of /boot/overlays/rpi-display-overlay.dtb to /usr/share/rpikernelhack/overlays/rpi-display-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/spi-bcm2835-overlay.dtb to /usr/share/rpikernelhack/overlays/spi-bcm2835-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/w1-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-overlay.dtb by rpikernelhack' Adding 'diversion of /boot/overlays/w1-gpio-pullup-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-pullup-overlay.dtb by rpikernelhack' Selecting previously unselected package kpartx. Unpacking kpartx (from .../kpartx_0.4.9+git0.4dfdaf2b-7~deb7u2_armhf.deb) ... Selecting previously unselected package adafruit-pitft-helper. Unpacking adafruit-pitft-helper (from .../adafruit-pitft-helper_0.5.0-1_armhf.deb) ... Processing triggers for man-db ... Processing triggers for mime-support ... Setting up libgif4 (4.1.6-10) ... Setting up fbi (2.07-10) ... Setting up libts-bin (1.0-11) ... Setting up wiringpi (2.24) ... Setting up evtest (1:1.30-1) ... Setting up raspberrypi-bootloader (1.20150309-1) ... Removing 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b.dtb by rpikernelhack' Removing 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by rpikernelhack' Removing 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm2709-rpi-2-b.dtb by rpikernelhack' Removing 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack' Removing 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.linux by rpikernelhack' Removing 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack' Removing 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack' Removing 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack' Removing 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img by rpikernelhack' Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack' Removing 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack' Removing 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack' Removing 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack' Removing 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack' Removing 'diversion of /boot/overlays/bmp085_i2c-sensor-overlay.dtb to /usr/share/rpikernelhack/overlays/bmp085_i2c-sensor-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/ds1307-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/ds1307-rtc-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/enc28j60-overlay.dtb to /usr/share/rpikernelhack/overlays/enc28j60-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/hifiberry-amp-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-amp-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/hifiberry-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dac-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/hifiberry-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dacplus-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/hifiberry-digi-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-digi-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/hy28a-overlay.dtb to /usr/share/rpikernelhack/overlays/hy28a-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/hy28b-overlay.dtb to /usr/share/rpikernelhack/overlays/hy28b-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/i2c-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/i2c-rtc-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/iqaudio-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dac-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/iqaudio-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dacplus-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/lirc-rpi-overlay.dtb to /usr/share/rpikernelhack/overlays/lirc-rpi-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/mcp2515-can0-overlay.dtb to /usr/share/rpikernelhack/overlays/mcp2515-can0-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/mz61581-overlay.dtb to /usr/share/rpikernelhack/overlays/mz61581-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pcf2127-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/pcf2127-rtc-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pcf8523-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/pcf8523-rtc-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/piscreen-overlay.dtb to /usr/share/rpikernelhack/overlays/piscreen-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pitft22-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft22-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pitft28c-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft28c-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pitft28-resistive-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft28-resistive-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pitft28r-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft28r-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pitft35r-overlay.dtb to /usr/share/rpikernelhack/overlays/pitft35r-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/pps-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/pps-gpio-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlays/README by rpikernelhack' Removing 'diversion of /boot/overlays/rpi-display-overlay.dtb to /usr/share/rpikernelhack/overlays/rpi-display-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/spi-bcm2835-overlay.dtb to /usr/share/rpikernelhack/overlays/spi-bcm2835-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/w1-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-overlay.dtb by rpikernelhack' Removing 'diversion of /boot/overlays/w1-gpio-pullup-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-pullup-overlay.dtb by rpikernelhack' Setting up kpartx (0.4.9+git0.4dfdaf2b-7~deb7u2) ... Setting up adafruit-pitft-helper (0.5.0-1) ... sudo adafruit-pitft-helper -t 28r sudo adafruit-pitft-helper -t 28r Type = 28r [ADAFRUIT] Exiting due to error: /boot must be mounted. try: sudo mount /dev/mmcblk0p1 /boot root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r [ADAFRUIT] Exiting due to error: /boot must be mounted. try: sudo mount /dev/mmcblk0p1 /boot root@kali:~/tft# mount /dev/mmcblk0p1 /boot root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r /boot is mounted [ADAFRUIT] Exiting due to error: /home/pi must be an existing directory (use -u /home/foo to specify) root@kali:~/tft# sudo adafruit-pitft-helper -t 28r Type = 28r [ADAFRUIT] Exiting due to error: /boot must be mounted. try: sudo mount /dev/mmcblk0p1 /boot root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r [ADAFRUIT] Exiting due to error: /boot must be mounted. try: sudo mount /dev/mmcblk0p1 /boot root@kali:~/tft# mount /dev/mmcblk0p1 /boot root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r /boot is mounted [ADAFRUIT] Exiting due to error: /home/pi must be an existing directory (use -u /home/foo to specify) root@kali:~/tft# mkdir /home/pi root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r /boot is mounted [PITFT] Updating X11 default calibration... [PITFT] Updating X11 setup tweaks... grep: /home/pi/.profile: No such file or directory Adding 'export FRAMEBUFFER=/dev/fb1' [PITFT] Updating TSLib default calibration... [PITFT] Updating SysFS rules for Touchscreen... Would you like the console to appear on the PiTFT display? [y/n] y root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r /boot is mounted [PITFT] Updating X11 default calibration... [PITFT] Updating X11 setup tweaks... grep: /home/pi/.profile: No such file or directory Adding 'export FRAMEBUFFER=/dev/fb1' [PITFT] Updating TSLib default calibration... [PITFT] Updating SysFS rules for Touchscreen... Would you like the console to appear on the PiTFT display? [y/n] y [PITFT] Updating console to PiTFT... Updating /boot/cmdline.txt [PITFT] Updating /etc/modules... Adding stmpe_ts Would you like GPIO #23 to act as a on/off button? [y/n] y^[[2~^H^H [PITFT] Adding GPIO #23 on/off to PiTFT... Adding rpi_power_switch to /etc/modules Adding rpi_power_switch Adding rpi_power_switch config to /etc/modprobe.d/adafruit.conf grep: /etc/modprobe.d/adafruit.conf: No such file or directory Adding rpi_power_switch [PITFT] Updating /boot/config.txt... grep: /boot/config.txt: No such file or directory root@kali:~/tft# adafruit-pitft-helper -t 28r Type = 28r /boot is mounted [PITFT] Updating X11 default calibration... [PITFT] Updating X11 setup tweaks... grep: /home/pi/.profile: No such file or directory Adding 'export FRAMEBUFFER=/dev/fb1' [PITFT] Updating TSLib default calibration... [PITFT] Updating SysFS rules for Touchscreen... Would you like the console to appear on the PiTFT display? [y/n] y [PITFT] Updating console to PiTFT... /boot/cmdline.txt already updated [PITFT] Updating /etc/modules... Already had stmpe_ts Would you like GPIO #23 to act as a on/off button? [y/n] y [PITFT] Adding GPIO #23 on/off to PiTFT... Adding rpi_power_switch to /etc/modules Already had rpi_power_switch Adding rpi_power_switch config to /etc/modprobe.d/adafruit.conf Already had rpi_power_switch config [PITFT] Updating /boot/config.txt... Already have an adafruit-pitft-helper section in /boot/config.txt. Adding new section, but please run: sudo nano /boot/config.txt ...and remove any duplicate sections. root@kali:~/tft#
Hinterlasse einen Kommentar
An der Diskussion beteiligen?Hinterlasse uns deinen Kommentar!