AppendixB–InstallingonLinux
42 Multi‐TechSystems,Inc.MT9234MUUserGuide
DeviceFiles
BecausetheTIUSBdriverdoesnotuseusbserial (toavoidknownproblemswithusbserial)itusesitsowndevice
filenames,/dev/ttyTIUSB0,/dev/ttyTIUSB1,andsoon.
Thedevicefilesarecreatedautomaticallywhentheti_usbdriverisloaded.Thisisdonebythemodulepost‐
installcommandin/etc/modules.conf,whichrunsthescript/etc/ti_usb/make_devices.
Youcanchangethedevicenamesthatti_usbuses.Firstyoushouldremovetheolddevicefilesbyrunning
/etc/ti_usb/make_devicesremove
Thenedit/etc/ti_usb/mak e_devices.Atthetopofthisfileyoufindtheseparameters:
● DEVICE_NAMEwhichdeterminesthebasenameoftheTIUSBdevicefiles.
● DEVICE_COUNTwhichdeterminesthenumberofdevicefilescreated,DEVICE_GROUPwhichdeterminesthe
groupownerofthedevicefiles.
● DEVICE_PERMISSIONSwhichdeterminesthedevicefilepermissions.
Forexample,tocreate8TIUSBdevicefilesnamed/dev/ttyusb0through/dev/ttyusb7,ownedbytheuucp
group,andhavingpermissions0660,changetheparameterslikethis
DEVICE_NAME=/dev/ttyusb
DEVICE_COUNT=8
DEVICE_GROUP=uucp
DEVICE_PERMISSIONS=0660
Aftereditingmake_devices,runthescripttocreatethenewdevicefiles,likethis
/etc/ti_usb/make_devices
Ifyouusedevfs,theti_usbdevicesare/dev/usb/ti/0,/dev/usb/ti/1,andsoonintheordertheyarepluggedin.
Theti_usbdriverhasnotbeentestedwithdevfs.