I have a GL.iNet GL-MT3000 and I'm wondering if I can get my VK-162 G-Mouse USB GPS Dongle u-blox 7 GPS/GNSS Location Sensor to work on it
I've installed:
kmod-usb-serial
kmod-usb-serial-pl2303
kmod-usb-acm
gpsd
socat
and when I do a "dmesg | grep -i usb" to find the device, I'm only seeing this
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
so I'm not sure if it's missing something , as I don't know how to configure gpsd to the correct device, as I'm not seeing as a /dev/ttyUSB* or /dev/ttyACM0
well, I followed your steps and this is the output from running lsusb
root@GL-MT3000:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.211 xhci-hcd xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.211 xhci-hcd xHCI Host Controller
I’ve been looking into this, and the MT3000 is using a USB cable to a QC3.0 port (18W), but I think it’s might be a problem with the 5v/1A output of the USB on the MT3000 device, as it looks like it needs 5v/3A also. thanks for all your help, looks like I need a powered HUB that I can plug the GPS into, and then plug the USB Hub into the MT3000 so it has enough power
Well, that was the fix for the issue (using a powered hub to connect to the MT3000)
I did these steps, and once the powered hub was hooked up everything just worked
Identify the GPS Device:
Run dmesg | grep -i usb to check if the device is detected. It should show up as /dev/ttyUSB0 or /dev/ttyACM0 (mine showed up as /dev/ttyACM0).
Configure and Start gpsd:
Edit the gpsd configuration file (/etc/config/gpsd) to point to your device, for example:
open VI /etc/config/gpsd and add this
option device '/dev/ttyUSB0'
option port '2947'
option listen_globally '1'
save the file
Start and enable the service:
Then run :
/etc/init.d/gpsd enable
/etc/init.d/gpsd start
Verify Data Flow:
Run gpsmon or cgps to confirm that NMEA data is being received. you should see the data updating, and to exit do a ctrl-c