×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

How Update Kstars on Astroberry RPi4

2 months 3 days ago 2 months 3 days ago by wornish.
wornish
Junior Boarder
Junior Boarder
Posts: 34
More
Topic Author
How Update Kstars on Astroberry RPi4 #57198
Same here. I thought it was just me.

I even tried doing a full clean install of Astroberry and it still came with Kstars 3.4.2.

Guess will just have to wait until the repository it updated.

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

2 months 3 days ago 2 months 3 days ago by AradoSKYindi.
AradoSKYindi
Gold Boarder
Gold Boarder
Posts: 344
More
How Update Kstars on Astroberry RPi4 #57204

Avocette wrote:

AradoSKYindi wrote: Hello,

Very easy. Open terminal.

Use: sudo apt-get update && apt-get upgrade

I just did this today. The update to 3.4.3 occurred. RPI4B with 4G of ram.


I copied you today, but unfortunately most of my USB connected devices (cameras, focuser etc.) have disappeared from Ekos!



Hello,

I seem to have to fix my RS232 ports often after updates. At the present, I think I have a truce working between three parties, the OS, hardware, and INDI. Raspbian OS updates came with 3.4.3. Udevadm rules seem to be the issue.

Use: lsusb -v. The results are used to build a rule. Reload rules and then Trigger are enabled. Using monitor never shows the rule to be found. Every udevadm site shows udevadm finding the match with simple identification. Mine is simple also. Yet, lsusb shows more data ID_Vendor and ID_Product than just hex values.

I think I see a disconnect between Use: lsusb -v -d Vendor:Product and Use: sudo udevadm test -a add $(udevadm info -q path /dev/ttyACM0)

lsusb-ID_Vendor <> udevadm-ID_MODEL_ID

The content is the same. To me, this suggests that udevadm has changed its presentation criteria. The old method is LSUSB data. The new method is UDEVADM. I did not read that in the update notes of the next release.

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

2 months 2 days ago
Avocette
Expert Boarder
Expert Boarder
Posts: 151
More
How Update Kstars on Astroberry RPi4 #57283
Well - the update/upgrade definitely ‘changed’ something that messed up my USB configuration. However I have been a bit more rigorous by adding devices one at a time and it seems to be the Pegasus Astro PPB which triggers the issue. However if I connect it directly to one of the RPi4 USB2.0 ports, instead of to the TLink powered USB3.0 hub, all seems to be well. If I recall well, at least one of us has had a similar issue with a Pegasus Astro box interfering with WiFi.

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to Astroberry
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

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

1 month 4 weeks ago 1 month 4 weeks ago by wornish.
wornish
Junior Boarder
Junior Boarder
Posts: 34
More
Topic Author
How Update Kstars on Astroberry RPi4 #57466
In the end, I decided to compile from source code. Once I got the dependencies sorted it all compiled well, it took a little time. Now I have the latest bleeding-edge 3.5 release !!
So problem solved.

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

1 month 4 weeks ago
endlessky
Fresh Boarder
Fresh Boarder
Posts: 5
More
How Update Kstars on Astroberry RPi4 #57467

wornish wrote: In the end, I decided to compile from source code. Once I got the dependencies sorted it all compiled well, it took a little time. Now I have the latest bleeding-edge 3.5 release !!
So problem solved.


I pretty much do "sudo apt update" and "sudo apt upgrade" daily on my Raspberry Pi (with Astroberry) hoping to update KStars to the latest version. Like you, no luck. I really want to see/try the new features.

Could you explain me the steps to update it the way you did? I don't know anything about Linux, so don't take anything for granted, please! A step by step guide, with all the commands needed, would be greatly appreciated! Thanks!

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

1 month 4 weeks ago
Avocette
Expert Boarder
Expert Boarder
Posts: 151
More
How Update Kstars on Astroberry RPi4 #57469

endlessky wrote: Could you explain me the steps to update it the way you did? I don't know anything about Linux, so don't take anything for granted, please! A step by step guide, with all the commands needed, would be greatly appreciated! Thanks!

And I, please!!

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to Astroberry
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

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

1 month 4 weeks ago 1 month 4 weeks ago by wornish.
wornish
Junior Boarder
Junior Boarder
Posts: 34
More
Topic Author
How Update Kstars on Astroberry RPi4 #57471
Well here goes these are the steps that worked for me. Hope this helps but I have to say that you follow them at your own risk.
I am certainly no Linux expert and I am using a RPi4 running the latest version of RPi OS.
All the commands following are typed in a terminal window after the $ prompt. I have shown them in large font



Since RPi OS is a version of Debian I followed the steps on the link below for Debian.
If you copy and paste this into your browser it will give more info.
techbase.kde.org/Projects/Edu/KStars/Bui...ing_various_versions

The first thing is to make sure you have all the prerequisites and dependencies.
So open Terminal and type the following command, probably easiest to copy and paste it using the right mouse button. This is all one line it is just wrapping in the viewer.

