You are on page 1of 7

CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !

"#$$ & '()*+ ",- "$,, 1


Maintenance

1hls gulde prlmarlly perLalns Lo Lhe MalnLenance folder found ln /Cham/LxLra/MalnLenance/ buL also Lo some
general lssues regardlng overall malnLenance of your Pac.
Some c|ean-up:
Cn Lhe rooL of Lhe Cham drlve you wlll flnd a flle named llnlsh". ?ou mlghL recognlze Lhls from Lhe one of Lhe
lnsLallaLlon procedures. 1hls ls a scrlpL used ln Lhe lnsLallaLlon procedure and should nC1 be run agaln! Cnce
an lnsLallaLlon ls compleLed, Lhls flle should be deleLed so LhaL lL ls noL accldenLally run agaln. lf you wanL Lo
save lL somewhere else, LhaL's flne Loo, [usL know lL ls only for a clean lnsLall and noL Lo run lL agaln.

Cham Maintenance

ln prlor verslons of Lhe MammoLh lnsLallaLlon procedures and on lnsLallaLlon medla, Lhe ChamLxLup uLlllLy
was locaLed dlrecLly ln wlLh Lhe /LxLra/ folder lLems such as uSu1.aml, smblos.pllsL, eLc. lor verslon 2.00 Lhere
are several new flles and havlng Lhem ln Lhls same folder would make Lhlngs messy and make mlsLakes easler
Lo make. So ChamLxLup and all Lhe new flles are now ln /Cham/LxLra/MalnLenance/.
ChamLxtUp
lor Lhose famlllar, wlLh ChamLxLup, Lhere has been no change oLher Lhan lL now resldlng ln Lhe new
MalnLenance folder. 1here ls a new uLlllLy called ChamLxLCpen, buL LhaL ls dlscussed below.
lf you are new Lo Lhe MammoLh lnsLallaLlon MeLhod, Lhere ls more lnformaLlon ln Lhe 1echnlcal Culde abouL
ChamLxLup, so be sure Lo check lL ouL.
8aslcally, ChamLxLup allows us Lo place any Lhlrd-parLy or modlfled kexL flles ln Lhe /Cham/LxLra/LxLenslons/
folder raLher Lhan /SysLem/Llbrary/LxLenslons/. 1hls allows us Lo keep our /S/L/L/ folder clean, and ls a loL
easler Lo manage and work wlLh kexL flles.


CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !"#$$ & '()*+ ",- "$,, 2
ChamLxtCpen
ChamLxLCpen ls a new uLlllLy LhaL allows you Lo easlly make changes Lo any kexL flle ln Lhe
/Cham/LxLra/LxLenslons/ folder. lor example lf you wanL Lo change Lhe Label Color of a flle, [usL launch
ChamLxLCpen, Lhen you can make Lhe changes. ?ou can also use Lhls Lo edlL and remove flles. 8e sure noL Lo
forgeL Lo launch ChamLxLup once flnlshed maklng your changes.
lf Lrylng Lo add, replace, or change a flle ln /Cham/LxLra/LxLenslons/ and you geL an error such as: .you don'L
have permlsslon Lo.", Lhls ls when you use ChamLxLCpen Lo glve you permlsslons. AfLer uslng ChamLxLCpen,
don'L forgeL Lo use ChamLxLup agaln when flnlshed maklng changes.

CnANGL_LCG
Change_Log ls a slmple LexL flle Lo allow you and easy way Lo make noLes on changes you make Lo your
sysLem, especlally changes on your Cham drlve, buL any changes aL all. 1hls can really help you when Lhlngs go
wrong and you oLherwlse mlghL noL remember whaL you changed. lL's very useful for Lhose Llmes when
everyLhlng seems flne, Lhen a monLh or Lwo laLer you flnd someLhlng LhaL used Lo work no longer does. ?ou
can check and see whaL you mlghL have changed LhaL caused lL.
Cham_DVx_INIC_v.kk.kLSk
Cham_uvx_lnlC keeps Lrack of all of Lhe lmporLanL flles needed Lo make your Pac work. 1hls ls a MlcrosofL
Lxcel spreadsheeL flle, so you wlll need MlcrosofL Lxcel (or oLher compaLlble appllcaLlon) Lo be able Lo open
and work wlLh Lhls flle. lL conLalns ALL Lhe kexL flle lnfo such as slze, daLe, and verslon numbers (where
appllcable), so LhaL you can keep Lrack of when a flle has been updaLed, or how old Lhe flle ls.
Whlle Lhls glves you a good sLarLlng polnL, lL wlll be up Lo you Lo keep Lhls up Lo daLe as flles are added,
removed, or updaLed. keeplng Lhls up Lo daLe wlll really help Lo be able Lo qulckly deLermlne lf a flle you flnd
on Lhe neL ls older, newer, or Lhe same as Lhe one you already have.
LNA8LLAUIDC
.)/01+2 2/ 3/0 43 5(6207 (78 '(99/2+:

1hanks Lo Lhe wonderful conLrlbuLlon by 1apLun, we have Lhls llLLle gym. AnyLlme you updaLe Lo a new Apple
CS x olnL 8elease (such as 10.6.7, 10.6.8, eLc.), launch Lhls scrlpL Al1L8 Lhe updaLe ls compleLe buL 8LlC8L
you rebooL! 1hls wlll ensure your audlo wlll always conLlnue Lo work afLer Lhese updaLes.
lL ls Lhls conLrlbuLlon by 1apLun LhaL made lL posslble for me Lo come up wlLh a way Lo make our audlo work
durlng Lhe lnsLallaLlon (whlch ls someLhlng l always wanLed because lL makes lL LhaL much closer Lo an acLual
Mac). 1hanks 1apLun for Lhls! : )
CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !"#$$ & '()*+ ",- "$,, 3
nC1L: lf you rename your CS x parLlLlon Lo anyLhlng oLher Lhan MaclnLosh Pu", you wlll need Lo updaLe Lhls
ln LnableAudlo or lL wlll nC1 work Lhe nexL Llme you use lL. 1hls ls slmple Lo do, [usL use 1exLLdlL Lo open Lhe
flle and make Lhe change Lhere.

Troubleshooting
lf you ever have Lroubles wlLh Lhe LAn or audlo noL worklng, Lhere are a few slmple Lhlngs you can do LhaL wlll
probably flx Lhese lssues, especlally lf Lhey are boLh occurrlng aL Lhe same Llme.

1hese same sLeps llsLed below should also be followed lf you are suddenly experlenclng sysLem freezes".
Pere are some of Lhe ways Lhls can happen:
1) 8ooLlng ln Safe Mode
2) SwlLchlng ouL hard drlves wlLh dlfferenL lnsLallaLlons of CS x on Lhem
3) SysLem changes
4) Crashes / lock-ups
lollowlng are Lhe sLeps you should Lry Lo Lake, ln an orderly fashlon, Lo resolve Lhese lssues:
1) lf you have added or removed a kexL Lo /C/L/L/, you musL always launch ChamLxLup, and Lhen resLarL
Lo see Lhe changes.
a. lf changes dld noL seem Lo Lake affecL, Lhen you musL follow Lhe rouLlne of sLeps 2 Lhrough 4:
2) llrsL, run llx agalnsL Lhe rooL (/) parLlLlon
3) Second, perform a 8epalr ulsk ermlsslons" on your CS x drlve
4) 8esLarL.

