Author Topic: Usb Gps  (Read 10131 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Usb Gps
« Reply #15 on: January 16, 2007, 11:05:43 am »
I have not yet made any attempt with gps on pdaXrom ... but I remember, while using my gps with sharp and cacko, that I hadto tell gpsd whre to access the gps device.
At the time I had a holux CF gps that was seen as a serial device and gpsd hadto be told which ttyS to use to access the gps.
Not sure how it works on usb ... but I suspect you still get some sort of serial device emulation, the BlueTooth gps, for example, is seen as a serial device via rfcomm.
Another thing is that some moving map software (and alike) seem to prefer to start gpsd by themselfs rather then having it already running when they are started.
Hope this helps
« Last Edit: January 16, 2007, 11:26:36 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Usb Gps
« Reply #16 on: January 16, 2007, 11:38:26 am »
I'm not sure if this will help, but here is the setting that I use in qpegps for Sharp.
--------------------------
gpsd Settings:
-p /dev/ttys3 -s 4800
--------------------------
I found this in one of the GPS related threads here on OESF.
Someone mentioned that ttys0 didn't work, so he suggested to use ttys3

Also, when first acquiring satellites, it can take up to 10 minutes to get a good number of satellites acquired.
I usually get 4 to 6 satellites.
BTW, I'm not using USB GPS, I have an Ambicom GPS CF card.
« Last Edit: January 16, 2007, 11:41:03 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Usb Gps
« Reply #17 on: January 16, 2007, 11:54:57 am »
Quote
Also, when first acquiring satellites, it can take up to 10 minutes to get a good number of satellites acquired.
I usually get 4 to 6 satellites.

The gps receiver chipset has a big influence on the time necessary to acquire enough satellites for navigation.
Typically sirfstarIII based gps will be faster than that.
« Last Edit: January 16, 2007, 11:58:23 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Gps
« Reply #18 on: January 16, 2007, 02:45:55 pm »
Thanks everyone. I think i am getting warmer!
if I type
Code: [Select]
# gpsd -D2 -n -K -p /dev/ttyUSB0 -s 4800
Illegal instruction
if I type:
Code: [Select]
# gpsd -D2 -n -K -p /dev/ttyUSB0
command line options:
  debug level:        2
  gps device name:    /dev/ttyUSB0
  gps device speed:   12
  gpsd port:          2947
  latitude:           (null)N
  longitude:          (null)W
I have attached my dmesg with the gps stuff at the end.
also I have tried deleting /dev/ttyUSB0 and recreating by typing:
Code: [Select]
# mknod /dev/ttyUSB0 c 188 0if i I look at the end of /var/log/messages I see this:
Code: [Select]
Jan 23 15:17:39 atd[512]: Waiting for alarm...
Jan 23 15:17:51 gpsd[2297]: Gpsd started (Version 1.06b)
Jan 23 15:17:51 gpsd[2297]: Gpsd listening on port 2947
Jan 23 15:17:58 gpsd[2297]: Received signal 2. Exiting...
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Usb Gps
« Reply #19 on: January 16, 2007, 03:12:56 pm »
if you don't have /dev/ttyUSB0, chances are the device is binding to /dev/usb/tts/0. Symbol link will be fine unless reset
Code: [Select]
ln -s /dev/usb/tts/0 /dev/ttyUSB0this is, I believe, an implementation issue in beta1-3

get the usage of your gpsd version by
Code: [Select]
gpsd -helpseems earlier versions use -p and later versions use -f to point to the device

You should be able to see satellites after
Code: [Select]
gpsd [-p|-f] /dev/ttyUSB0
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Usb Gps
« Reply #20 on: January 16, 2007, 03:21:51 pm »
Also cs_jacky has a more recent roadmap at this thread, which works perfectly for me. You must use the matching 2004 map files. I'm not sure about the version you have. But there are roadmap versions using 2000/2002 map files. Those maps are not compatible.
« Last Edit: January 16, 2007, 03:31:45 pm by xjqian »
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Usb Gps
« Reply #21 on: January 16, 2007, 04:06:32 pm »
Quote
if you don't have /dev/ttyUSB0, chances are the device is binding to /dev/usb/tts/0. Symbol link will be fine unless reset

udev configuration may vary behaviour of device name and/or links.
Look at the udev.rules to see where it should be .... and look ad dmesg straight after insertion to see what happened.
On r121 /dev/ttyUSB[0-9] should  link to /dev/tts/USB....
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Gps
« Reply #22 on: January 16, 2007, 04:30:10 pm »
Thanks guys.
My dmesg is attached to the end of my previous msg (called GPS.txt)
I have always had a:
/dev/ttyUSB0
but I do not have a
/dev/usb/tts/0

louigi600... I'll look into the udev.rules as soon as I can locate it in the zaurus file system (*scratching head*)

xjqian... thanks for the link, I'll try out that newer software.
I think once I get gpsd working properly the rest will come together.

I should note that I am able to:
Code: [Select]
telnet 127.0.0.1 2947and I can even press the letter "d" and Enter to get the utc time, but that's about the only info I can get from it.

EDIT: I did this:
Code: [Select]
ln -s /dev/ttyUSB0 /dev/usb/tts/0then ran gpsd again, and this time I could press the letter "r" in the telnet session and  it shows me all the raw data coming in. Maybe I'm getting close.  
« Last Edit: January 16, 2007, 05:00:44 pm by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Usb Gps
« Reply #23 on: January 16, 2007, 08:02:24 pm »
Quote
Also, when first acquiring satellites, it can take up to 10 minutes to get a good number of satellites acquired.
I usually get 4 to 6 satellites.
BTW, I'm not using USB GPS, I have an Ambicom GPS CF card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151335\"][{POST_SNAPBACK}][/a][/div]
Not only that, but I've noticed that the cheap GPS receiver I'm currently playing with doesn't seem to acquire a lock on overcast days.  On clear days it works okay, although it still takes a while to get a lock.  It's something I can play with, but I definitely can't rely on the unit for navigation.
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Usb Gps
« Reply #24 on: January 16, 2007, 08:23:44 pm »
Quote
Quote
Also, when first acquiring satellites, it can take up to 10 minutes to get a good number of satellites acquired.
I usually get 4 to 6 satellites.
BTW, I'm not using USB GPS, I have an Ambicom GPS CF card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151335\"][{POST_SNAPBACK}][/a][/div]
Not only that, but I've noticed that the cheap GPS receiver I'm currently playing with doesn't seem to acquire a lock on overcast days.  On clear days it works okay, although it still takes a while to get a lock.  It's something I can play with, but I definitely can't rely on the unit for navigation.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151371\"][{POST_SNAPBACK}][/a][/div]
That example was when I tested it indoors with the antenna on the window sill in a downtown location.
Also notice I said up to 10 minutes, in my example above.
I've never used it for navigating, as I only ride a motorcycle.
I get it out of the saddlebag and find my location.
Last summer when at a state park, I got it out, set it on a picnic table, and it acquired the satellites much faster than it did in the downtown indoor location.
I've also read (here on the forums) that the first time you turn it on, it takes longer to acquire, than when traveling with it while it updates.
« Last Edit: January 16, 2007, 08:32:28 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Usb Gps
« Reply #25 on: January 16, 2007, 08:36:34 pm »
Quote
then ran gpsd again, and this time I could press the letter "r" in the telnet session and it shows me all the raw data coming in. Maybe I'm getting close.

that's good. You should be all set to test the gps software. Btw, seems beta3 udev rule is the other way around from beta1, at least in this case.
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Gps
« Reply #26 on: January 16, 2007, 08:43:46 pm »
Success.
I've found that if I run gpsd, telnet into it, press "r" for raw mode and then run the gtkroad* software... it works. Strange!
I'll try the newer software that xjqian posted about and maybe iut will be easier to use.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Usb Gps
« Reply #27 on: January 16, 2007, 10:28:34 pm »
Quote
Quote
Quote
Also, when first acquiring satellites, it can take up to 10 minutes to get a good number of satellites acquired.
I usually get 4 to 6 satellites.
BTW, I'm not using USB GPS, I have an Ambicom GPS CF card.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Not only that, but I've noticed that the cheap GPS receiver I'm currently playing with doesn't seem to acquire a lock on overcast days.  On clear days it works okay, although it still takes a while to get a lock.  It's something I can play with, but I definitely can't rely on the unit for navigation.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151371\"][{POST_SNAPBACK}][/a][/div]
That example was when I tested it indoors with the antenna on the window sill in a downtown location.
Also notice I said up to 10 minutes, in my example above.
I've never used it for navigating, as I only ride a motorcycle.
I get it out of the saddlebag and find my location.
Last summer when at a state park, I got it out, set it on a picnic table, and it acquired the satellites much faster than it did in the downtown indoor location.
I've also read (here on the forums) that the first time you turn it on, it takes longer to acquire, than when traveling with it while it updates.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151374\"][{POST_SNAPBACK}][/a][/div]
When I tested mine indoors, I couldn't get a lock whether I had it on a window sill or not.  Admittedly, I have a large maple in the backyard and the eaves overhand enough to obscure the sky immediately overhead.  I haven't tested much in the open air.  The "overcast day" scenarios were tested mostly with the receiver up on the front of the dashboard where it should have an excellent view of the sky through the windshield.  A couple times I actually moved it to the roof of the vehicle (receiver has a magnet and fairly long cable), but reception did not improve noticeably.

Incidentally, this is an Evermore GM-307, which must be an old model because I only find the GM-R307 on the [a href=\"http://www.emt.com.tw]manufacturer's[/url] site.  Very similar specs, except that mine supposedly has a sensitivity of "-165bDW minimum."  This model does interface easily with the Zaurus, but I haven't been impressed with the sensitivity.
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Gps
« Reply #28 on: January 17, 2007, 12:20:56 am »
Quote
I'll try the newer software that xjqian posted about and maybe iut will be easier to use.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151378\"][{POST_SNAPBACK}][/a][/div]
ahh yes, that newer software runs a lot better. thank you.
Now have to try and figure out a way to get/convert a map of Manitoba and Winnipeg, as there's only a general map of North America on the roadmap website that's useful to us Canadians.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

portalgod

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://www.rajeshprakash.com
Usb Gps
« Reply #29 on: May 11, 2007, 01:25:32 am »
Quote
Quote
I'll try the newer software that xjqian posted about and maybe iut will be easier to use.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151378\"][{POST_SNAPBACK}][/a][/div]
ahh yes, that newer software runs a lot better. thank you.
Now have to try and figure out a way to get/convert a map of Manitoba and Winnipeg, as there's only a general map of North America on the roadmap website that's useful to us Canadians.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151393\"][{POST_SNAPBACK}][/a][/div]

I'm having some trouble getting roadmap to display maps properly.   I downloaded the newer software xjqian suggested and ipkg installed it.   It installed and I can go to /mnt/sd/usr/bin/ and run roadmap.   It first complained about not opening usdir.rdm, I downloaded the latest map files from roadmap.digitalomaha.net and dropped them in /usr/share/roadmap/ (which is a symlink to /mnt/sd/usr/share/roadmap).   The map shows up as a bunch of black shapes on a white background.   No streets shown.   I can click and scroll around, but i suscpect I either don't have the right colors selected or it is not being rendered properly.

Any idears?

I know gpsd is runnign and my reciever is hooked up properly.   using roadgps shows which satellites I have a fix via.
« Last Edit: May 11, 2007, 02:06:40 am by portalgod »
SL-C1000 w/pdaXii13 Akita (base) + select apps
4GB Transcend 150x SD, 4GB Transcend 120x CF
Planex gw-cf11x CF Wi-Fi, Buffalo CF LAN
UT-41 USB GPS
Misc other SD and CF cards