I would very much like to undo the disabled media auto mounting as I like to have my images saved directly to a USB stick while imaging.
I believe there are other ways to avoid the dslr conflict as you pointed out.
At the very least that step in the script could be made optional with a user prompt before execution.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Ok, I tried to do the PHD2 Log Viewer.
For the setupAstroPi3 and setupUbuntuSBC scripts, it was a piece of cake. I was done in 5 minutes. But for the Raspbian script, it was much harder, but I think it is working. The Debian and Manjaro scripts would probably be similar to the Raspbian one, but I will need to try it. test it, and work on that.
As for the Canon auto mount issue. 2 years ago, Jasem had fixed this problem with a rules file. That rules file gets installed with every INDI build. So it shouldn't have been a problem at all. I hadn't used the automount disabling code in years because his rules file was working. But on the Raspbian system, for some reason it wasn't, as reported in this forum. So I added the code back for disabling auto mounting. No that is not good because it disables USB Flash drive mounts. The real solution would be to figure out why the rules file is not working on Raspbian and provide a similarly good solution. I can take a look at this tomorrow, but no guarantees.
So I'm going to look into this now. This doesn't affect an Ubuntu System, this is only on Raspbian and Debian. Undoing it on Raspbian is very easy. If you look at my script, it just creates a file. Removing that file will undo the change. Just type this into a terminal, hit enter, and restart.
But I'm going to see if I can't see what's wrong with the rules file on Raspbian, since that is how we really want to disable auto mounting. It works on the other systems. . .
ok, I think I fixed the issue with Raspbian and DSLRs. There were some files on the Raspbian System that didn't exist in the Ubuntu system. Deleting them as was suggested in other threads helped. And it doesn't affect the mounting of flash drives. I have updated the script
Note again, to undo the change that was made before to allow the mounting of flash drives again, just run this command:
So here's my new issue with the automount of my Canon DSLR As of today. I've just installed a new clean Raspian Buster on my RPi4. I run ./setupAstroRaspbianPi.sh and eventually succeed in getting a full installation. On my desktop I have icons for 'utilities', Kstars, phd2 and INDI Web Manager App.
I run Kstars for the first time and Ekos. I plug in my mount, GPS and Camera, and the camera automounts with two icons on the desktop.
Only this time when I try to edit the pcmanfm.conf file, it doesn't exist.
So automount is working but I can no longer switch it off in the way that I used to.
Currently running KStars/Ekos/Indi on Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry, and trying out AstroArch 64
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
I'm trying the other method to prevent auto mounts, since the rules file seems to not be working and the creation of pcmanfm.conf causes the unintended side effect of being unable to mount flash drives. To do this method, a number of files that could mount the camera should have been removed by the script like this:
So they shouldn't exist anymore. Can you verify your system doesn't have them? Also did you restart the Pi? It would be desirable to get this method working because the side effects of the other method are not good.
The file ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf never existed on the Pi to begin with. Either I or you created it. It is not there by default. If you want to go back to the method we were using before today, its a simple matter of creating that file and adding the contents you described here: indilib.org/forum/general/5554-problems-...anon-dslr.html#42106
A user sent me a private message about fxload for usb3 being needed for QHY cameras. It is in the INDI repo. So I made a slight change to the Raspbian Script so that it now gets fxload installed during the libindi 3rd Party build.