8CC1lnC CPAMLLLCn
lf aL any Llme you are havlng problems and would llke Lo have Lhe Chameleon booL lnfo pause whlle booLlng
up so you can read lL, Lhere ls a seLLlng ln Lhe com.apple.8ooL.pllsL you can seL for Lhls. !usL change Lhe WalL"
enLry Lo ?es".





CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !"#$$ & '()*+ ",- "$,, 4
Kernel Extensions

lollowlng ls a brlef descrlpLlon of Lhe kexL flles found ln /Cham/LxLra/LxLenslons:

IakeSMC.kext ;60)6<= <(4=<>
lakeSMC has been greaLly expanded and a loL of developmenL ls under way for lL. lakeSMC ls Lhe prlmary
componenL needed Lo make a Pac appear llke a Mac Lo CS x. 8ead more abouL lakeSMC ln Lhe 1echnlcal
Culde.
lollowlng are Lhe flles ln /Cham/LxLra/LxLenslons/ perLalnlng Lo lakeSMC:
o lakeSMC.kexL
1he followlng are lakeSMC relaLed plug-lns
o AClMonlLor.kexL
o lnLelCuMonlLor.kexL
Cu 8elaLed:
o nvClockx.kexL
o 8adeonMonlLor.kexL
o x3100.kexL

uependlng on wheLher you have an nvldla, A1l, or lnLel Cu, wlll deLermlne whlch one of Lhese
you would copy Lo Lhe /C/L/L/ folder lf you wanLed Lo experlmenL wlLh Lhls funcLlonallLy.
lease see Lhe 1echnlcal Culde for more lnfo on lakeSMC.

App|eACI8atteryManager.kext ;/)(71= <(4=<>
.)/01+2 2/ 0? 43 @?<3:
1hls ls Lhe baLLery manager LhaL Csly has creaLed and provlded Lo us. lL ls much beLLer for our sysLems Lhan
Lhe voodoo8aLLery.kexL LhaL has caused us so much Lrouble. Csly ls sLlll worklng on lL, buL l would say lL's
abouL 93 Lhere and works C8LA1 as lL ls. 1hls ls whaL glves us Lhe baLLery lcon we see ln Lhe Lop Menu 8ar.

Gener|c8r|ghtness.kext ;A=<</B <(4=<>
.)/01+2 2/ 0? 43 CDEF7 (78 D!FG:
rovldes us full conLrol over lnLernal dlsplay brlghLness. lor more lnformaLlon on Lhls, please vlslL Lhls Lhread:
hLLp://www.lnsanelymac.com/forum/lndex.php?showLoplc=236833
CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !"#$$ & '()*+ ",- "$,, 3


LegacynDA.kext ;4<0= <(4=<>
.)/01+2 2/ 0? 43 5(6207:
LegacyPuA.kexL (plus Lhe perl command) provlded by 1apLun glves us rellable audlo, even afLer updaLes.

kea|tekk1000SL.kext ;1)==7 <(4=<>
1hls ls whaL provldes us our worklng, lnLegraLed 8eal1ek nlC. 1here ls more lnfo ln Lhe 1echnlcal Culde.

VoodooS2Contro||er.kext ;)=8 <(4=<>
1hls provldes us our worklng lapLop keyboard, Lrackad, and ablllLy Lo connecL uS8 based mlce. now l know l
sald aL one polnL Lhls release was golng Lo be wlLh no voodoo anyLhlng", yeL here ls a voodoo someLhlng, buL
l messed around wlLh Lhls and oLher kexLs for a long Llme. 1he resulLs were, uslng Lhls kexL (plus lL's 3 plug-
lns), [usL plaln worked Lhe besL aL all Llmes (durlng lnsLallaLlon and afLerwards) Anu causes no problems
whaLsoever. So ln Lhe end, l'm always golng Lo go wlLh whaL l flnd works besL, and for now, Lhls ls lL.

10de_0a28.rom
WhaL ls Lhls 10de_0a28.rom flle abouL? 1hls ls a 8CM lmage flle of Lhe uv8's nvldla C1 230M vldeo 8lCS. lL ls
needed ln order Lo work wlLh lakeSMC. 1he flrsL seL of hex numbers are Lhe vendor lu, Lhe second ls Lhe
uevlce lu. 1hls ls Lhe correcL namlng convenLlon requlred for lL Lo be loaded uslng nvClockx.kexL. ln
com.apple.8ooL.pllsL, ln order for Lhe 8CM flle Lo be loaded, you musL seL usenvldla8CM = ?es, and
CraphlcsLnabler = ?es.
Powever, whlle l was able Lo geL Lhe 8CM flle Lo aLLempL Lo load, whlch ln and of lLself ls a mllesLone, lL falls
and l'm noL exacLly sure why. lL may be LhaL due Lo our sysLem's archlLecLure, we won'L be able Lo load lL, or
Lhe 8CM flle l creaLed uslng A1?_lnlL has a problem. 1he 8CM dump Lo flle can also be creaLed (and probably
beLLer) by uslng AluA64 (formally known as LversL): hLLp://www.lavalys.com/. So lf someone Lrles Lhls, maybe
we can flnally geL lL load, whlch ls supposed Lo glve us monlLorlng of Cu fan and Lemp lnformaLlon. Agaln,
Lhls wlll requlre some research and work.
lease be sure Lo check ouL Lhe lakeSMC secLlon of Lhe 1echnlcal Culde for more lnfo.



CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !"#$$ & '()*+ ",- "$,, 6
Booting Kernel Versions

ln prevlous MammoLh verslons, l dld someLhlng l shouldn'L have, buL have correcLed lL for v2.00. l would Lake
whaLever chocolaLe kernel we were uslng and rename lL Lo mach_kernel. l dld Lhls [usL because lL was qulck
and easy and dldn'L requlre changes Lo com.apple.8ooL.pllsL, however, Lhls ls noL a good pracLlce. ln CS x,
mach_kernel" should ALWA?S refer Lo an orlglnal vanllla Apple kernel. So our chocolaLe 10.6.6 kernel ls
named LapLun1066_kenel. 1hls ls greaL because we know who creaLed our kernel, and whaL verslon of CS x lL
ls for. 1here ls no quesLlon abouL Lhe verslon and we can see lL [usL by looklng aL Lhe flle name. l provlde a
command ln Lhe 1echnlcal Culde LhaL wlll check Lhe kernel verslon from an operaLlng sysLem perspecLlve (you
can verlfy Lhe kernel verslon number Lhls way).
WhaL's nlce ls Lhe orlglnal vanllla 10.6.3 mach_kernel ls also ln Lhe / (rooL) folder. ?ou can sLlll booL uslng Lhe
vanllla kernel, buL you musL Lhen booL wlLh Lhe booL flag: cpus=1
Powever, Lhere ls no need Lo booL wlLh Lhe mach_kernel 10.6.3 as we now have a chocolaLe 10.6.3 kernel,
LapLun1063_kernel.
As we move Lo newer kernels (as we soon wlll wlLh 10.6.7), all we have Lo do ls aL lL Lo /", change Lhe name
(such as LapLun1067_kernel), and seL permlsslons. Cf course, we musL make Lhls change ln
com.apple.8ooL.pllsL also, buL LhaL wlll be as slmple as changlng a 6 Lo a 7, a no bralner.
1hls way, we wlll always have access Lo Lhe varlous kernel verslons (for any regresslon LesLlng, or should Lhe
kernel become corrupLed), and we don'L have Lo worry abouL deleLlng Lhe old ones. lL's a very nlce slmple
soluLlon, and provldes us Lhe mosL opLlons and flexlblllLy.











CS x / Wln 7 on P uvx avlllon LapLops - 9 MalnLenance" - by MammoLh - !"#$$ & '()*+ ",- "$,, 7
Version History

v2.00
lnlLlal 8elease

You might also like