Raspberry Pi GPS tinkery

I’m playing with making a vehicle position and tracking logger for various reasons, not least if I forget where I left a vehicle it’d be fun to ask it where it is and have my phone tell me how to get back to it.

So I’m messing around with the bu-303 GPS mouse from my car pc project of a million years ago, a raspberry pi and an orphaned sony ericsson phone which as yet doesn’t have a sim but I know can eat AT commands up its usb hole.

So far I’ve found that the rasperian distro is a bit stroppy with the gps out of the gate. It’ll start gpsd on boot and on insertion of the bu-303, but although gpsmon is quite happy to talk to that arrangement, some of the other tools are less happy.

I’m currently looking at xgps x-forwarded to my mac after killing the autorun gpsd and manually running it as root with:

gpsd /dev/ttyUSB0

This lets cgps and xgps get at the data. It may of course be a horrible security problem, but the gpds has come up as running as nobody looking like:

gpsd /dev/ttyUSB0

rather than:

gpsd -F /var/run/gpsd.sock

I’ll go init script hunting for trying to make that work right on insertion. I just wanted to leave this here in case anyone else gets similarly a bit stuck.

More to come later, perhaps.

One thought on “Raspberry Pi GPS tinkery”

Leave a Reply

Your email address will not be published. Required fields are marked *