Contact Us    

Linux - Manual Compile Guidelines

Note: This document is provided for information purpose only. Novatel Wireless cannot accept any responsibility for the use of information provided in this document.

These are "canonical" guidelines and the details depend on the exact distribution you are using.

First step - get kernel source and build tools?

  1. Debian distributions
    1. apt-get install linux-source
    2. apt-get install build-essential
  2. RPM distributions
    1. cd /usr/src
    2. wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-XXXX.tar.bz2 (where XXXX dependant on your release version)


Second step - modify source code

  1. cd /usr/src; bunzip2 linux*.tar.bz2; tar xvf linux*.tar
  2. cd /usr/src/linux-source-xxxx/; cp /boot/config* ./.config
  3. cd drivers/usb/serial/; kwrite option.c ;
  4. add VID/PID to hardware list (see Table 1 below)

 

Third step - recompile and install

  1. cd /usr/src/linux-source-xxx/; make mrproper;
  2. make oldconfig (give default answer to all questions);
  3. make; make install
  4. make modules; make modules_install

 


Table 1. Novatel Wireless modem products identification number.

where vendor=0x1410 product=0x[prodID]

Novatel Modem Model Name Product ID
Merlin U730 and U740(Vodafone) 0x1400
Merlin U740 (non-Vodafone) 0x1410
Merlin XU870 0x1430
Merlin X950D 0x1450
Ovation MC930D
Ovation MC950D
0x4400
Ovation MC990D
MiFi2352, MiFI2372
0x7001

Ovation MC996D
Ovation MC998D

0x7030

Expedite EU740 0x2410
Expedite EU850D/EU860D/EU870D 0x2420