OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> Got Earthmate USB GPS, now what?
lwong
post May 7 2004, 05:37 PM
Post #1





Group: Members
Posts: 53
Joined: 18-March 04
From: USA
Member No.: 2,388



I took the plunge and got the Delorme Earthmate USB GPS.

The 6000 recognize it right away as "Delorme USB Earthmate". dmesg says something about

USB HID v1.00 Pointer [Delorme Publishing Delorme Earthmate] on usb 1.27.0

Now what do I do? I installed qpegps but the defualt path is

-p /dev/ttyS0 -s -4800

Is that for connection through serial cale? What should I change it to?

One good thing about the setup is that the Z can power the GPS all by itself. The bad is that if qpegps is run in 640x480 mode, it looks skewed.

Please help me set this up.

Thanks

FW
Go to the top of the page
 
+Quote Post
dmilligan
post May 7 2004, 05:49 PM
Post #2





Group: Members
Posts: 21
Joined: 3-March 04
Member No.: 2,142



I am guessing /dev/ttyUSBXXX - you will probably need to run the gpsd prior to running qpegps as it seems to always want to default to ttyS0.
Go to the top of the page
 
+Quote Post
lwong
post May 7 2004, 05:56 PM
Post #3





Group: Members
Posts: 53
Joined: 18-March 04
From: USA
Member No.: 2,388



Could you elaborate a little as I am not familiar w/ the program (or linux) at all.

Do I actually need to install gpsd seperately? and how do I tell what "USBXXX" I should put?

Thanks

FW
Go to the top of the page
 
+Quote Post
Gondola
post Jan 25 2005, 02:23 PM
Post #4





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



I got one of the iRiver adapters (great deal btw).

I plugged in my DeLorme Earthmate, and it is recognized (courtesy of dmesg):

hub.c: USB new device connect on bus1/1, assigned device number 11: USB HID v1.00 Pointer [DeLorme Publishing DeLorme USB Earthmate] on usb1:11.0

I installed zGPS and manually edited the .zGPS.conf to point to /dev/ttyUSB1 but I'm not getting any results.

Since the ttyUSB1 file already exists in /dev, I don't need to prepare it ahead of time do I? From my reading online it may be necessary to get a new kernel to compensate for the fact that it identifies as a HID.

I like the Earthmate because it's USB (saves me the CF slot for other things if necessary, like a nice big 4gb CF drive), and it comes with a nice long cable. And I already had it anyway.

If someone could give me some more information on using USB GPS's, I would really appreciate it, as I think others would as well.
Go to the top of the page
 
+Quote Post
Gondola
post Jan 25 2005, 07:45 PM
Post #5





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



I've tried to put "-p /dev/ttyUSB1" on the gpeGPS dialog box, but no luck.

It will re-run gpsd on the fly; I tested it by changing to ttyS0 through ttyS4. In the Data Status window, under gpsd, the gpsd box will go green if I use ttyS0 through 3. So there's something about ttyUSB0 and ttyUSB1 which won't even allow gpsd to run.

None of the other boxes ever show anything other than red.

I even added the "-T e" to force it into Earthmate mode.

There's some kind of USB issue here, but I'm just no familiar enough with USB on Linux.
Go to the top of the page
 
+Quote Post
Gondola
post Jan 27 2005, 08:18 AM
Post #6





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



Bump.

I did some Googling in an attempt to figure out this problem, and I ran across these links:

http://trans.civil.northwestern.edu/~jay/gpsd.html

http://geocities.com/i0xox0i/

I would appreciate if someone with more knowledge of the Zaurus kernel please read through these pages. It seems to me that there are two options; recompile gpsd for the Zaurus as stated in the first link; or patch the kernel as detailed in the second link.

I don't have a compile environment set up for the Zaurus yet, as I've only recently gotten the Zaurus. GPS in the car is a killer app for me.

All you gurus out there, please help! smile.gif
Go to the top of the page
 
+Quote Post
Gondola
post Jan 29 2005, 07:44 AM
Post #7





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



Bump.
Go to the top of the page
 
