Coder Social home page Coder Social logo

Comments (8)

rkaczorek avatar rkaczorek commented on May 26, 2024

Do you hotplug GPS dongle while the system is up and running? or it works this way even though GPS dongle is connected at boot?

from astroberry-server.

cstachon avatar cstachon commented on May 26, 2024

normally I just leave it plugged it. Just wondering if it a power problem so i have attached a powered hub and plugged in the gps cable to that. See how that goes!

from astroberry-server.

cstachon avatar cstachon commented on May 26, 2024

Some more info :-

I believe we have 2 issues and one if not Astroberry its Ublox/GPSD.

I GPS Panel isn't working you cannot unplug the device and plug it back in or even restart (or stop and start) cgspanel.service as you get the following in DMESG cdc_acm 1-1.2.1:1.0: failed to set dtr/rts .
Under these conditions it will never work and the only way to restart GPSD and get gpspanel working is to

  1. Stop GPSD - I did a kill not a restart service
    2.stop gpspanel.service
  2. Unplug GPS and plug GPS back in
  3. GPSD will start automatically as Hot Plug
  4. start gpspanel.service
  5. normally then ok.

However I believe there is something else

While running cgps to check if GPS ok and pressing gps button CGPS stops working and gpspanel doesn't work either. Is the python module for GPS running as a std "client" ? Trouble is cant repeat this problem every time.

systemctl status gpspanel.service reports nothing wrong e.g.

gpspanel.service - GPS Panel
Loaded: loaded (/etc/systemd/system/gpspanel.service; enabled; vendor preset:
Active: active (running) since Wed 2019-11-27 13:03:55 GMT; 13min ago
Main PID: 1843 (python3)
Tasks: 2 (limit: 2077)
Memory: 24.2M
CGroup: /system.slice/gpspanel.service
`-1843 /usr/bin/python3 /var/www/gpspanel/gpspanel.py

The DTR/RTS problem with Ublox seems to be common if I do a google search but I have not found any helpful ways to correct it

from astroberry-server.

cstachon avatar cstachon commented on May 26, 2024

Sorry Radek some more info
Sometimes the GPS Map stops being shown even though there is a fix - just a blank screen where the map should be.
However if you do a manual browser to :8625 this shows the map as it should - strange :-(

Might also have a power supply problem on RPI3b+ as I get a lot of "under voltage" messages in DMESG even though I supply 10amp 5v - this might also account for ublox problems. I am going to ask some of the Astroberry users on SGL to check there DMESG log.

from astroberry-server.

rkaczorek avatar rkaczorek commented on May 26, 2024

gpspanel.py is a rgular gpsd client, based on gps3 library for Python3. It must be an issue with the library then. I used to use Python2 library in the past, however Python2 is reaching end of life January next year so I ported it to Python3. Let's live with it for a while and we'll see where it goes.

from astroberry-server.

cstachon avatar cstachon commented on May 26, 2024

ok

from astroberry-server.

rkaczorek avatar rkaczorek commented on May 26, 2024

All the gpspanel components have been updated (openlayers, jquery, bootstrap). Please test if it works ok

from astroberry-server.

cstachon avatar cstachon commented on May 26, 2024

seems ok

from astroberry-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.