Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPS (latest version) causes problem #47

Closed
cstachon opened this issue Dec 1, 2019 · 4 comments
Closed

GPS (latest version) causes problem #47

cstachon opened this issue Dec 1, 2019 · 4 comments
Labels

Comments

@cstachon
Copy link

cstachon commented Dec 1, 2019

Radek,

Having a real GPS switched on makes the map repeatedly jump between default location and the fix from the real GPS. Ok if no real GPS attached.

@rkaczorek
Copy link
Owner

rkaczorek commented Dec 1, 2019

If you use real GPS you need to disable virtual GPS.
There are at least two ways to handle this:
(1) uninstall virtualgps (sudo apt remove virtualgps) - see notes below!
(2) stop virtualgps and disable the service so it does not start after reboot (sudo systemctl stop virtualgps.service && sudo systemctl disable virtualgps.service).
You can enable or start it anytime by running: sudo systemctl enable/start virtualgps.service

There is also runtime control of what GPS device used by gpsd, very handy:
sudo gpsdctl add/remove device
(e.g. to connect/disconnect virtualgps in real time you run sudo gpsdctl add/remove /tmp/vgps)

@cstachon
Copy link
Author

cstachon commented Dec 1, 2019

Ok I can also disable it via the command line but it would be nice for less command line stuff - as someone said :-) I and I guess others use it at home and in the field.

So another Enhancement maybe

@cstachon
Copy link
Author

cstachon commented Dec 3, 2019

closed

@cstachon cstachon closed this as completed Dec 3, 2019
@setnes
Copy link

setnes commented Feb 23, 2020

I know this is closed, but if someone happens upon this issue they need to know that option 1 for disabling virtualgps (sudo apt remove virtualgps) no longer works. If you attempt to remove virtualgps, apt will try to remove the rest of astroberry. Option 2 (disabling the service) is the way to go.

Also, if you had previously uninstalled virtualgps, and it quietly came back after an apt update, it does not play nice. I might open a new issue to explain this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants