Appendix D – Linux Installations

Installation in Computers Using the Linux 2.6.20 Kernel

1. Introduction

This procedure applies to Linux 2.6 kernel versions 2.6.11 through 2.6.20 and higher.

This tgz package contains a patch for the Linux kernel version 2.6.20 and later to add support for Multi-Tech modems. The patch was generated from the 2.6.20.4 kernel source. Additional support files like hotplug scripts, udev rules and firmware images are also included.

The TI USB 3410/5052 driver should be included in the official Linux kernel in version 2.6.20 or later. The official Linux kernel does not yet have support for the Multi-Tech modems, however; to add that support you need this package.

This package has been tested on these Linux distributions: (a) Fedora Core 6, and (b) CentOS 5.

Most likely this package 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.

These packages are available from http://www.brimson.com/downloads

If you have questions or problems with this package, please contact Texas Instruments technical support or Brimson technical support.

2. Installation Steps

Patching and Rebuilding the Kernel

Apply the patch ti_usb_multitech_2.6.20.4.patch. This patch should apply to 2.6.20.4 and later kernels. Then rebuild and reinstall your kernel and/or kernel modules. Be sure the TI USB driver is configured on.

Detailed instructions on patching and building a kernel can be found elsewhere.

Installing the Hotplug Scripts

The ti_usb_3410_5052 driver needs a hotplug script to work correctly. This hotplug script is used to change the device configuration.

Copy ti_usb_3410_5052 to /etc/hotplug/usb/ti_usb_3410_5052. Be sure the script is owned by root:root and has permissions r- xr-xr-x.

If the device configuration is not being set properly, you might need a slightly different hotplug script, depending on your Linux distribution. If this does not work, remove /etc/hotplug/usb/ti_usb_3410_5052 and instead copy /etc/ti_usb/ti_usb_3410_5052.hotplug into /etc/hotplug.d/usb.

Some distribution have deprecated hotplug scripts. If this is the case, you will most likely need a udev rule to perform this function.

Installing udev Rules

The ti_usb_3410_5052 driver needs a udev rule to work correctly. This udev rule is used to change the device configuration.

Copy 25_ti_usb_3410_5052.rule to /etc/udev/rules.d. Be sure the rule is owned by root:root and has permissions r-xr-xr-x.

If the device configuration is not being set properly, you might need a slightly different udev rule, depending on your Linux distribution.

Note: This is only needed if firmware is not built into the driver.

42

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

Page 42
Image 42
Multi-Tech Systems MT9234ZBA-USB Installation in Computers Using the Linux 2.6.20 Kernel, Installing the Hotplug Scripts