×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

AstroPi3 Scripts revised

  • Posts: 1941
  • Thank you received: 416
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
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 1 month ago #42238

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

Skywatcher AZEQ5GT using EQMod
Pentax 100 SDUFII for the light
QHY168C mains with ASI120MC on guidescope
SX filter wheel
Robofocus focusers with DIY Moonlite compatible controller
RPI 4B, Stellarmate & Astroberry
3 years 1 month ago #42240

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

  • Posts: 1941
  • Thank you received: 416
Great! Fingers crossed that ZWO will provide a solution!
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 1 month ago #42241

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

  • Posts: 2790
  • Thank you received: 784
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
3 years 1 month ago #42242

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

  • Posts: 1274
  • Thank you received: 221

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.
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
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 1 month ago #42260

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

  • Posts: 2790
  • Thank you received: 784
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
3 years 1 month 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
Skywatcher AZEQ5GT using EQMod
Pentax 100 SDUFII for the light
QHY168C mains with ASI120MC on guidescope
SX filter wheel
Robofocus focusers with DIY Moonlite compatible controller
RPI 4B, Stellarmate & Astroberry
3 years 1 month ago #42274

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

  • Posts: 2790
  • Thank you received: 784


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. . .
3 years 1 month ago #42283

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

  • Posts: 2790
  • Thank you received: 784
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
3 years 1 month ago #42284

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

  • Posts: 233
  • Thank you received: 24

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.
Currently running KStars/Ekos/Indi on two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
3 years 1 month ago #42289

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

  • Posts: 2790
  • Thank you received: 784
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: 3 years 1 month ago by Rob Lancaster.
3 years 1 month ago #42302

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

  • Posts: 2790
  • Thank you received: 784
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.
3 years 1 month ago #42310

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

Time to create page: 0.406 seconds