GL-MT3000 GPS USB dongle

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

any help would be appreciated

Hi

Unfortunately, GPS USB dongles are not within our supported scope, and we also don’t have the relevant hardware available for testing.

At the moment, the suggestions we can offer are:

  1. Install usbutils and run lsusb to check whether the USB device is being detected:
opkg update && opkg install usbutils
lsusb
  1. Ask in the OpenWrt community, or wait here to see if others may have relevant experience to share.

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

It looks like the system has not detected the GPS USB dongle.

You may want to check the following:

  1. What drivers this GPS USB dongle requires under OpenWrt/Linux.
  2. Whether the MT3000 is using the original power adapter or another adapter that supports 5V/3A, providing enough power for USB.
  3. The power requirements of the GPS USB dongle—note that the MT3000’s USB port can provide up to 5V/1A output.

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

Let us know how it goes.

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

  1. (ssh into the MT3000 as root)

  2. install the following packages
    opkg update
    opkg install kmod-usb-serial
    opkg installk mod-usb-serial-pl2303
    opkg install kmod-usb-acm
    opkg install gpsd
    opkg install gpsd-utils

  3. 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).

  4. 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

  5. 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

2 Likes