×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 326
  • Thank you received: 50

Replied by Avocette on topic AstroPi3 Scripts revised

I have checked the RPi4 and all but the second entry in your list are still present! In addition I noticed a file called use/lib/gvfs/gvfsd-gphoto2 .
I have reawoken my RPi3 with Raspbian Stretch, and when I plug in my Canon camera I see only a small window asking ‘Please select the action you want to perform’, whereas on the RPi4 with Raspian Buster there are also two Canon camera icons on the desktop (see my earlier posting). This still happens but I have had occasions where the cameras have mysteriously disappeared.
So perhaps I should be posting questions on the Raspian Buster forum!?
4 years 7 months ago #42315

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

  • Posts: 2877
  • Thank you received: 812
Can you run the remove commands and restart the pi to see if that fixes it for you? I will look at why they did not get removed.
The following user(s) said Thank You: Avocette
4 years 7 months ago #42329

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 I ran all the remove commands (except the one with Private which didn’t have a matching file) and after rebooting, I can plug in my Canon camera without any auto-mounting but no dialogue box asking ‘Please select the action you would like to perform’.
4 years 7 months ago #42359

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

  • Posts: 2877
  • Thank you received: 812
Right the one file that you said didn't exist, did not exist on my system either. It was a file that was in the original post that I found in the forum, so I thought I should include it anyway in case it does exist on somebody's system.

So it works now? The dialog that you mention should not come up if the system didn't mount the camera.
The following user(s) said Thank You: Avocette
4 years 7 months ago #42362

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

Yes - it works now, thanks a lot.
4 years 7 months ago #42368

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 had to manually copy over phdlogview.fbp file to AstroRoot to compile PHDlogview properly. The script appears to have not done so properly.
I have also modified your basic Make commands to
Make -j $(nproc)
to speed up the compilation. Allowing for parallel processes on the multi-core RPi4.
4 years 7 months ago #42440

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

  • Posts: 2877
  • Thank you received: 812
Oh that is very smart! I will try that
4 years 7 months ago #42456

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

  • Posts: 2877
  • Thank you received: 812
I am on a trip right now but I will definitely be trying this when I get back, sometimes compiling is pretty slow and this should really speed it up ( at least four times faster?). I was just looking at this online, it sounds like you can set the number slightly higher than the number of actual processors because it just specifies the number of threads to spawn at once and the bigger bottle neck is IO not processor time . So it can do a little better than 4. Maybe like 6? I’ve never tried this before .
4 years 7 months ago #42458

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've used -j 6 on the Pi4, I am not sure if it's faster or not. But nproc might be have better compatibility with older Pi.
4 years 7 months ago #42459

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 believe the phdlogview Git Pull that takes place after copying the updated phdlogview.fbp file is overwriting it.
4 years 7 months ago #42462

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

  • Posts: 2877
  • Thank you received: 812
Yes you are probably right, that line should be moved below out of the if statement
4 years 7 months ago #42463

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

  • Posts: 2877
  • Thank you received: 812
That’s two things I can change tomorrow evening. Let me know if there’s anything else
4 years 7 months ago #42464

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

Time to create page: 0.282 seconds