LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2010, 02:49 PM   #1
gandhioftherillo
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
iPhone as GPSD device


Using a Python scipt by balint of Spench.net I can set my iPhone as a gpsd device (using mobile Safari and the tether connection)


Quote:
ryank@kayleeslaptop:~$ sudo python iPhone-gpsd.py
Current directory: /home/ryank
gpsd: Can't bind to port 2947
gpsd: Maybe gpsd is already running!
gpsd: Can't bind to port 2947
gpsd: Maybe gpsd is already running!
GPSd running
Added /dev/pts/1
HTTP Server running...
Ryan-Kochs-iPhone.local - - [22/Apr/2010 10:54:14] "POST / HTTP/1.1" 200 -
Received 1 updates:
35.21156006666667,-101.86819670000001,47.42163354976343,1271951613442
$GPRMC,105333.44,A,3512.693604,N,10152.091802,W,,,220410,,,A*40
It sets the device as /dev/pts/1 but GPSDrive (and any other program for that matter) shows that there is not GPS...

Here's a link to the site:
http://spench.net/drupal/software/iphone-gps

Any ideas?

Thanks in advance.

Last edited by gandhioftherillo; 04-23-2010 at 06:13 PM.
 
Old 04-23-2010, 10:14 AM   #2
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
An iPhone is not Linux. However it is Unix. It'd be more relevant in Other *NIX
 
Old 04-23-2010, 06:27 PM   #3
gandhioftherillo
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I'm wondering what I'm doing wrong on the Linux end (using Ubuntu 10.04) with gpsd and why it isn't registering correctly.
 
Old 04-23-2010, 11:11 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,097
Blog Entries: 4

Rep: Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089
For what it's worth, I have been decidedly un-impressed with the accuracy of the iPhone as a "general GPS" device. It seems to be adequate for, say, "road navigation" purposes, but not for (say...) geocaching.
 
Old 04-23-2010, 11:17 PM   #5
gandhioftherillo
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I TOTALLY agree on that. I geocache as well and it's really annoying (especially after paying $10 for the app) to wander around thinking you're close to the cache, only to find out you are 10 yards away (even with perfectly clear skies).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing gpsdrive without gpsd System-Core Linux - Software 13 12-17-2009 03:36 PM
LXer: Linux for iPhone May Open the Door to Android iPhone LXer Syndicated Linux News 0 11-30-2008 02:10 AM
Apple Iphone 16Gb/ New Edition Iphone 3G telcom Linux - Newbie 1 07-11-2008 10:53 AM
Holux GPS, gpsd, and GpsDrive skmassey Linux - Hardware 3 11-06-2006 03:38 PM
gpsd on a zaurus 6000L skunkburner Linux - Laptop and Netbook 4 07-07-2005 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration