×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised


Thanks. Already done that long time ago and it works fine for guiding on my Rpi3B.

Regards,
Tom
4 years 7 months ago #42235

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
If it doesn't work on the RPi4 then I am afraid that the ZWO forum is the only place to ask for help.


Wouter
4 years 7 months ago #42238

Please Log in or Create an account to join the conversation.

  • Posts: 238
  • Thank you received: 15
4 years 7 months ago #42240

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
Great! Fingers crossed that ZWO will provide a solution!
4 years 7 months ago #42241

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
I will check our PhD log viewer. I haven’t used it myself. I use PhD often
The following user(s) said Thank You: Andrew, Tom
4 years 7 months ago #42242

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

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.

Thank you.
4 years 7 months ago #42260

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
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.
The following user(s) said Thank You: Andrew, Tom
4 years 7 months ago #42269

Please Log in or Create an account to join the conversation.

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

Will try it tonight

Regards,
Tom
4 years 7 months ago #42274

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809


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.

rm ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf

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. . .
4 years 7 months ago #42283

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
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:

rm ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf
The following user(s) said Thank You: Andrew
4 years 7 months ago #42284

Please Log in or Create an account to join the conversation.

  • Posts: 326
  • Thank you received: 50

Replied by Avocette on topic AstroPi3 Scripts revised

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.
4 years 7 months ago #42289

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
Hi Avocette,

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:

sudo rm /usr/share/dbus-1/services/org.gtk.vfs.GPhoto2VolumeMonitor.service
sudo rm /usr/share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
sudo rm /usr/share/gvfs/mounts/gphoto2.mount
sudo rm /usr/share/gvfs/remote-volume-monitors/gphoto2.monitor
sudo rm /usr/lib/gvfs/gvfs-gphoto2-volume-monitor

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
The following user(s) said Thank You: Avocette
Last edit: 4 years 7 months ago by Rob Lancaster.
4 years 7 months ago #42302

Please Log in or Create an account to join the conversation.

Time to create page: 0.945 seconds