Zagura’s blog

December 20, 2006

Bluetooth GPS on Gentoo

Filed under: English, Linux — puthre @ 12:33 pm

Configuring a Bluetooth GPS receiver on Gentoo was pretty straight forward for me.
This assumes that you already have the bluetooth stack up and running on your Gentoo box.

# emerge -p gpsd

# hcitool scan
Scanning …
00:0B:0D:6E:65:8A iBT-GPS
# sdptool browse 00:0B:0D:6E:65:8A
Browsing 00:0B:0D:6E:65:8A …
Service Name: SPP slave
Service Description: Bluetooth SPP V1.23
Service RecHandle: 0×10000
Service Class ID List:
“Serial Port” (0×1101)
Protocol Descriptor List:
“L2CAP” (0×0100)
“RFCOMM” (0×0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0×656e
encoding: 0×6a
base_offset: 0×100

# rfcomm connect 0 00:0B:0D:6E:65:8A
Connected /dev/rfcomm0 to 00:0B:0D:6E:65:8A on channel 1
Press CTRL-C for hangup

On another terminal, start the gps daemon.

# gpsd /dev/rfcomm0

The fun begins:

# xgps

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress