Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start OctoDash Elecrow 3.5LCD & RPi3b #623

Closed
Ga1j1n opened this issue May 7, 2020 · 6 comments
Closed

Unable to start OctoDash Elecrow 3.5LCD & RPi3b #623

Ga1j1n opened this issue May 7, 2020 · 6 comments
Labels
support Something isn't working with the users setup

Comments

@Ga1j1n
Copy link

Ga1j1n commented May 7, 2020

Following a support request created under #558 https://github.com/UnchartedBull/OctoDash/issues/558#issuecomment-624634369

I have taken on the feedback and tried other approaches including installing desktop and allowing anyuser to login

As part of this I have an HDMI monitor plugged in and I can see that OctoDash has started and is displaying there but the 3.5" LCD is showing the console, I guess my issue is redirecting the output from HDMI to LCD, Any ideas

I should add I have successfully achieved the same with an RPi3b & Hyperpixel screen with no similar issue, presumably the driver is performing differently

Scripts executed to date below

**Install Octopi
Flash image to your storage media using "balenaEtcher".
Using notepad++ edit the "octopi-wpa-supplicant" file for your wifi settings.

Install storage media and boot up Raspberry Pi
Get IP address of Raspberry Pi and connect to it using "Putty"

**Install OctoDash

***Dependencies install:

Run:

sudo apt update

**Install Touchscreen driver:

Run:

git clone https://github.com/Elecrow-keen/Elecrow-LCD35.git

cd Elecrow-LCD35

sudo ./Elecrow-LCD35

reboot

cd Elecrow-LCD35

sudo ./Elecrow-LCD35 270 (If upside down)

reboot

***OctoDash install:

wget -qO- https://github.com/UnchartedBull/OctoDash/raw/master/scripts/install.sh | bash -s -- --ptg

*** Workaround to make 3.5LCD's function

sudo /home/pi/scripts/install-desktop

whne prompted chose desktop autologin = No

sudo reboot

enable Console Autologin

sudo raspi-config

** reboot

Boot Options>Desktop / CLI>Console Autologin

sudo dpkg-reconfigure x11-common

sudo nano /etc/X11/Xwrapper.config

add line:

allowed_users=anybody

Upon reboot touchscreen should be up and running.

@Ga1j1n Ga1j1n added the support Something isn't working with the users setup label May 7, 2020
@UnchartedBull
Copy link
Owner

Do you have HDMI Hotplug enabled? Maybe try turning that off? https://raspberrypi.stackexchange.com/a/2171

@Ga1j1n
Copy link
Author

Ga1j1n commented May 7, 2020

It seems not, hdmi_force_hotplug=1 is commented in /boot/config.txt

One of the guides I cribbed scripts from (Chris Rily's Octoscreen Setup on youtube) had the following section referring to cloning HDMI, does that offer any clues?

https://www.youtube.com/watch?v=OJ59hXSyBoI

**Install fbcp to "clone" the HDMI output:

Run:
sudo apt-get -y install cmake

git clone https://github.com/tasanakorn/rpi-fbcp

cd rpi-fbcp

mkdir build

cd build

cmake ..

make

sudo install fbcp /usr/local/bin/fbcp

**Make fbcp start on every boot:

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 &

ctrl-o

enter

ctrl-x

**Activate and setup HDMI:

Run:
sudo nano /boot/config.txt

Uncomment the following and change resolution
framebuffer_width=800
framebuffer_height=600

add line
hdmi_cvt 800 600 60 6 0 0 0

ctrl-o

enter

ctrl-x

sudo reboot

@UnchartedBull
Copy link
Owner

I haven’t had a problem like this, so I don‘t know either how to proceed here. But since OctoDash is working fine via HDMI I think this is an issue with your driver / setup. Maybe try googling if there are similar issues (with other apps) reported and how people fixed them. Then try those out and report back which one worked for you. You may brake your Linux (which is half of the fun), so make sure you backup any important data.

@italocjs
Copy link

italocjs commented Jun 6, 2020

Thanks, this helped me too (installing install-desktop and setting Console Autologin), i'll try writing a guide to help people with this, i was totally lost too, i didnt even remembered that i would have to install the display haha.

@UnchartedBull
Copy link
Owner

Please do so and post it somewhere here for everyone to read :)

@er9xuser
Copy link

Thanks, this helped me too (installing install-desktop and setting Console Autologin), i'll try writing a guide to help people with this, i was totally lost too, i didnt even remembered that i would have to install the display haha.

Did you manage to wrote a guide maybe? My problem is that I have working octodash only over HDMI. Before it was running normaly from touchscreen..but i have to wipe sd card and start from the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

4 participants