+Quote Post
hellbilly
post Apr 3 2005, 09:19 AM
Post #8





Group: Members
Posts: 1
Joined: 24-January 05
Member No.: 6,307



QUOTE(Gondola @ Jan 27 2005, 11:18 AM)
Bump.

I did some Googling in an attempt to figure out this problem, and I ran across these links:

http://trans.civil.northwestern.edu/~jay/gpsd.html

http://geocities.com/i0xox0i/

I would appreciate if someone with more knowledge of the Zaurus kernel please read through these pages.  It seems to me that there are two options; recompile gpsd for the Zaurus as stated in the first link; or patch the kernel as detailed in the second link.

I don't have a compile environment set up for the Zaurus yet, as I've only recently gotten the Zaurus.  GPS in the car is a killer app for me.

All you gurus out there, please help! smile.gif

did you ever figure this out?
i am trying to get the usb gps that came with streets and trips working.
*
Go to the top of the page
 
+Quote Post
lardman
post Apr 3 2005, 10:16 AM
Post #9





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
I would appreciate if someone with more knowledge of the Zaurus kernel please read through these pages. It seems to me that there are two options;


QUOTE
recompile gpsd for the Zaurus as stated in the first link;


This is part of the solution outlined there - you also need to have the USB devfs enabled. I'm not sure whether this is enabled by default on the Z.

Anyone? In any case the patch against gpsd is on the web page, just patch it and build and see whether it works.

Otherwise there's always the kernel module which probably wouldn't be too hard to build. Which kernel are you running (the standard Sharp one I suppose, not OpenZaurus by chance)?


Si
Go to the top of the page
 
+Quote Post
Gondola
post Apr 4 2005, 10:57 AM
Post #10





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



Actually, it turns out that it's more complex than that.

The posted 2.4.x patch does not work with the Sharp kernel sources. I tried that. Someone with more programming experience may be able to update the kernel, but it's not a cut-and-dry kernel patch.

The other option, recompiling gpsd, requires some libs that I didn't have, and I got lost trying to figure out what libs I needed to get it working, and how to compile them. I think it may need a kernel change either way. I couldn't get it working, even though I was able to get a compile environment set up and I was able to compile and run a QTopia sample app.

I would really appreciate someone looking into this. Having recently lost my job, I don't see myself wasting the money for a new non-USB GPS, since the Z is not something I use for work.

Once I have a working GPS, I'd love to work on some map conversion projects, etc, but my Linux C programming skills are meager to say the least. I'm more comfortable with Perl and PHP.


QUOTE(lardman @ Apr 3 2005, 06:16 PM)
QUOTE
I would appreciate if someone with more knowledge of the Zaurus kernel please read through these pages. It seems to me that there are two options;


QUOTE
recompile gpsd for the Zaurus as stated in the first link;


This is part of the solution outlined there - you also need to have the USB devfs enabled. I'm not sure whether this is enabled by default on the Z.

Anyone? In any case the patch against gpsd is on the web page, just patch it and build and see whether it works.

Otherwise there's always the kernel module which probably wouldn't be too hard to build. Which kernel are you running (the standard Sharp one I suppose, not OpenZaurus by chance)?


Si
*

Go to the top of the page
 
+Quote Post
Gondola
post May 2 2005, 11:29 AM
Post #11





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



Bump.

I'm still interested in getting my GPS working before my upcoming road trip, wedding, and honeymoon. I'm going to be driving from NC to IN, flying to Vegas for honeymoon, flying back to IN, then driving back to NC. I'd like to have the GPS available for the trip, but I need someone with more expertise than I to patch the kernel and compile the patched GPSd.

I'll use OZ 3.5.3 if you want to compile for that platform, or stock Sharp ROM, whatever.. as long as I can use a browser and a GPS app.
Go to the top of the page
 
+Quote Post
lardman
post May 7 2005, 09:36 AM
Post #12





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Sorry, I lost track of this thread.

I note from:http://geocities.com/i0xox0i/ that the cypress_m8 module is in the 2.6 kernel now, however that won't help you as I don't think 2.6 is available for the 6000 yet.

