Arch compatibility
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.
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
made some fixes but untested at the moment: https://github.com/Bennett-Wendorf/LCD-show/compare/arch-compatibility-part-2...pheiduck:arch-compatibility-part-3
@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?
This doesn't seem to work. Any ideas on how I can get it working? :)
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!
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.
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!
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
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.
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.
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.
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