Take "Ubuntu 20.04" as an example

USB Connection

Plug the USB connector into the terminal device.

 

 

 

 

1. Open the terminal and enter "sudo apt install gpsd" to install the gpsd service.

2. Wait for the installation to complete.

3. Enter "sudo apt install gpsd-clients" to install the gpsd clients.

4. Wait for the installation to complete.

5. Enter "l /dev/ttyUSB*" to display the port where the P-7 Pro is located.
"
/dev/ttyUSB0" corresponds to "Enhanced COM Port"; "/dev/ttyUSB1" corresponds to "Standard COM Port".

6. Enter "stty -F /dev/ttyUSB0 57600" to set the baud rate.

7. Enter "gpsd /dev/ttyUSB0" to enable the GPS service.

8. Enter "xgps" to start the clients.

9. In the xgps interface, you can view the positioning information.