sudo usermod -a -G dialout $USER Log out and back in.
To use the GPS without sudo , add your user to the dialout group:
Windows will usually install the USB Serial Device driver (usbser.sys) automatically. Check in Device Manager under Ports (COM & LPT) . You will see something like USB Serial Device (COM3) .
The VK-172 typically runs at 9600 baud (u-blox 7) or 115200 baud (u-blox 8). Use stty : vk-172 driver
ls -l /dev/ttyACM* /dev/ttyUSB* Use cat , screen , or minicom to read NMEA sentences:
dmesg | tail -20 You should see output similar to:
The VK-172 is a low-cost, low-power USB GPS dongle that uses a u-blox 7-series or 8-series chipset (often referred to as a "G-mouse"). It does not require a proprietary driver in most modern operating systems because it conforms to the USB CDC ACM (Communications Device Class Abstract Control Model) standard. This means it typically appears as a serial port. sudo usermod -a -G dialout $USER Log out and back in
sudo stty -F /dev/ttyACM0 9600 Windows recognizes the VK-172 as a serial-over-USB device.
https://github.com/torvalds/linux/blob/master/drivers/usb/class/cdc-acm.c No additional out-of-tree driver is required. | OS | Driver | Device Name | |----|--------|--------------| | Linux | cdc_acm (built-in) | /dev/ttyACM0 | | Windows | USB Serial Device (usbser.sys) or u-blox VCP | COM3 (example) | | Android | OTG + Serial USB app | N/A (app-specific) |
Plug in the VK-172 and run:
The VK-172 is a standard USB CDC device. No special drivers are needed in most modern operating systems—just plug it in and read NMEA sentences from the virtual serial port.
usb 1-1.2: new full-speed USB device number 6 using xhci_hcd usb 1-1.2: Product: u-blox 7 - GPS/GNSS Receiver cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device The device will be created as /dev/ttyACM0 or /dev/ttyUSB0 . Check with:
Here is the text for a VK-172 driver (typically for Linux systems, as the VK-172 is a USB GPS receiver based on the u-blox chipset). Introduction You will see something like USB Serial Device (COM3)
Use any serial terminal (PuTTY, Tera Term, or GPS software like u-center or VisualGPS). Connect to the assigned COM port at 9600 baud (or 115200), 8 data bits, 1 stop bit, no parity.
If it shows as an unknown device, download the u-blox Virtual COM Port Driver from the official u-blox website or use a generic USB CDC ACM driver.