Get gps info from Quectel EG25-GC

Ok so I have balena os with a Quectel EG25-GC I have added the udev

SUBSYSTEMS==“usb”, ENV{.LOCAL_ifNum}=“$attr{bInterfaceNumber}” SUBSYSTEMS==“usb”, KERNEL==“ttyUSB[0-9]*”, ATTRS{idVendor}==“05c6”, ATTRS{idProduct}==“9003”, ENV{.LOCAL_ifNum}==“01”, SYMLINK+=“UC20.NMEA”, MODE=“0660” SUBSYSTEMS==“usb”, KERNEL==“ttyUSB[0-9]*”, ATTRS{idVendor}==“05c6”, ATTRS{idProduct}==“9003”, ENV{.LOCAL_ifNum}==“02”, SYMLINK+=“UC20.AT”, MODE=“0660” SUBSYSTEMS==“usb”, KERNEL==“ttyUSB[0-9]*”, ATTRS{idVendor}==“05c6”, ATTRS{idProduct}==“9003”, ENV{.LOCAL_ifNum}==“03”, SYMLINK+=“UC20.MODEM”, MODE=“0660” SUBSYSTEMS==“usb”, KERNEL==“ttyUSB[0-9]*”, ATTRS{idVendor}== “2c7c”, ATTRS{idProduct}== “0121”, ENV{.LOCAL_ifNum}== “02”, SYMLINK+= “EC21.AT”, MODE= “0660” SUBSYSTEMS== “usb”, KERNEL== “ttyUSB[0-9]*”, ATTRS{idVendor}== “2c7c”, ATTRS{idProduct}== “0121”, ENV{.LOCAL_ifNum}== “03”, SYMLINK+= “EC21.MODEM”, MODE= “0660” SUBSYSTEMS== “usb”, KERNEL== "ttyUSB[0-9]* ", ATTRS{idVendor}== “2c7c”, ATTRS{idProduct}== "0125 ", ENV{.LOCAL_ifNum}== "01 ", SYMLINK+= “EC25.NMEA”, MODE= “0660” SUBSYSTEMS== “usb”, KERNEL== "ttyUSB[0-9]* ", ATTRS{idVendor}== “2c7c”, ATTRS{idProduct}== “0125”, ENV{.LOCAL_ifNum}== “02”, SYMLINK+= “EC25.AT”, MODE= “0660” SUBSYSTEMS== “usb”, KERNEL== “ttyUSB[0-9]*”, ATTRS{idVendor}== “2c7c”, ATTRS{idProduct}== “0125”, ENV{.LOCAL_ifNum}== “03”, SYMLINK+= "EC25.MODEM ", MODE= “0660”

As seen in a post to add to the config but it’s setup up can not get the SD card. This doesn’t work any help please

I get this error systemd-udevd[89565]: /etc/udev/rules.d/gps.rules:2 Invalid key/value pair, ignoring.

Or is there an easier way to do it

Hi @MattyR I would suggest you test the udev rule is valid on a standard distro, maybe using a container or a virtual machine, and once you verified it works then add it to the balenaOS config.js. BalenaOS is not the friendlier platform to debug this as it’s a lightweight OS specialized in running container workloads.

Device it out there with the modem in it now. Can’t have access to the modem for testing