Active Topics

 



Notices


Reply
Thread Tools
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#171
Thank you. It works well, but Carman doesn't seem to detect it. It says GPS disabled while the minigpsd is running. I suppose this is because Carman assumes the stock GPSd. Are there more reports of applications which have this issue?
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#172
Carman seems to invoke the location manager, which will fail if my gpsd is already running. It should check the port first, then turn it on.

I don't know which applications might be affected - it depends on how they work. Many which are not modified for maemo will work. Those that try to turn on the gps first might or might not fail.
 
Posts: 19 | Thanked: 5 times | Joined on Oct 2008
#173
Hi,

I've been getting segfaults recently just about when I'm supposed to get a fix. That is, minigpsd starts up fine and I can see the list of satellites. However, after about a minute or so when I expect to get a fix, as it did before, it segfaults. Restarting minigpsd again segfaults it. Only a reboot seems to help to bring it back up. Same thing again though.

I have tried both the latest rc3 and pre4 versions. I have a vague memory that pre4 used to work without any problems. Downgrading back to that version did not help.

Is there a compiled version available for debugging?

Anyone else had any of these problems?

Thanks,
Pete
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#174
1. Try running strace on minigpsd.

2. It should already have symbols, so if you do gdb minigpsd and run it should give something useful. (I think I forgot to strip them - if not I'll see what I can do).

3. do a df to see if any of the disks are getting full. I default to the external card, but if it isn't inserted, it creates the log files in /media/mmc1 on the internal flash which can fill up quickly (that is a remaining high-priority bug).
 

The Following User Says Thank You to tz1 For This Useful Post:
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#175
rc4 is in the extras-devel (along with bluez-utils-test).
The earlier install should work.

It adds inactivity shut-down and some other cleanup (and brightness and temperature sensor logging to the KMLs).
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#176
Originally Posted by tz1 View Post
Carman seems to invoke the location manager, which will fail if my gpsd is already running. It should check the port first, then turn it on.

I don't know which applications might be affected - it depends on how they work. Many which are not modified for maemo will work. Those that try to turn on the gps first might or might not fail.
Do you think its possible to make some 'glue' so Carman gets redirected? Or should I file a bug report at Carman so they support multiple gpsd?
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#177
The location manager - at least the GPS components are closed source so I can't redirect that part.

I've tried looking into the carman code but couldn't find anything specific at first glance. But I'll take another look since a new beta came out.
 
Posts: 27 | Thanked: 0 times | Joined on Oct 2008 @ Munich, Germany
#178
Originally Posted by allnameswereout View Post
Do you think its possible to make some 'glue' so Carman gets redirected? Or should I file a bug report at Carman so they support multiple gpsd?
Two weeks ago, I added a feature request ( https://garage.maemo.org/tracker/ind...d=189&atid=783 ) for carman to support gpsd connections in addition to bluetooth connections.

In the meantime, I installed scratchbox on my machine, so maybe I could even create a patch, but don't hold your breath for that last part

Regards,
Hakan
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#179
Carman support - install rc4 and the latest carman, and then replace the two files in /usr/bin with those enclosed.

You will need to put carman into simulator mode.

You will need to create the following file (I think user read/write):

/home/user/gps_data.log

Simulator mode doesn't stick and apparently is only available from the statusbar applet AFTER carman launches. I think you will need to turn on the GPS within carman so it will start reading coordinates (but launch minigpsd first and leave the applet setup in simulator mode when you turn it on)

I've modified the pair so that minigpsd writes out a location_t structure to /tmp/location, and locationwrapper to read from that file if it exists (over lines in /home/user/gps_data.log).

I think there will be more modifications but I should be able to get something which will work.
Attached Files
File Type: zip locwrap.zip (38.8 KB, 79 views)
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#180
The problem with carman is it only has the "simulation mode" and something which is nokia proprietary. I entered a similar bug report.
 
Reply

Tags
gps, obd2


 
Forum Jump


All times are GMT. The time now is 06:42.