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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2010, 02:49 PM
|
#1
|
LQ Newbie
Registered: Apr 2010
Posts: 6
Rep:
|
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.
|
|
|
04-23-2010, 10:14 AM
|
#2
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep: 
|
An iPhone is not Linux. However it is Unix. It'd be more relevant in Other *NIX
|
|
|
04-23-2010, 06:27 PM
|
#3
|
LQ Newbie
Registered: Apr 2010
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
04-23-2010, 11:11 PM
|
#4
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,097
|
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.
|
|
|
04-23-2010, 11:17 PM
|
#5
|
LQ Newbie
Registered: Apr 2010
Posts: 6
Original Poster
Rep:
|
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).
|
|
|
All times are GMT -5. The time now is 10:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|