View Single Post
Posts: 22 | Thanked: 0 times | Joined on Nov 2007
#234
Originally Posted by tz1 View Post
In the bluetooth scan status screen (config, then btscan button), is the address the same next to the setGPS button as the correct address for the BT GPS?
Yes, the GPS BT Addr and Current GPS Saved (in configure panel) are setted correctly to my gps BT address; (OBD BT and V1 BT all zero)

Originally Posted by tz1 View Post
Also do a FULL "ps" (before worrying about the strace). There is btconnect.sh which parameters has to match (normally /dev/rfcomm0 and the address for the GPS) and it should do l2ping to find the gps, then an rfcomm to connect to it.
When i start minigpsd i see gps connected but always red circle state:
~ $ ps | grep bt

1148 root 2948 SW< /usr/bin/btcond -l
...
~ $ ps | grep rf

292 root SW< [krfcommd]

1339 user 1452 SW< rfcomm connect 0 00:xx:xx:xx:xx:xx (<-my gps BT address)
BUT ONLY if i perform before in xterm:
rfcomm connect 00:xx:xx:xx:xx:xx (<-my gps BT address)

Connected /dev/rfcomm0 to 00:xx:xx:xx:xx:xx (<-my gps BT address) on channel 1

Press CTRL-C for hangup
and then start minigpsd i see the green circle with the sats dots and btconnect.sh:
~ $ ps | grep bt

1150 root 2948 SW< /usr/bin/btcond -l

1654 user 1884 SW< sh /usr/bin/btconnect.sh 0 00:xx:xx:xx:xx:xx (<-my gps BT address)

1657 user 1892 SW grep bt

~ $ ps | grep rf

292 root SW< [krfcommd]

1547 user 1588 SW rfcomm connect 00:xx:xx:xx:xx:xx (<-my gps BT address)

1874 user 1892 RW grep rf
I have only the SUDSER package with a psw setted for the root rights, i don't know if it's necessary anything else.

And what 'bout the rfcomm.conf and hcid.conf in /etc.

Maybe i have to modify anithing in these files

Thanks in advance