![]() |
2008-07-13
, 05:52
|
|
Posts: 229 |
Thanked: 108 times |
Joined on Oct 2007
@ Sacramento, California
|
#2
|
![]() |
2008-07-13
, 06:08
|
Posts: 10 |
Thanked: 5 times |
Joined on Jul 2008
|
#3
|
![]() |
2008-07-13
, 14:15
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#4
|
It locks within seconds (less than 10 in my case). I take that back, it locks within 20-30 seconds if no prior gpsd instances are active.
I had the entire setup on battery for about about 3 hrs before it drained.
![]() |
2008-07-13
, 15:13
|
Posts: 10 |
Thanked: 5 times |
Joined on Jul 2008
|
#5
|
Very cool indeed...
Is your USB GPS two seperate peices not including the modified adapter? I have one from Microsoft Streets & Trips laying around here somewhere that has a postage stamp sized GPS reciever that plugs into a seperate USB-serial interface.
Now I'm wondering if this smaller serial interface with the modified adapter can be used for connecting other serial devices with the Tablet.
![]() |
2008-10-14
, 18:04
|
Posts: 8 |
Thanked: 2 times |
Joined on Aug 2008
|
#6
|
![]() |
2008-10-14
, 18:56
|
Posts: 57 |
Thanked: 15 times |
Joined on Oct 2008
@ West Hills California
|
#7
|
![]() |
2008-10-14
, 19:26
|
|
Posts: 1,390 |
Thanked: 642 times |
Joined on Nov 2007
@ California USA
|
#8
|
![]() |
2008-10-24
, 15:58
|
Posts: 2 |
Thanked: 3 times |
Joined on Oct 2008
|
#9
|
![]() |
2008-10-24
, 16:07
|
Posts: 2 |
Thanked: 3 times |
Joined on Oct 2008
|
#10
|
Instead of buying a separate Bluetooth dock, I thought I would try and make use of the USB host mode that comes with OS versions chinook and up. A specially modified adapter does the specific trick of automatically switching the USB mode.
The Pharos USB GPS-500 receiver has a built-in Prolific USB-serial interface. N800 however does not come with the necessary modules and drivers to perform USB-serial interfacing. Fanoush was kind enough to make available a module pack (tar.gz) (see also this post) containing suitable modules: usbserial.ko and pl2303.ko under drivers/usb/serial. These of course will have to be loaded with insmod from the root account. Upon successfully insmodding, a new /dev/ttyUSB0 serial device is created.
One last trick I had to figure out was a hidden file called /var/lib/gps/.gps_no_serial_ports which will prevent maemo-mapper and the built-in gpsd daemon from accessing /dev/ttyUSB0. Once you remove that file everything should work like a charm.
The following steps are involved:
Cheers
Z
2/7/09 Edit: here is an implementation suggestion in conjunction with the Personal Menu app. A notable change from the example above is the use of gpsd as data source in maemo-mapper as opposed to pointing it to /dev/ttyUSB0. The scripts below will fire up gpsd with the right command-line options, This way several gps-enabled applications can run simultaneously.
Caution: some unix/linux skills are required, such as opening an xterm session, navigating the file system using cd and ls, copying and renaming files etc--
(1) I opened a Terminal session and created a new directory called /home/user/bin/usbser containing the following files; the .ko files are the new kernel modules described above:
start-gpsd
With all files in place, I made the scritps executable: chmod +x *-gpsd.
(2) I installed Personal Menu. Then using the Edit Personal Menu option, I created entries for the scripts above and checked the "run as root" box; here are excerpts from my ~/.personal_menu.rc config file:
The "restart-gpsd" command above is sometimes useful when maemo-mapper is unable to locate the gps device; this most likely happens when the OS (stubbornly) recreates the .gps_no_serial_ports file.
Hope this helps
Cheers
Z.
Last edited by zzzy; 2009-02-07 at 16:25. Reason: implementation guide with Personal Menu app