Active Topics

 



Notices


Reply
Thread Tools
Posts: 61 | Thanked: 1 time | Joined on Apr 2007
#31
Gnuite

I ran the command that you suggested in xterm and got the following...

1101 root 2132 SW /usr/sbin/gpsdriver
5667 user 1892 SW grep gpsd

When I try to connect, the window in MM still tells me that there is an 'error opening gps device', and prompts for a retry. Suggestions?
 
Posts: 61 | Thanked: 1 time | Joined on Apr 2007
#32
Tuxedosteve

Did you get the gps in MM to work without opening Maps first? I'm a bit shaky as to how to proceed from here, and would be grateful for any assistance that you could offer. Thanks.
 
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#33
I tried enable /dev/pgps but I get a message that enable isn't found
( also tried from /sbin in case it was like ifconfig )

Could someone tell me how to enable the built in gps from command line?
It shuts off after I close wayfinder, and isn't being found by mapper.

thanks!!!
 
Posts: 220 | Thanked: 11 times | Joined on Nov 2005
#34
Originally Posted by tfinnan View Post
Tuxedosteve

Did you get the gps in MM to work without opening Maps first? I'm a bit shaky as to how to proceed from here, and would be grateful for any assistance that you could offer. Thanks.
No. The only way I could get it to work was launching maps and telling MM to use the gpsd server. Getting there though. While using the gpsd server it all seemed to work perfectly. I'm guessing if it can't be made to work properly with /dev/pgps it can be configured to startup gpsd without needing to have Maps running.
 
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#35
If it helps here's what I get on the 810 with wayfinder started:

ps | grep gpsd

1102 root 2132 SW /usr/sbin/gpsdriver
1494 user 15024 SW /usr/libexec/navicore-gpsd-helper
1499 user 2776 SW /usr/sbin/gpsd -n -N -F /tmp/.gpsd_ctrl_sock /dev/pgp
1501 user 1888 RW grep gpsd

once I close wayfinder, and run again I get

1102 root 2132 SW /usr/sbin/gpsdriver
1505 user 1888 RW grep gpsd

If I start mapper ( with filepath /dev/pgps option, and trying to enable gps ) I get only:

1102 root 2132 SW /usr/sbin/gpsdriver
 
Posts: 61 | Thanked: 1 time | Joined on Apr 2007
#36
Tuxsteve

If the gps could be configured when MM started, that sounds like it would be an ideal solution. I hate to feel like such a 'taker', but I have no expertise in programming or coding. At this point, I'm limited to providing feedback and 'attaboy's' to developers in the maemo community. Sort of frustrating...anyhow, this will be great when we get it worked out.
 
Posts: 220 | Thanked: 11 times | Joined on Nov 2005
#37
I wouldn't worry tfinnan. It certainly doesn't appear to be anything insurmountable. I'm sure gnuite will be able to sort it all out once he gets his N810.
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#38
Originally Posted by convulted View Post
The only "bug" I found was that sometimes the hourglass didn't show up, and sometimes I ended up with two hourglasses (I think this happened only with the Google Street maps).
The former is a bug only if Maemo Mapper was actually trying to redraw the screen at the time, and even so, it's just a guideline, it's not a hard-and-fast indicator.

The latter is not a bug if multiple redraws get cued up. I tested Maemo Mapper with a fake GPSD server that was spitting out about 10 position updates per second, and I managed to get up to 7 hourglasses at once. It was awesome. It's a good thing 10Hz GPS receivers don't exist yet...
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#39
Originally Posted by Tuxedosteve View Post
I got it to run on the N810 by using running Wayfinder first and using the gpsd server option.

Without wayfinder running the apps running after the grep are

/usr/sbin/gpsdriver

and with Wayfinder running

/usr/sbin/gpsdriver
/usr/libexec/navicore-gpsd-helper
/usr/sbin/gpsd -n -N -F /tmp/.gpsd_ctrl_sock /dev/pgp
"/dev/pgp", not "/dev/pgps" ? Or is the display cut off? I guess you can try "/dev/pgp" in the "File Path" field instead of "/dev/pgps" - I doubt it will work, but it's worth a try.

If it doesn't work, then I need to scrounge around for documentation on how third party software is supposed to use the internal device. I don't understand why libgpsmgr isn't working. And I don't understand why there is absolutely no documentation on how to use the internal GPS receiver. (Well, I have a theory, but it's not very nice.)

Last edited by gnuite; 2007-11-29 at 20:25.
 
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#40
Originally Posted by haokah View Post
I tried enable /dev/pgps but I get a message that enable isn't found
( also tried from /sbin in case it was like ifconfig )

Could someone tell me how to enable the built in gps from command line?
It shuts off after I close wayfinder, and isn't being found by mapper.

thanks!!!
I'm sure I got some giggle from linux veterens, I didn't realize enable was only for printers. Anyway, I did some searching and reading, and I think I'm getting closer. I started reading the gpsd commands, after gnuite's grep request.

I did the following:

/etc/init.d/gpsdriver start

then

gpsd -n -N -D5 -F /tmp/gps.sock


the term shows it running, and a client connect on 6 when I start mapper, next it says channel assignment failed going to raw mode,

I've tried configuring mapper with /dev/pgps and with gpsd local host server

with /dev/pgps it keeps asking to retry,

with gpsd it keeps searching until you stop it
( this is inside an office building, with no signal )

I'm going to try again when I'm home near a window and see if anything changes.

gpsd does see me close mapper, as it quits when I exit.

I'll of course post what I find.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:10.