Multi-Tech Systems MT9234ZBA-USB manual Installation Steps, Install the Kernel Sources

Page 34

Appendix D – Linux Installations

2. Installation Steps

Install the Kernel Sources

To build the TI USB driver you must have the matching kernel sources for your kernel.

To verify that you have matching kernel sources, run "uname -r" to get the version of the running kernel. Then check for the directory /usr/src/linux-<version>, /lib/modules/<version>/source, /lib/modules/<version>/build, or /usr/src/linux- <stripped_version>, where stripped_version has the extra version information removed. In these directories look for the files include/linux/autoconf.h and .config.

If you do not find the correct kernel source directory, you must find and install the kernel sources from your distribution CDs or other media.

Prepare the Kernel Sources

This step may or may not be necessary, depending on how your Linux distribution installs the kernel sources.

Log in as root and do the following:

Command

Explanation

 

 

1. cd /usr/src/linux-<version>

Change to the source directory.

 

 

2. make mrproper

Clean up any old files.

 

 

3. Use either of these commands:

Make a configuration file to match your running

 

kernel.

make oldconfig

for Red Hat

-OR-

 

make cloneconfig

for SUSE

 

For other distributions these same commands

 

might work, or you might need to find a config

 

file in /boot or in a configs directory, copy it to

 

.config, and run "make oldconfig".

 

 

4. make dep

Create the dependency and version files.

 

 

If you have built your own kernel, the kernel sources will already be installed and prepared. If you are using a kernel that came with a Linux distribution, it can sometimes be difficult to get the kernel sources correctly installed and prepared, since each Linux distribution handles kernel sources slightly differently.

For example, if you get errors about the wrong kernel version, you may have installed the wrong kernel sources, or you may need to edit the kernel version in the top level Makefile of the kernel sources. If you get compilation errors, perhaps you forgot to run "make oldconfig" and "make dep".

If you have difficulties, look carefully at the error messages when installing the TGZ or RPM packages--those messages should give you an indication of just what the error is.

34

Multi-Tech Systems, Inc. MT9234ZBA-USB User Guide (S000419D)

Image 34
Contents MultiModem ZBA MultiModem ZBA User Guide Contents AT Commands Info Features includePackage Contents Universal Serial Bus USBTechnical Specifications Server-to-Client Data RatesLine Connection Safety Warning TelecomUSB Connection Phone ConnectionInstalling the Modem Driver in Windows Vista Install the Modem DriverIntroduction Choose Browse my computer for driver software advanced Page Installation Installing driver software… screen appears Installation of the Modem Page Installing the Modem Driver in Windows Server 2008,XP,2003 Page Select MT9234ZBA-USB MultiModem Click Continue Anyway Page Page Click Continue Anyway Page Using the Global Wizard to Configure Your Modem Using AT Commands to Configure Your ModemConnecting to the Internet OperationInternet Connection Changing the Setup Password Basic ProcedureSetup Changing the Remote Escape CharacterModem Does Not Respond to Commands None of the Indicators LightModem Dials But Cannot Connect Modem Cannot Connect When Answering Modem Disconnects While OnlineModem Doesn’t Work with Caller ID Fax and Data Software Can’t Run at the Same TimeAppendix a Regulatory Compliance FCC Part 68 TelecomCanadian Limitations Notice FCC Part 15 RegulationIndustry Canada Thailand Approval EMC, Safety, and R&TTE DirectiveInternational Modem Restrictions South African NoticeAppendix B Waste Electrical and Electronic Equipment Appendix C C-ROHS HT/TS Substance Concentration 依照中国标准的有毒有害物质信息Installation in Computers Using the Linux 2.4 Kernel IntroductionInstall the Kernel Sources Installation StepsPrepare the Kernel Sources This command builds the driver package for Build and Install the TI USB Driver from the TGZ Package Load the TI USB DriverUninstalling the TI USB Driver for 2.4 kernel versions Device FilesInstallation in Computers Using the Linux 2.6 Kernel Prepare the Kernel Sources This command builds the driver package for Uninstalling the TI USB Driver for 2.6 kernel versions Load the TI USB 3410/5052 DriverInstalling udev Rules Installation in Computers Using the Linux 2.6.20 KernelInstalling the Hotplug Scripts Patching and Rebuilding the KernelInstalling the Firmware Images Appendix E Ascii Conversion Index Global Wizard