Opened 10 years ago

Last modified 16 months ago

#699 new defect/bug

navit stops reading from gpsd sometimes after resuming machine from suspend

Reported by: xcoldfyrex Owned by: KaZeR
Priority: trivial Milestone: version 0.6.0
Component: core Version: git master
Severity: Keywords: wince, gps, standby
Cc:

Description

Sometimes after suspending(ACPI S3) a machine with navit running, navit will stop reading the coords from gpsd. This means navit was already running before it went to suspend. It will act as if the gps is no longer connected. Upon closing and restarting navit, navit will work fine again.

Attachments (1)

vehicle_wince.c (23.4 KB) - added by gregoire verlut 9 years ago.
force re-init of the wince port if no data are received for more than 3 cycles (after suspend/resume)

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by gregoire verlut

force re-init of the wince port if no data are received for more than 3 cycles (after suspend/resume)

comment:1 Changed 9 years ago by gregoire verlut

the same behavior is observed by the wince protocol. the reason is that the port is not closed by navit but it does not send any info anymore.

I attached a version of vehicle_wince.c that corrects that bug. The changes are in wince_reader_thread() with the new variable nullcounter.

For the vehicle_gpsd.c I cannot test it, but I guess similar things has to be performed in function vehicle_gpsd_io within the brackets line 314 to 318 in the current svn version

comment:2 Changed 7 years ago by usul

  • Keywords wince gps standby added
  • Milestone set to version 0.5.1

I think this is strongly related to #1011

comment:3 Changed 3 years ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Milestone changed from version 0.5.1 to version 0.5.2

This ticket was pushed back in order to bring 0.5.1 out soon.

comment:4 Changed 16 months ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Milestone changed from version 0.5.2 to version 0.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.