RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@eric-b52
Sounds like Octoscreen is not starting up properly. I did everything through Putty and my home network, no hardware connected to the pi. Did you get Octopi up and running on the network? Octoprint should be up and running on your network before you do the Octoscreen install. You might try re-installing the touchscreen driver.
I set it up the same way so that's good. I have octopi running prior to this and I can still get to it through a web interface, but the touchscreen on the pi just flashes login screen and goes off. I'm going to run through the touchscreen driver install again. I did have a problem with this section of commands:
./configure --prefix=/usr
make
sudo make install
sudo cp xorg.conf /etc/X11/xorg.conf
It kept returning bad command on each one of those.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
the comand "dmesg" is very powerfull in linux and shows various system errors. helpfull for diagnosis
so i want to share my mistahe took me several hours searching, google, configuring: when you swap from gpio port to usb conection for raspberry, then you have to turn the gpio port off in the printers menue..
i dont get the hype with octoscreen. everything i can do there (buggy) can i reach from the printers original menue. yes, its a little faster and intuitive with the touchscreen.
i saw various videos and pictures where you saw a webcam preview, and in generall more like the octoprint web page.
how to solve it? i read something that you can change and mod dthe GUI of octoscreen but i have no clue about it..
webam preview would be very nice and was one of my best arguements for buying the screen, for easy adustment of the cam before leaving home. anyone any idea?
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@pingu
I’ll check out that command, thanks.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
So i decided to reinstall octoscreen and I'm getting the following error:
job for octoscreen.service failed because the control process exited with error coade.
See "systemct1 satus octoscreen.service" and "journalct1 -xe" for details.
My display sits at a screen full of command line stuff instead of flashing like it did previously.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
Well, I think i'm making progress. I went into the raspi-config and set it to boot to desktop. When pi rebootts it asked me to select the desktop I wanted. Octoscreen was there and that's what I selected. Then it drops to a command line that says octopi login: Try to enter username/password there and it doesn't type anything. I've tried 2 different usb keyboards andit will randomly type the first letter of my username but not any other characters. No way to enter a password that way.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
you should accses the pi via "Putty", an ssh clienet
you need to ensure that the raspberry boots up without password needed into desktop. this can be done via teh raspberry config script
"sudo raspi-config"
you have too look up where exactly, but its in the secound or third layer inside the chapters
then you have to ensure that the windowmanager is used is "octoscreen"
there will be an other one preselected.
if you have luck you can do it either via config script:
"sudo dpkg-reconfigure octoscreen"
this did not worked for me, but i cant remember how i got rid of this problem, it was late in the night yesterday. but i highly think this is your first problem to solve. its cruicial. so try it and tell us how it goes.
also usefull commands during investigation and troubleshooting:
-restart octoscreen daemon:
"sudo systemctl restart octoscreen"
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@eric-b52
Did you install video drivers, as suggested?
https://github.com/ssvb/xf86-video-fbturbo/wiki/Installation
Then this error should go away...
And, another advice: DON'T use too long filenames or your screen will shift when you hit "print"...(a known bug, should be addressed in upcoming V2.6).
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@eric-b52
I worked on a friends and got it running last night. Even though he also has a 3B+, his boot config file was different from mine. I didn’t document all the changes I had to make, but would not have been able to get him running without using a Remote Desktop connection in to his computer and compare it to mine. There was new code for the PI4 that had to be commented out and changes to the HDMI settings. That may be why you are having issues.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
With everything I've had going on here lately, I haven't had time to do anything with this project in a while. Hopefully I'll get time to look back into this soon. Thanks for the replies. I'll update when I get a chance to look at it again.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
I've had an installation of octopi running for a long time on a rpi 3b+ . I wanted to install octoscreen, but ran into a few issues. First it seems that the very latest kivy doesn't allow python 2.7 usage, so I had to direct it to install kivy 1.10.1. But later in the directions when running octoscreen for the first time ("python main.py" command), it shows the error:
"from OctoPrint import init_settings
ImportError: No module named OctoPrint"
Any ideas where to start with this one? I'm stumped. Thanks.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
Hi all,
Great guide! After deciding to upgrade my screen install was a snap. Anyway, has anyone had any problems with severe heat creep, leading to clogged extruder and drive gear slippage (filament)? My upgraded setup consists of a RPi 3b+, OctoPi, and OctoScreen, no plug-ins. Before I upgraded, I was running RPi Zero W (GPIO), Prusa Print, and a few plug-ins, and I had not been having any problems. However, I am now 3 failed first prints after the upgrade due to ceat creep. I am still new to all of this so I am hoping someone has any suggestions, or recommendations to help me out. Thanks!
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
i dont get the hype with octoscreen. everything i can do there (buggy) can i reach from the printers original menue. yes, its a little faster and intuitive with the touchscreen.
For me, the touch instability of resistive-touch screens makes TouchUI pretty much unusable. Octoscreen is a touch interface done correctly (native X11 application), and works very well. Don't worry about bugs... they'll get addressed.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@david-w107
It’s on Prusaprinters here : https://www.prusaprinters.org/prints/10049-35-gpio-touchscreen-rpi-3b-cover
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@allen-m2
Fantastic write up Allen - thanks for sharing.
Can I just seek clarification in relation to this coding requirement please:
Run:
sudo nano /etc/rc.local
-> Then, go at the end of file (but before the exit 0 ) and add a line where to find fbcp :
/usr/local/bin/fbcp &
Does this need to be indented as per your write-up or doesn't it matter?
If requires indent, how many spaces are used?
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
@steve-j
Pretty sure I did not indent it.
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
I have my fingers crossed Prusa's next upgrade kit (MK4) will have a touchscreen and 32 bit board like the Prusa Mini. Fingers crossed because all the Linux stuff is way over my head. You lost me at "Octopi" and "BelenaEtcher".
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
Hey allen-m2:
I appreciate you having this guide made up! I actually have the same touchscreen as you -- by chance -- and when I follow exactly, OctoScreen does not start up because it reports back that no screen is installed. Any thoughts on how to fix it?
I had the same issue when I copy/pasted the code from above. But in this section, I had to replace the quotes in my text since it copied slanted quotes instead of vertical quotes. Once I replaced them, it was able to start since it could then see my screen. Hope this helps. Good luck!
Section “Device”
Identifier “touchscreen”
Driver “fbdev”
Option “fbdev” “/dev/fb0”
EndSection
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
I posted a setup guide in the wiki. https://github.com/Z-Bolt/OctoScreen/wiki/Installing-OctoScreen-with-a-3.5%22-480x320-TFT-screen
RE: 3.5" GPIO Touchscreen+RPI 3B+and Octoscreen
Hello. I am currently acquiring the components to put this together but with a Pi4. Does anyone have a link to the GPIO cable that would be long enough to run from the back of the printer to the front? All the cables I am seeing on Amazon are 8” at the most.
Thanks in advance.