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

Arch compatibility #309

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

Bennett-Wendorf
Copy link

Updated the LCD35-show script to work on Arch Linux ARM. Also tweaked the backup and restore scripts so that backups don't break an existing configuration and a user is able to restore any custom configuration files in /etc/X11/xorg.conf.d. Also removed use of dpkg in system_backup, as that is distro-specific.

@pheiduck
Copy link

pheiduck commented Feb 2, 2022

Doesn't work on Manjaro-ARM-minimal-rpi4
/etc/modules does not exist and I haven't found a Package which provides this. Only for rc.local
used pacman -F rc.local

Very unlucky doesn't work on Arch Linux ARM as well on my side :/

I realize that rc.local and /etc/modules belong to OpenRC
So I think we need to skip the rc.local part and use /etc/modules-load.d/modules.conf instead of /etc/modules

@pheiduck
Copy link

pheiduck commented Feb 3, 2022

made some fixes but untested at the moment:
Bennett-Wendorf/LCD-show@arch-compatibility-part-2...pheiduck:arch-compatibility-part-3

@Bennett-Wendorf
Copy link
Author

@pheiduck, I made some of the changes you had suggested, and tested them out on my setup (Rpi 2B, vanilla Arch Linux ARM). I didn't just merge your changes directly as you modified a file outside of the Arch-Linux directory, which I have been avoiding so as to not affect the driver on non-Arch systems. When you get a chance, are you able to test out these changes on your system?

@vastamaki
Copy link

This doesn't seem to work. Any ideas on how I can get it working? :)

@Bennett-Wendorf
Copy link
Author

This doesn't seem to work. Any ideas on how I can get it working? :)

@vastamaki what do you mean it's not working? Can you give us a few more details on what's happening? What OS are you running specifically? Do you get any error messages? Does anything appear to happen at all? Which script are you trying to run that is causing problems?

Also note that I only adapted this for a 3.5" touchscreen, so if you are trying another size, it will take some modifications. Feel free to contribute to this PR if you do!

@vastamaki
Copy link

Yesterday I got a 3.5" display for my RPI 4. I decided to install Manjaro as I found a fancy script that does the installation for me :)

However, after installation, I realized that the screen is completely white and I started looking for drivers (and found only this)
I tried to run Arch-Linux/LCD35-show file but basically, copying cmdline files failed etc. Should this even be compatible with Manjaro?

I already installed DietPi, so, unfortunately, can't test this again immediately but I'll test it again later this week. But is there anything I should know before trying to run the script? Some packages I need to install or anything else I possibly missed on first try? Thanks.

@Bennett-Wendorf
Copy link
Author

Yesterday I got a 3.5" display for my RPI 4. I decided to install Manjaro as I found a fancy script that does the installation for me :)

However, after installation, I realized that the screen is completely white and I started looking for drivers (and found only this)

I tried to run Arch-Linux/LCD35-show file but basically, copying cmdline files failed etc. Should this even be compatible with Manjaro?

I already installed DietPi, so, unfortunately, can't test this again immediately but I'll test it again later this week. But is there anything I should know before trying to run the script? Some packages I need to install or anything else I possibly missed on first try? Thanks.

@vastamaki you shouldn't need to install any additional packages, as the script should take care of that for you.

If it's failing to copy files, it sounds like it could be that you aren't running the script with sudo privileges. Those are definitely needed for installation of a few packages and for copying to some of the necessary destinations for config files. You can check out the main README on the repo for some instructions on how to go about running it if you haven't already.

@pheiduck also tried this out on Manjaro previously, and did find some errors. I thought I corrected those in my branch as well, but you could also try running their branch that corrects those errors to see if that works for you. If their branch works, and mine doesn't, please let me know so I can work to correct those issues!

@pheiduck
Copy link

Hi @Bennett-Wendorf I tried this out again on my leftover rpi2 with Arch Linux but the LCD stay's white after install :(
I updated the Driver on my rpi3 (raspbian) to latest commit on from Main repo this on. And found out that GPU mem needs to set to 16MB otherwise boot screen is stuck on Screem

@Bennett-Wendorf
Copy link
Author

Hi @Bennett-Wendorf I tried this out again on my leftover rpi2 with Arch Linux but the LCD stay's white after install :( I updated the Driver on my rpi3 (raspbian) to latest commit on from Main repo this on. And found out that GPU mem needs to set to 16MB otherwise boot screen is stuck on Screem

@pheiduck That is good to know. Do you know if that 16MB setting is needed for goodtft's original Debian versions as well, or only the Arch Linux adaptation? I'm not sure if it makes sense for this script to change that setting on the pi if the main Debian versions don't as I tried to maintain as much parity as possible, but we could definitely add a note to the readme or something if needed.

@pheiduck
Copy link

Do you know if that 16MB setting is needed for goodtft's original Debian versions as well?

Yes, that was what I meant. It is required when using the official repo on Raspberry Pi OS.

@Bennett-Wendorf
Copy link
Author

Do you know if that 16MB setting is needed for goodtft's original Debian versions as well?

Yes, that was what I meant. It is required when using the official repo on Raspberry Pi OS.

Gotcha. That probably explains why @vastamaki was having issues then.

@pheiduck
Copy link

pheiduck commented Oct 24, 2022

Do you know if that 16MB setting is needed for goodtft's original Debian versions as well?

Yes, that was what I meant. It is required when using the official repo on Raspberry Pi OS.

Gotcha. That probably explains why @vastamaki was having issues then.

You have it inside the script for copy tasks etc. so do not need to do like sudo ./LCD35-show

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants