adafruit / Raspberry-Pi-Installer-Scripts

381 stars 160 forks source link

/dev/fb1 Not Accessible on Pi4 #98

Closed mattburch closed 4 years ago

mattburch commented 4 years ago

Running the 'adafruit-pitft.sh' script provides that ability to mirror /dev/fb0 framebuffer but /dev/fb1 is never displayed on the Pi4.

ladyada commented 4 years ago

hi we made some changes to the script recently, including some changes to framebuffer creation - please try again with latest commits!

mattburch commented 4 years ago

Hello,

Executing that latest pull of the repo still produces a single /dev reference to /dev/fb0 without a buffer for /dev/fb1.

On Mon, Aug 3, 2020 at 12:10 PM ladyada notifications@github.com wrote:

hi we made some changes to the script recently, including some changes to framebuffer creation - please try again with latest commits!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/issues/98#issuecomment-668108354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKWVP3PWXRXGXDH35JZBITR63OOJANCNFSM4OWCL7VA .

ladyada commented 4 years ago

we need more info on your setup to reproduce

mattburch commented 4 years ago

I have the 2.2" PiTFT no touch Adafruit HAT installed on a Pi4 with the following build details:

$ uname -a
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020
armv7l GNU/Linux
$ cat /etc/debian_version
10.4
$ lsmod | grep fb
fb_ili9340             16384  1
fbtft                  45056  1 fb_ili9340
syscopyarea            16384  2 fbtft,drm_kms_helper
sysfillrect            16384  2 fbtft,drm_kms_helper
sysimgblt              16384  2 fbtft,drm_kms_helper
fb_sys_fops            16384  2 fbtft,drm_kms_helper

I have followed the Adafruit instructions for setting up the HAT from here https://learn.adafruit.com/adafruit-2-2-pitft-hat-320-240-primary-display-for-raspberry-pi/easy-install and have configured the display for no console output and to not mirror the HDMI interface. My goal is to get two FB* /dev interfaces that can be leveraged from manual redirection and maintain a TTY console. But the install only appears to establish the default /dev/fb0 display.

$ ls /dev | grep fb
fb0

On Tue, Aug 4, 2020 at 4:37 PM ladyada notifications@github.com wrote:

we need more info on your setup to reproduce

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/issues/98#issuecomment-668812683, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKWVP33AOV5ZG4NGFYKM4LR7BWPBANCNFSM4OWCL7VA .

ladyada commented 4 years ago

you may want to 'force' HDMI output on https://raspberrypi.stackexchange.com/questions/2169/how-do-i-force-the-raspberry-pi-to-turn-on-hdmi

mattburch commented 4 years ago

Thank you for the information, this appears to have addressed my issues.

On Thu, Aug 6, 2020, 10:18 AM ladyada notifications@github.com wrote:

you may want to 'force' HDMI output on

https://raspberrypi.stackexchange.com/questions/2169/how-do-i-force-the-raspberry-pi-to-turn-on-hdmi

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/issues/98#issuecomment-669956199, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKWVP3F72QOHAI36KSDV4LR7K3SXANCNFSM4OWCL7VA .