User's Manual

Appendix B – Linux Installations
34 Multi-Tech Systems, Inc. MT9234MU User Guide (S000409C)
Installation in Computers Using the Linux 2.6
Kernel
Introduction
This procedure applies to Linux 2.6 kernel versions 2.6.8 through 2.6.10.
These tgz and source RPM packages (ti_usb_2.6-1.2.tgz and ti_usb_2.6-1.2-1.src.rpm) contain a device
driver for the MT9234MU’s TI USB 3410 processor in the Linux 2.6 kernels.
These packages have been tested on the Fedora Core 2 Linux distribution.
Most likely these packages will work on many other Linux distributions based on the 2.6 kernels, but this
has not yet been tested. Note that different distributions can make custom changes to the Linux kernel,
and there is a small chance that these changes might be incompatible with this package.
The TI USB 3410/5052 driver has been tested in the kernel.org kernels 2.6.5 through a pre-release
version of 2.6.10, and in the Fedora Core 2 kernels 2.6.5-1.358 and 2.6.9-1.6. There are limitations in
kernels before 2.6.8; see the section on Known Limitations in the Release Notes file for kernel 2.6 (the file
name is ti_usb_2 6_release_notes-1 2.txt and it is on the product CD).
These packages will not work in the Linux 2.4 kernels (however, installation in the 2.4 kernels is covered
earlier in this chapter).
These packages are available from http://www.brimson.com/downloads
The tgz package will be named ti_usb_2.6-X.Y.tgz, and the source RPM package will be named
ti_usb_2.6-X.Y-Z.src.rpm, where X.Y-Z is the version number. See
www.brimson.com/downloads/README for a description of the packages available.
If you have questions or problems with this package, please contact Texas Instruments technical support
or Brimson technical support.
Installation Steps
Install the Kernel Sources
To build the TI USB driver you must have the matching kernel sources for your kernel.
In particular, you must have the file usb-serial.h for your kernel sources. Sometimes Linux distributions
will include the kernel headers but not the complete kernel sources, and usb-serial.h will be missing.
However, the complete kernel sources should still be available as a separate add-on package.
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, .config, and
drivers/usb/serial/usb-serial.h.
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.