User's Manual

AppendixDInstallingwithLinux
40 MultiTechSystems,Inc.MT9234ZBAUSBUserGuide
DeviceFiles
BecausetheTIUSBdriverdoesnotuseusbserial (toavoidknownproblemswithusbserial)itusesitsowndevice
filenames,/dev/ttyTIUSB0,/dev/ttyTIUSB1,andsoon.
Thedevicefilesarecreatedautomaticallywhentheti_usbdriverisloaded.Thisisdonebythemodulepost
installcommandin/etc/modules.conf,whichrunsth
escript/etc/ti_usb/make_devices.
Youcanchangethedevicenamesthatti_usbuses.Firstyoushouldremovetheolddevicefilesbyrunning
/etc/ti_usb/make_device sremove
Thenedit/etc/ti_usb/mak e_devices.AtthetopofthisfileyoufindtheparametersDEVICE_NAMEwhich
determinesthebasenameoftheTIUSBdevicefiles,DEVICE_COUNTwhichde
terminesthenumberofdevicefiles
created,DEVICE_GROUPwhichdeterminesthegroupownerofthedevicefiles,andDEVICE_PERMISSIONSwhich
determinesthedevicefilepermissions.
Forexample,tocreate8TIUSBdevicefilesnamed/dev/ttyusb0through/dev/ttyusb7,ownedbytheuucpgroup,
andhavingpermissions0660,changetheparameterslikethis
DEVICE_NAME=/dev/ttyus
b
DEVICE_COUNT=8
DEVICE_GROUP=uucp
DEVICE_PERMISSIONS=0660
Aftereditingmake_devices,runthescripttocreatethenewdevicefiles,likethis
/etc/ti_usb/make_device s
Ifyouusedevfs,theti_usbdevicesare/dev/usb/ti/0,/dev/usb/ti/1,andsoonintheordertheyarepluggedin.
Theti_usbdriverhasnotbeentestedwithdevfs.
UninstallingtheTIUSBDriver(for2.4kernelversions)
IfyouinstalledtheTIUSBRPMpackage,youcanuninstallitbylogginginasrootandrunningthecommand
rpm‐eti_usbX.YZ
IfyouinstalledtheTIUSBTGZpackage,youcanuninstallitbylogginginasrootandrunningthefollowingcommands:
Command Explanation
cdti_usbX.Y Giveafullorrelativepathtotheunpacked
sourcefiledirectory.
makeuninstall