sudo apt-get -y install build-essential cmake git libeigen3-dev libcfitsio-dev zlib1g-dev libindi-dev extra-cmake-modules libkf5plotting-dev libqt5svg5-dev libkf5xmlgui-dev kio-dev kinit-dev libkf5newstuff-dev kdoctools-dev libkf5notifications-dev qtdeclarative5-dev libkf5crash-dev gettext libnova-dev libgsl-dev libraw-dev libkf5notifyconfig-dev wcslib-dev libqt5websockets5-dev xplanet xplanet-images qt5keychain-dev libsecret-1-dev breeze-icon-theme


You will be asked for your password which in my case was the default

It might ask you to confirm some things as it runs just type Y if prompted.

When it's done you will be returned to the Terminal prompt $

Create and change into a KDE development directory:
mkdir ~/kde && cd ~/kde

Fetch the KStars source code: this site converts links to green characters so make sure that you copy and paste the following line:
git clone anongit.kde.org/kstars

Create and change into a build directory for compilation:
mkdir build && cd build

The next steps will take some time so get a coffee

Run the configure process with cmake:
cmake ../kstars -DCMAKE_INSTALL_PREFIX=/usr

Compile KStars:
make

Install KStars:

sudo make install

Thats it.


To get updates in future its very easy
cd ~/kde/kstars
Git pull —rebase

Good luck
The following user(s) said Thank You Avocette, jabian, jiberjaber

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

1 month 4 weeks ago
xsnrg
Administrator
Administrator
Posts: 316
Karma: 3
More
How Update Kstars on Astroberry RPi4 #57472

wornish wrote: In the end, I decided to compile from source code. Once I got the dependencies sorted it all compiled well, it took a little time. Now I have the latest bleeding-edge 3.5 release !!
So problem solved.


Congrats on compiling, and glad it works for you. It seems that if compiling it yourself did not show the same problems as you had before, then there are problems with the packages made available in the repo that need to be addressed.

12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT w/.8x for the light
Fedora Linux, 100% INDI

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

1 month 4 weeks ago
wornish
Junior Boarder
Junior Boarder
Posts: 34
More
Topic Author
How Update Kstars on Astroberry RPi4 #57473

xsnrg wrote:

wornish wrote: In the end, I decided to compile from source code. Once I got the dependencies sorted it all compiled well, it took a little time. Now I have the latest bleeding-edge 3.5 release !!
So problem solved.


Congrats on compiling, and glad it works for you. It seems that if compiling it yourself did not show the same problems as you had before, then there are problems with the packages made available in the repo that need to be addressed.


The only issue is that the astroberry repo has not been updated with the latest kstars release which only came out last week. Some of us are eager to try the new features hence taking the step to compile from source.

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

1 month 4 weeks ago
xsnrg
Administrator
Administrator
Posts: 316
Karma: 3
More
How Update Kstars on Astroberry RPi4 #57475
@wornish, yes I see it was others having problems with ports and devices after the apt upgrade, not yourself. If the kstars packages had not been updated yet, it would be the OS changes, not the kstars package, that introduced differences. A bit of leapfrog going on between the OS and kstars. Your recompile seems to make everything work well together again, so hopefully when the new packages are released, they will also work well with the latest OS updates.

12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT w/.8x for the light
Fedora Linux, 100% INDI

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

1 month 4 weeks ago
endlessky
Fresh Boarder
Fresh Boarder
Posts: 5
More
How Update Kstars on Astroberry RPi4 #57479
Thank you for the detailed explanation, wornish!

I'll give it a few more days and if, by the time I am ready for my next clear night session Astroberry didn't update regularly, I'll try your method.

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

1 month 4 weeks ago 1 month 4 weeks ago by hy.
hy
Gold Boarder
Gold Boarder
Posts: 319
Karma: 3
More
How Update Kstars on Astroberry RPi4 #57490
David (@wornish):

I didn't check your dependencies etc carefully, but a few comments on your compile instructions:

1- The KStars README.md file invent.kde.org/education/kstars/-/blob/master/README.md also gives compile instructions.

2- For the kstars cmake command, you should probably add -DCMAKE_BUILD_TYPE=RelWithDebInfo, i.e.
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ../kstars
That gets the compile to run 'optimized' which for several operations makes the executable run much faster (though it probably slows
down the compile). I believe it defaults to Debug/not-optimized.

3- When you run your make, you should add -j6 or -j8. The '6' version means "if possible run up to 6 compiles in parallel" which is usually
fine on an RPi4 with 4Gb of memory. You'd run -j8 on a faster machine with more memory. You can experiment with the number.
(On an old Rpi3, I'd stick with the way you have it, equivalent to -j1). So the commands would be
make -j6 kstars
sudo make install
You'll still need to "get a cup of coffee" but a compile from scratch will take ~40 minutes instead of 2-3X that.

Hy
The following user(s) said Thank You jiberjaber

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

Moderators: Kaczorek
Time to create page: 0.927 seconds