HI I have been trying to setup a car PC using the Raspberry Pi 2, and have run into a problem which i have been unable to solve with my limited knowledge of Linux.
I have a UART GPS connected to the GPIO pins which works fine (get data from gps with cgps -s) until I plug in my USB OBDII device, as soon as I plug it in and reboot I no longer get any data from the GPS (cgps -e Error: GPS timeout).
Other post I have seen suggest that its a power issue. I have eliminated this as the problem by running the Pi on a separate power supply to the powered USB HUB that the USB OBDII device is connected to. (Both power supplies are capable of delivering up to 5Amps).
Some more info..
With OBDII USB device disconnected I ran gpspipe -r and got DEVICE path = /dev/ttyAMA0 as expected..
When I connected the OBDII USB device and ran gpspipe -r I got DEVICE path = /dev/ttyUSB0..
Hope this will help someone give me a solution.
In etc/default/gpsd DEVICE is listed as dev/ttyAMA0
Im guess that this is what the problem is, I would like to know why it switches to ttyUSB0 when the OBDII USB device is connected.