Hi all. I've finally gone down the rabbit hole of setting up a Raspberry Pi Zero 2 W so that I can use tty2rpi on a 3.5" 480x320 display. It has definitely been a bumpy road so far. I have Unifi network equipment and the WiFi chip on the Pi Zero seems to be a little picky about my setup. It is 2.4GHz only, so I had to place it on a VLAN I have that utilizes this band only and not 5GHz. I also had to disable a setting called PMF as well as BSS Transition which the Pi didn't seem to be compatible with. Once I was finally able to connect to my network I could not get SFTP or SSH to work. I ended up having to add the line IPQoS 0x00 to /etc/ssh/sshd_config. The funny thing is that this step wasn't required on a Pi 3B+ which I ultimately had to use to get to the "sshd_config" file in order to modify it. LOL!
I finally got to the point where I could start downloading the necessary files for the Pi and tty2rpi. Initially I tried to give mine a name/PW other than "tty2rpi ". Then I realized that this was preventing the program from auto-logging in at startup. It might be good to update the documentation to be more explicit about that. Once I got to the point where all the necessary files were installed I attempted to make the required changes to /boot/config.txt outlined below. When I commented out dtoverlay=vc4-kms-v3d the auto-login process failed for some reason. I had to uncomment it again for that process to work. Has anyone else experienced this problem?
...
#dtoverlay=vc4-kms-v3d
...
[all]
disable_splash=1
boot_delay=0
gpu_mem=128
There's a blurb in the setup regarding /etc/X11/xorg.conf.d/10-monitor.conf -- Monitor config to disable DPMS. I saw online that the text below might need to be added to disable DPMS. Is this required?
Section "Monitor"
Option "DPMS" "false"
EndSection
I've got WiFi working just fine on my device. Is it required to create the wlan.nmconnection file and add that to the /etc/NetworkManager/system-connections/ folder?
I've still got the MiSTer setup to work on as well as the settings for the smaller display I'm using which utilizes the GPIO pins. I didn't find an exact match for this size screen in the config.txt.example file. The one listed below seems to be the closest. Should I be compiling that driver and using these settings in the config file?
NoName MHS 3.5" 480x240 (SKU: MHS3528) (waveshare dto)
- Using https://github.com/juj/fbcp-ili9341
Compile fbcp-ili9341 with 'cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DWAVESHARE35B_ILI9486=ON -DDISPLAY_ROTATE_180_DEGREES=ON -DSTATISTICS=0 ..'- Set FBUFDEV="yes" and FBDEVICE="/dev/fb0" in tty2rpi-user.ini
- Enable fbcp-ili9341 in /home/tty2rpi/.bash_profile
dtoverlay=waveshare35a,rotate=270
hdmi_group=2
hdmi_mode=87
hdmi_cvt=480 320 60 1 0 0 0
hdmi_force_hotplug=1