User's Manual

AppendixDInstallingwithLinux
42 MultiTechSystems,Inc.MT9234ZBAUSBUserGuide
PreparingtheKernelSources
Thisstepmayormaynotbenecessary,dependingonhowyourLinuxdistributioninstallsthekernelsources.
Loginasrootanddothefollowing:
Command Explanation
1.cd/usr/src/linux<version> Changetothesourcedirectory.
2.makemrproper Cleanupanyoldfiles.
3.Useeitherofthesecommands:
makeoldconfig
OR‐
makecloneconfig
Makeaconfigurationfiletomatchyour
runningkernel.
forRedHat
forSUSE
Forotherdistributionsthesesamecommands
mightwork,oryoumightneedtofinda
configfilein/bootorinaconfigsdirectory,
copyitto.co
nfig,andrun"makeoldconfig".
4.makeprepare Topreparethekernelsourcesforyour
machine.
Ifyoubuiltyourownkernel,thekernelsourcesarealreadybeinstalledandprepared.
IfyouareusingakernelthatcamewithaLinuxdistribution,itcansometimesbedifficulttogetthekernelsources
correctlyinstalledandprepared,sinceeachLinuxdistributionhandleskernelsourcesslightlydifferently.
Forexample,ifyouge
terrorsaboutthewrongkernelversion,youmayhaveinstalledthewrongkernelsources,
oryoumayneedtoeditthekernelversioninthetoplevelMakefileofthekernelsources.Ifyougeterrorsabout
amissingusbserial.h,youmayonlyhavethekernelheadersinsta
lled.
Ifyouhavetroublegettingthefullkernelsourcesinstalledandprepared,youcancopythecorrectversionofusb
serial.htodrivers/usb/serialinthekern elheadersdirectoryandthentheotherkernelsourcesarenotneeded.
Ifyouhavedifficulties,lookcarefullyattheerrormessageswheni
nstallingtheTGZorRPMpackages.Those
messagesprovideanindicationofwhattheerroris.