Multi-Tech Systems MT9234MU manual Device Files

Page 32

Appendix B – Linux Installations

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 will 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 will be /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.

32

Multi-Tech Systems, Inc. MT9234MU User Guide (S000409C)

Image 32
Contents MultiMobileUSB Warranty Revision Date DescriptionPatents TrademarksContents Introduction FeaturesProduct Description You Supply Telecom Safety WarningsShipping Package Contents Technical Specifications About AT CommandsSafety CE MarkInstallation SetupUSB Connection Line ConnectionInstall the Modem Driver IntroductionChoose Browse my computer for driver software advanced Select Install this driver software anyway Page Installation of the Modem Page Installing the Modem Driver in Windows Server 2008, XP Installation Page Multi-Tech Systems, Inc. MT9234MU User Guide S000409C Installation Page Click Continue Anyway Configuring the Modem for Your Country Example Country/Region AT Command Country CodeInternet Connection Connecting to the InternetFront Panel Remote Configuration Basic ProcedureChanging the Setup Password Changing the Remote Escape CharacterAppendix a Regulatory Compliance FCC Part 15 Class B StatementsFCC Part 68 Telecom Industry CanadaCanadian Limitations Notice New Zealand Telecom Warning Notice EMC, Safety, and R&TTE Directive ComplianceInternational Modem Restrictions South African Notice Introduction Appendix B Linux InstallationsInstallation in Computers Using the Linux 2.4 Kernel Installation Steps Install the Kernel SourcesCommand Explanation Prepare the Kernel SourcesThis command builds the driver package Build and Install the TI USB Driver from the TGZ Package Load the TI USB DriverDevice Files Uninstalling the TI USB Driver for 2.4 kernel versions CommandInstallation in Computers Using the Linux 2.6 Kernel Prepare the Kernel Sources This command builds the driver package Load the TI USB 3410/5052 Driver Uninstalling the TI USB Driver for 2.6 kernel versions Patching and Rebuilding the Kernel Installing the Hotplug ScriptsInstalling udev Rules Installing the Firmware Images Appendix C Waste Electrical Electronic Equipment Appendix D C-ROHS HT/TS Substance Concentration 依照中国标准的有毒有害物质信息Ascii Conversion Chart Appendix E Ascii ConversionIndex MT9234MU