I've compiled gped with the emul patch in OE, I've also almost compiled emul itslef, though it fails building sirfmon - is this required?

The .bb files and the emul lib and the ipk of gpsd are all here:

http://students.bath.ac.uk/enpsgp/Zaurus/emul/

Bit of a hack job I'm afraid, but I'm a bit busy - perhaps one of the OE gurus - hrw, mickeyl, etc., will take a look at the emul .bb file and be able to fix it (very easily I imagine).

I saw this:

QUOTE
You need libusb ( >=0.1.8 ) and kernel 2.6 to compile..


on http://trans.civil.northwestern.edu/~jay/gpsd.html

does this mean you'll need 2.6.x to run it, if so you're out of luck I suppose.


Si
Go to the top of the page
 
+Quote Post
lardman
post May 8 2005, 06:18 AM
Post #13





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Right, Mickeyl has given me a hand, and now the sirftest and emul_test binaries build fine - packaging is still a bit broken (easy to fix I imagine but I don't have time atm).

Si
Go to the top of the page
 
+Quote Post
Gondola
post May 9 2005, 07:41 AM
Post #14





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



QUOTE(lardman @ May 8 2005, 02:18 PM)
Right, Mickeyl has given me a hand, and now the sirftest and emul_test binaries build fine - packaging is still a bit broken (easy to fix I imagine but I don't have time atm).

Si
*


The 2.4 kernel required patches to use the custom version of gpsd at http://trans.civil.northwestern.edu/~jay/gpsd.html but I'm not sure about the Earthmate Userland library since there's so little on their page about what it is and how to use it. From what I understand, they are different ways to solve the same problem.

So you said you compiled it for OE, so what should I be using? OZ 3.5.3, Opie or GPE?
Sharp stock?
Go to the top of the page
 
+Quote Post
lardman
post May 9 2005, 09:39 AM
Post #15





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
The 2.4 kernel required patches to use the custom version of gpsd at http://trans.civil.northwestern.edu/~jay/gpsd.html


Where?

This:

QUOTE
The patch is retiring. Please take a look at the kernel mode driver by Lonnie Mendez. The driver is working and it is only a mater of time for it to go into the official Linux kernel tree.


Looks like he's talking about a module, however it appears that it's for 2.6.x.

This:

QUOTE
To use this GPS, we have two choices. The first one is to write a kernel module for this USB2Serial chip. However the current ( upto kerenl 2.6.5 ) usb2serial framework need to be patched in order to support interrupt transactions. The other approach is to utilize the USB DEVFS interface and communicate with the device directly from user space. The later method turned out to be easy.


seems to give two options:

1. patch the kernel to get over the difficulties caused by the usb2serial framework. I don't know whether this problem exists in 2.4.18, I don't know whether the code even exists in 2.4.18. I also don't know where one would find a patch (it seems to me that you would have to patch it yourself).

2. Use USB devfs (I don't know whether this is even supported on 2.4.18), even if it is, I'm afraid I'm not set up to build a kernel for anything other than a c7x0 atm anyway, however someone else may well be able to do so.

I imagine that libusb uses the USB (dev)fs so you will probably have no use for it.

Here (http://geocities.com/i0xox0i/), I read this:

QUOTE
There is also the EarthMate Userland Library project located here: http://emul.berlios.de
for people using Linux 2.4.x/2.6.x, Mac OS X/Darwin, and BSD.


Note the 2.4.x part.

I have provided the emul lib, and gpsd patched to use it. I've no idea if it'll work or not I'm afraid, but you can only try it out.

QUOTE
So you said you compiled it for OE, so what should I be using? OZ 3.5.3, Opie or GPE?


OZ 3.5.3, probably Opie, though GPE is an option - depends on what you want by way of apps, or whether you want to use an existing Qtopia (Sharp ROM) app (which will require Opie).

Take a look in the feeds and see if anything catches your eye, or ask on #openzaurus.

Link to images here: http://www.openzaurus.org/official/unstable/3.5.3/sl6000/
Link to main feed: http://www.openzaurus.org/official/unstable/3.5.3/feed/


Si
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 06:36 AM