Appendix B – Installing with Linux
42
Multi-Tech Systems, Inc. MT9234ZBA-USB User Guide
Loading the TI USB Driver
The ti_usb driver should be automatically loaded when you plug in the TI USB 3410 device, provided your device
uses the default vendor and product ids. If it does not, see the section entitled "VENDOR and PRODUCT IDS" in the
Release Notes file for Linux 2.4 kernel installations.
The first TI USB 3410 device plugged in appears as /dev/ttyTIUSB0, the next as /dev/ttyTIUSB1, and so on.
Note that these device names are different from the device names used by the Linux usbserial driver. For more
information, see the following section “Device Files”.
If TI USB devices had been in use before installing the new TI USB driver, old versions of the drivers are still be
loaded. You must unload these old versions before the newly installed driver can be used.
To unload old drivers and load new driver:
1.
Reboot
Or
2.
Close all open TI USB serial ports.
3.
Disconnect the TI USB serial devices.
4.
Unload the old TI USB serial driver with the command
rmmod ti_usb
5.
Reconnect the TI USB serial devices and the new driver is loaded.
Device Files
Because the TI USB driver does not use usbserial (to avoid known problems with usbserial) it uses its own device
file names, /dev/ttyTIUSB0, /dev/ttyTIUSB1, and so on.
The device files are created automatically when the ti_usb driver is loaded. This is done by the module post-
install command in /etc/modules.conf, which runs the script /etc/ti_usb/make_devices.
You can change the device names that ti_usb uses. First you should remove the old device files by running
/etc/ti_usb/make_devices remove
Then edit /etc/ti_usb/make_devices. At the top of this file you find the parameters DEVICE_NAME which
determines the basename of the TI USB device files, DEVICE_COUNT which determines the number of device files
created, DEVICE_GROUP which determines the group owner of the device files, and DEVICE_PERMISSIONS which
determines the device file permissions.
For example, to create 8 TI USB device files named /dev/ttyusb0 through /dev/ttyusb7, owned by the uucp group,
and having permissions 0660, change the parameters like this
DEVICE_NAME=/dev/ttyusb
DEVICE_COUNT=8
DEVICE_GROUP=uucp
DEVICE_PERMISSIONS=0660
After editing make_devices, run the script to create the new device files, like this
/etc/ti_usb/make_devices
If you use devfs, the ti_usb devices are /dev/usb/ti/0, /dev/usb/ti/1, and so on in the order they are plugged in.
The ti_usb driver has not been tested with devfs.