646265-004 31
Intel
®
Ethernet Network Adapter E810-XXVDA4T
User Guide
Note: On some systems, GPSD might not work properly as a service out of the box. If that is
the case, check that your systemd configuration files are set correctly.
Note: Kernel modules required can be found using make menuconfig:
enable Device Drivers > Character devices > Serial device bus
enable Device Drivers > GNSSreceiver support > u-Blox GNSS receiver support
8. Install pygpsclient API:
#python3 -m pip install --upgrade PyGPSClient
9. Configure the gpsd service daemon:
a. edit /etc/sysconfig/gpsd and add OPTIONS="-G -n /dev/ttyGNSS_BBFF" to include serial device.
10. Apply mqapikey for pygpsclient WebMap. For the apply procedure, refer to
https://pypi.org/project/PyGPSClient/
and
https://developer.mapquest.com/user/login/sign-up
11. Extend Python serial library to recognize the E810-XXVDA4T:
a. You can manually add /dev/gnss* and /dev/ttyGNSS* into list_ports_linux.py to extend Python
serial API capability to recognize the COM port from Intel ice driver, Following is a example:
def comports(include_links=False):
devices = glob.glob('/dev/ttyS*') # built-in serial ports
devices.extend(glob.glob('/dev/gnss*')) # Intel ice driver after
kernel6.0.0 in-box
devices.extend(glob.glob('/dev/ttyGNSS*')) # Intel ice driver
devices.extend(glob.glob('/dev/ttyUSB*')) # usb-serial with own driver
devices.extend(glob.glob('/dev/ttyACM*')) # usb-serial with CDC-ACM
profile
12. Set the PYTHONPATH variable.
#export PYTHONPATH=/usr/local/lib/python3.9/site-packages/
13. Restart the gpsd service daemon and check its status (/dev/ttyGNSS_5e00 as an example).
#systemctl restart gpsd
#systemctl status gpsd
? gpsd.service - GPS (Global Positioning System) Daemon
Loaded: loaded (/usr/lib/systemd/system/gpsd.service; enabled; vendor preset:
enabled)
Active: active (running) since Mon 2022-10-31 10:09:59 CST; 1s ago
Process: 1856694 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES
(code=exited, status=0/SUCCESS)
Main PID: 1856695 (gpsd)
Tasks: 1 (limit: 3355442)
Memory: 904.0K
CGroup: /system.slice/gpsd.service
??1856695 /usr/local/sbin/gpsd -G -n /dev/ttyGNSS_5e00
Did this document help answer your questions?