Справочник Пользователя для Multitech mt9234zba-usb

Скачать
Страница из 50
 
Appendix B– Installing with Linux  
Multi-Tech Systems, Inc. MT9234ZBA-USB User Guide  
45
 
Building and Installing the TI USB Driver from the Source RPM Package 
Follow this step if your distribution supports RPM packages; otherwise, follow the next step on installing from a 
TGZ package. 
You need the TI USB 3410/5052 source RPM package for this step.  The Introduction section describes where to 
find the latest TI USB 3410/5052 source RPM. 
Log in as root and do the following: 
Command 
Explanation 
1.  
 
rpmbuild --rebuild ti_usb_2.6-X.Y-Z.src.rpm 
-- OR -- 
rpm --rebuild ti_usb_2.6-X.Y-Z.src.rpm 
This command builds the driver package for 
your kernel. 
For Red Hat. 
 
For SUSE. 
2.  
 
cd /usr/src/redhat/RPMS/i386 
-- OR -- 
cd /usr/src/packages/RPMS/i386 
 
 
For Red Hat. 
 
For SUSE. 
Or use the appropriate path for your Linux 
distribution. 
3. rpm -Uvh ti_usb_2.6-X.Y-Z.i386.rpm 
This command installs the driver package. 
 
If there are problems in this process, you may need to go back to install and prepare the kernel sources as 
described above. You may need to remove the RPM package with "rpm -e ti_usb_2.6-X.Y-Z" or remove RPM 
temporary files.  Red Hat stores RPM temporary files in /var/tmp and /usr/src/redhat/BUILD; other distributions 
may store them in other places. 
Building and Installing the TI USB Driver from the TGZ Package 
Follow this step if your distribution does not support RPM packages; otherwise, follow the previous step on 
installing from an RPM package. 
You need the TI USB 3410/5052 tgz package for this step.  The Introduction section above describes where to find 
the latest TI USB 3410/5052 tgz package. 
Log in as root and do the following: 
Command 
Explanation 
1. tar xvzf ti_usb_2.6-X.Y.tgz 
Un-package the files. 
2. cd ti_usb_2.6-X.Y 
 
3. ./configure 
Configure the package for your distribution 
and kernel. 
4. make install 
Build and install the ti_usb_3410_5052 driver. 
 
If there are problems, you may need to go back to install and prepare the kernel sources as described above.