Novatel SPN USB Driver for DRIVE OS 5.2.0

Just checking if somebody had been able to cross-compile the kernel to support the Novatel SPN USB interface.

I used the KO from DW10 but didnt work as expected.

1 Like

Hi @jpvans ,

Did you mean “DRIVE OS 5.2.0 and DriveWorks 3.5”? We haven’t release DRIVE Software 11.
BTW, next time could you help to provide the basic information by ticking the checkboxes in the topic creating template. Thanks.

@VickNV

Sorry for the confusion, I was referring to DRIVE OS 5.20 and DW 3.5.

I am trying to access the ttyUSB interfaces but dmesg only outputs:

[ 9505.587389] usb 1-2.1: New USB device found, idVendor=09d7, idProduct=0100
[ 9505.587397] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9505.587402] usb 1-2.1: Product: Novatel GPS Receiver
[ 9505.587406] usb 1-2.1: Manufacturer: Novatel Inc.
[ 9505.587410] usb 1-2.1: SerialNumber: BJYA17400227U

I have no experience with the device. Can you follow the steps by which you made it work on DRIVE Software 10 for DRIVE OS 5.2.0?

@VickNV

I am looking something similar to this:

Unfortunately that cross-compiled ko is not working on my Drive OS.

Thanks for sharing the related topic.

Could you elucidate your problem? If it’s not an nvidia bug, could you try to contact with novatel on this.
BTW, please correct your topic title to reflect your version (in your case: DRIVE OS 5.2.0).

@VickNV

I do believe Pegasus Xavier AGX does not have the proper driver for Novatel USB interface. As noted here:

The user compiled the Driver OS Kernel in order to get the usb-serial-simple.ko

I can’t run even the sample_gps_logger because the interface /dev/ttyUSB0 is not enumerated/created by the OS.

@VickNV

For some reason I can’t modify the Topic Subject.

In the case, I guess you may also need to build it by yourself.

Thanks for letting me know. I just updated it for you.

@VickNV

To do so. I need the Drive OS source in order to compile the Kernel.

The topic you shared mentions all the necessary information of DRIVE Software 10.0.
They are also included in DRIVE OS 5.2.0. The following are the relevant document and source for 5.2.0. FYI.

@VickNV

I don’t have access to the DRIVE OS 5.2 Kernel source code. Can you share?
I need these scripts:

bash drive-t186ref-linux--oss-src.run
bash drive-t186ref-foundation-
-toolchain.run

You can ignore “Prerequisites” section in the document page. All the necessary directories should be already installed by sdkmanager and under ~/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS.

@VickNV

My current SDK only shows:

(base) jptalledo@CCIDev:~/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS$

I got debian packages to update my Pegasus platform so I will see if updating SDK manager can help.

Can you advise?

Sorry that I don’t get your question.
If you want to work on DRIVE OS 5.2.0, please make sure you are using the host system installed with DRIVE OS 5.2.0.

@VickNV

Updating SDK Manager and compiling the kernel module fixed my issue

[ 105.004401] usbcore: registered new interface driver usb_serial_simple
[ 105.004434] usbserial: USB Serial support registered for carelink
[ 105.004460] usbserial: USB Serial support registered for zio
[ 105.004482] usbserial: USB Serial support registered for funsoft
[ 105.004504] usbserial: USB Serial support registered for flashloader
[ 105.004530] usbserial: USB Serial support registered for google
[ 105.004553] usbserial: USB Serial support registered for libtransistor
[ 105.004610] usbserial: USB Serial support registered for vivopay
[ 105.004632] usbserial: USB Serial support registered for moto_modem
[ 105.004674] usbserial: USB Serial support registered for motorola_tetra
[ 105.004717] usbserial: USB Serial support registered for novatel_gps
[ 105.004738] usbserial: USB Serial support registered for hp4x
[ 105.004760] usbserial: USB Serial support registered for suunto
[ 105.004780] usbserial: USB Serial support registered for siemens_mpi
[ 105.004823] usb_serial_simple 1-2.1:1.0: novatel_gps converter detected
[ 105.005046] usb 1-2.1: novatel_gps converter now attached to ttyUSB1
[ 105.005307] usb 1-2.1: novatel_gps converter now attached to ttyUSB2
[ 105.005585] usb 1-2.1: novatel_gps converter now attached to ttyUSB3

1 Like