-1

Say I want gpsd to monitor a bluetooth device, therefore replacing DEVICES line in "/etc/defaults/gpsd" with:

 DEVICES="/dev/rfcomm0"

Say I also have the following content in "/etc/bluetooth/rfcomm.conf":

rfcomm0 {
    bind yes;
    device xx:xx:xx:xx:xx:xx;
    channel 1;
    comment "blah";
}

I would have expected the bind yes thing to have the connection auto-start on boot-up (source), but it didn't.

Note that this works on Ubuntu 12.04.

tshepang
  • 2,007

1 Answers1

1

I added this to "/etc/init.d/gpsd" in the do_start() function:

rfcomm bind rfcomm0

I was happy afterwards.

tshepang
  • 2,007