PITFT50 boots into terminal login screen
Hi, I have been running klipperscreen on an old android tablet. Although it works it is not ideal and I have just bought, recieved and connected a pitft50 via the ribbon cable to the Manta M8P board. After some searching here on the forum (and putting in some wget's and blobs in) I have it now showing the Raspberrypi's terminal screen and it halts at the login prompt, wanting me to log in,.... any ideas how I could get it to go to the Klipperscreen?
7 Replies
Which compute module are you using?
CM4 (not sure which exact model. Can check later.
Hardware : BCM2835
Revision : b03141
Serial : 10000000f15979a2
Model : Raspberry Pi Compute Module 4 Rev 1.1
pi@borg01:~ $ vcgencmd get_config total_mem
total_mem=2048
Pff,.... Internet told me the BCM2835 is for a CM1,.... Wonderfull
KlipperScreen.log shows multiple entries of this error (after I cleared the logfile and rebooted):
Traceback (most recent call last):
File "/home/pi/KlipperScreen/screen.py", line 103, in init
super().init(title="KlipperScreen")
File "/home/pi/.KlipperScreen-env/lib/python3.9/site-packages/gi/overrides/Gtk.py", line 508, in init
raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pi/KlipperScreen/screen.py", line 1107, in main
win = KlipperScreen(args)
File "/home/pi/KlipperScreen/screen.py", line 106, in init
raise RuntimeError from e
RuntimeError
@miklschmidt sorry to bother you, but do you have any further thoughts on the matter?
gtk is a framework on linux for desktops. I would ask over on klipperscreen discord
Thanks, will do!
Solved!!!! Used the search function on the Klipper / Klipper Screen discord and found some pointers.. Had to remove launch_KlipperScreen.sh from home/pi/KlipperScreen/Scripts and rebooted.... There was a forwarding to an IP address of my Android device mentioned.
@Arthur_C i have an idea you can try, but Raspberry Pi OS Bullseye and screen support is a total clusterfuck. Every combination need some obscure exotic dtoverlay, i've only tested that the BTT PITFT's work on the pi 3 and 4 out of the box. Gimme a sec.
Oh
Wat? Had you previously set it up to do that?
I had an Android tablet repurposed via Wifi (followed the installation manual that now is also on the KlipperScreen website). I can't recall I ever made that file and there is no mention of it in the manual as well hence I was not triggered to look there,.... Anyhow, renaming (or just deleting) solved it for me. Thank you (again) for thinking along. The solution came from the Klipper / KlipperScreen Discord so your guidance was good either way 👍
Ah, then i guess it makes sense 🙂 Sure thing!