Quantcast
Viewing all articles
Browse latest Browse all 4890

Python • Re: Reading GPS

stat(/dev/ttySC0)

It would usually be ttyACM0 or ttyUSB0 (or some number of that, can check with my ublox in a bit.

Iirc you shouldn't need to set anything up in gpsd for USB devices, pps is different though.

Disconnect the GNSS device, type dmesg, then stick usb in again
dmesg again and see what changed at the end.

One tick..

Here's what my Ublox USB says
So mine is ttyACM0

[ 1077.923640] usb 1-2: new full-speed USB device number 2 using xhci-hcd
[ 1078.072246] usb 1-2: New USB device found, idVendor=1546, idProduct=01a8, bcdDevice= 3.01
[ 1078.072252] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1078.072255] usb 1-2: Product: u-blox GNSS receiver
[ 1078.072257] usb 1-2: Manufacturer: u-blox AG - www.u-blox.com
[ 1078.277808] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 1078.277859] usbcore: registered new interface driver cdc_acm
[ 1078.277862] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Statistics: Posted by bensimmo — Sun Apr 07, 2024 2:18 pm



Viewing all articles
Browse latest Browse all 4890

Trending Articles