-
Notifications
You must be signed in to change notification settings - Fork 812
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
base: master
Are you sure you want to change the base?
Arch compatibility #309
Conversation
… existing configurations when run
Removed a couple lines so that this backup script does not modify any…
…by changing directory.
Doesn't work on Manjaro-ARM-minimal-rpi4 Very unlucky doesn't work on Arch Linux ARM as well on my side :/ I realize that |
made some fixes but untested at the moment: |
Misspelled branch name on push.
@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? :) |
@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 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 :( |
@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. |
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 |
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.