tag:blogger.com,1999:blog-1849709720667465506.post6222795443360769606..comments2024-02-28T22:21:28.788-05:00Comments on Chromebooks and Chrome OS: GPS functional in 0.10.156.1Jayhttp://www.blogger.com/profile/00619758583418639317noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-1849709720667465506.post-3363756757962703492013-04-03T19:26:31.149-04:002013-04-03T19:26:31.149-04:00OK, I think I found the right /dev device file in ...OK, I think I found the right /dev device file in /dev/bus/usb/002 - the files under that directory get new names, starting with 001, and on up matching what lsusb shows for the device number as I plug/re-plug the GPS receivers into the USB port (never could get anything going with BT).<br /><br />When I run GPSD in the foreground (-N option) I can see some activity I did not see before - lots of lines prefixed with "gpsd:INFO/gpsd:SPIN/gpsd:PROG/etc":<br />...<br />stashing device /dev/bus/usb/002/004 at slot 0<br />...<br />opening GPS data source type 2 at '/dev/bus/usb/002/004'<br />open(/dev/bus/usb/002/004) -> 5 in gpsd_serial_open()<br />Probing <br />Probe not found...<br /><br /> [only a few of the 2 dozen plus devices that "gpsd -h" shows, then...]<br />no probe matched...<br />gpsd_activate(): activated GPS (fd 5)<br />device /dev/bus/usb/002/004 activated<br />running with effective group ID 14<br />running with effective user ID 0 [should be the root UID]<br />startup at <br />[then repeating pairs of:]<br />gpsd:UNK: select waits<br />gpsd:SPIN: select() {3 5} -> {} at 1365024511.597945 (errno 0)<br />...<br />Note: those number pairs before "(errno 0)" increment each time, but in big jumps - milliseconds?<br /><br />Anyway cgpsd still does not think gpsd is running or a network error - take your pick - so I give up since I did not find any of my Earthmate GPS receivers to give any cgpsd results despite all the foregoing output, including an old LT-20 with a Zodiac chipset that is listed specifically in the GPSD help output, and that I recall giving older gpsd versions on "real" linux trouble some years back.<br /><br />YMMVaroceehttps://www.blogger.com/profile/13745580041742537103noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-58589136572939514242013-04-03T01:29:56.892-04:002013-04-03T01:29:56.892-04:00And now the benefit of getting ready for bed makin...And now the benefit of getting ready for bed making me step away from hammering on the problem to actually stop and think about it: tty2 is my terminal login session, so no wonder it belongs to "logon" and "bash" - and has nothing to do with the USB GPS receiver. I will try to track that down after a good night's rest.<br /><br />ROCaroceehttps://www.blogger.com/profile/13745580041742537103noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-53207760984853014952013-04-03T01:05:42.294-04:002013-04-03T01:05:42.294-04:00A bit more debugging:
Running gpsd in interactive...A bit more debugging:<br /><br />Running gpsd in interactive mode as root shows that it is failing to open /dev/tty2 due it being already opened by another process. The lsof command shows me the other processes associated with that file are login and bash, and they are root-owned! I have met the enemy, and it is ME! What now?<br /><br />ROCaroceehttps://www.blogger.com/profile/13745580041742537103noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-65484739105201995042013-04-03T00:23:00.601-04:002013-04-03T00:23:00.601-04:00Dunno about the CR-48, but it is in the Samsung AR...Dunno about the CR-48, but it is in the Samsung ARM build in /usr/sbin/gpsd - check that path.<br /><br />I have been hacking around with it in Dev mode, and found that the initctl also fails with this version but the command can be run directly by root:<br />gpsd -n -F /tmp/gsock.fil -D 9 /dev/tty2<br /><br />/dev/tty2 seems to be where I plugged in my Delorme Earthmate LT-40, but I am not getting it to lock, and a tail of /dev/tty2 does not show any data stream coming back from the LT-40, so not sure if I identified its dev correctly. It shows up in dmesg and lsusb output, and neither shows me the /dev device.<br /><br />I also have a Earthmate BT(Blue Tooth)-20 receiver, but cannot get the Chrome OS BT settings to connect to it after I pair them, so not any help there. <br /><br />Anyone have any ideas for getting either receiver to connect and find what its /dev is?<br /><br />TIA,<br />ROCaroceehttps://www.blogger.com/profile/13745580041742537103noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-68907791491357766722012-10-29T20:21:10.156-04:002012-10-29T20:21:10.156-04:00yeah im pretty sure its been removed
sucks yeah im pretty sure its been removed <br /><br />sucks Djhttps://www.blogger.com/profile/09522025049728209079noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-81910547255062973352012-05-13T11:22:48.278-04:002012-05-13T11:22:48.278-04:00I'm on the newest DEV build, 20.0.1132.1, and ...I'm on the newest DEV build, 20.0.1132.1, and 'initctl start gpsd' results in an error: 'Unknown job: gpsd'. Did they rename the daemon or remove it entirely? cgps still seems to be available, but won't run without gpsd.wpg4665https://www.blogger.com/profile/05727374200146382766noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-49252362045170526352011-03-31T04:10:10.326-04:002011-03-31T04:10:10.326-04:00ctrl+cctrl+cVilla Baie Bleuhttps://www.blogger.com/profile/06530991935287555821noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-17736502645770794922011-03-20T10:07:17.898-04:002011-03-20T10:07:17.898-04:00when will I be able to write a chrome app that use...when will I be able to write a chrome app that uses the GPS? I don't really want to root it. I would be happy to wait until it is "available" which I assume will happen eventually?<br /><br />thanks!cellurlhttps://www.blogger.com/profile/03909246067560767537noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-53699341867235209902011-03-10T15:08:32.756-05:002011-03-10T15:08:32.756-05:00I tested this and it had surprisingly good accurac...I tested this and it had surprisingly good accuracy. It did take a bit to get a lock though but once I did I watched it against a speedometer in the car (I was riding... not driving) and it was pretty well spot on. It also seemed to pick up slope pretty good. Note if you can't get it to work make sure that gpsd is even running. Run...<br /><br />ps axf | grep gpsd<br /><br />And check for the actual gpsd process. If you get 2 lines you are good. If you only get one then it only returned the command you just ran to grep for gpsd. If that's the case then try again or reboot the laptop. It should work after the reboot. I think the gpsd process is a little unstable still.shinji257https://www.blogger.com/profile/14774865152232927159noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-10139454465140890062011-02-17T03:32:05.146-05:002011-02-17T03:32:05.146-05:00Probably not how Maps finds you--especially since ...Probably not how Maps finds you--especially since this is only sorta turned on. More likely tracking you by your IP. I guess to confirm we could just use a proxy or an onion router to check.Ciscohttps://www.blogger.com/profile/07661655259701218607noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-80876993512170944532011-02-16T01:02:08.819-05:002011-02-16T01:02:08.819-05:00Is this what Google Maps uses to track your locati...Is this what Google Maps uses to track your location on the OS?Adam Shttps://www.blogger.com/profile/00517041160443423979noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-5677370048621877842011-02-15T22:25:42.255-05:002011-02-15T22:25:42.255-05:00does this work with ubuntu installed? I dont see t...does this work with ubuntu installed? I dont see the drivers for it in "additional drivers," maybe theres a way, that would be cool because you could use regular applications that can use gpsBlair Hagenhttps://www.blogger.com/profile/13207475687820178998noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-60911327379076337202011-02-13T17:30:41.971-05:002011-02-13T17:30:41.971-05:00Haha, took me awhile to figure this one out...&quo...Haha, took me awhile to figure this one out..."q" to quit ^_^<br /><br />Took a few minutes of running around outside in the freezing cold, but I finally found enough satellites to get a lock! Funny thing is though..."speed err: +/- 49mph"!wpg4665https://www.blogger.com/profile/05727374200146382766noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-57187613787988470782011-02-08T17:21:36.292-05:002011-02-08T17:21:36.292-05:00@Paul, I believe they can use your wifi connection...@Paul, I believe they can use your wifi connection (they have a huge database of known access points), don't think the GPS is working...kelseyhttps://www.blogger.com/profile/13167106673028086426noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-48568223472901478512011-02-07T20:18:58.283-05:002011-02-07T20:18:58.283-05:00Hello, I wanted to comment on Maps.google.com Pres...Hello, I wanted to comment on Maps.google.com Press the button that is right above the slider that says something about enabling my location, and it zeros into me and the cr-48. I have a few guesses on how it's happening, but I have to get the Verizon card connected again. It stopped working after switching to the Dev Build. SO SWEET! The GPS card has to be working, or it's getting my location from my phone. I'll keep you posted. Feel free to de-bunk me if I'm wrong :-)Paul J Loehleinhttps://www.blogger.com/profile/02153361705019804427noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-72735430339061193402011-02-07T16:10:37.144-05:002011-02-07T16:10:37.144-05:00Wow, this is cool. I just went through the jailbr...Wow, this is cool. I just went through the jailbreak today, updated the OS and saw this article. I got a lock pretty quickly and when I put the coordinates into google maps, it gave me a picture of my house! Now, what will they let us do with a gps?Unknownhttps://www.blogger.com/profile/13718362655357226943noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-10694475542083195192011-02-06T19:34:19.384-05:002011-02-06T19:34:19.384-05:00uhmm how do i exit from it? o-ouhmm how do i exit from it? o-oelauhttps://www.blogger.com/profile/09665054906166334279noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-65655009483413647212011-01-28T04:44:55.721-05:002011-01-28T04:44:55.721-05:00Works for me: http://www.chrome48.info/2011/01/gps...Works for me: http://www.chrome48.info/2011/01/gps-works.htmlVadim Temkinhttps://www.blogger.com/profile/01923708716879531272noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-83809131256724944502011-01-27T22:56:32.505-05:002011-01-27T22:56:32.505-05:00I had a bit of trouble at first too, but a reboot ...I had a bit of trouble at first too, but a reboot got it going right away. That is so cool!Adam Shttps://www.blogger.com/profile/00517041160443423979noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-14233053041830061092011-01-27T22:03:13.673-05:002011-01-27T22:03:13.673-05:00@Jay Lee: It works! GPS Type : Generic NMEA@Jay Lee: It works! GPS Type : Generic NMEAAnonymoushttps://www.blogger.com/profile/11098450940132035288noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-86293617904295825912011-01-27T22:00:32.760-05:002011-01-27T22:00:32.760-05:00@Jay Lee: THX man :)@Jay Lee: THX man :)Anonymoushttps://www.blogger.com/profile/11098450940132035288noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-70980012320194729162011-01-27T21:58:01.065-05:002011-01-27T21:58:01.065-05:00@nopainkiller: I'm finding some weird issues. ...@nopainkiller: I'm finding some weird issues. First off, I got rid of the "echo..." command, it wasn't necessary (starting gpsd does this). Try shutting the Cr-48 off and bringing it back up, also try toggling the Cellular radio on and off. I haven't figured out exactly what the right combo to get it working is just yet.Jay Leehttps://www.blogger.com/profile/00534053872316638799noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-22454915954380424902011-01-27T21:30:47.527-05:002011-01-27T21:30:47.527-05:00@Jay Lee: I'm right at 0.10.156.1 and I ran &q...@Jay Lee: I'm right at 0.10.156.1 and I ran "initctl start gpsd" and got a "gpsd start/running, process 8258"Anonymoushttps://www.blogger.com/profile/11098450940132035288noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-40707365476150949782011-01-27T21:27:25.019-05:002011-01-27T21:27:25.019-05:00are you sure you're on 0.10.156.1? Did you run...are you sure you're on 0.10.156.1? Did you run "initctl start gpsd"?Jay Leehttps://www.blogger.com/profile/00534053872316638799noreply@blogger.comtag:blogger.com,1999:blog-1849709720667465506.post-63710169211400922552011-01-27T21:22:11.015-05:002011-01-27T21:22:11.015-05:00@Jay Lee: I got an error:
close(3) in netlib_conne...@Jay Lee: I got an error:<br />close(3) in netlib_connectsock()<br />cgps: no gpsd running or network error: -6, can't connect to host/port pairAnonymoushttps://www.blogger.com/profile/11098450940132035288noreply@blogger.com