Next Previous Contents

2. Prin arxisete

2.1 Eisagwgh

Ayto to keimeno prospa8ei na sas boh8hsei na egkatasthsete thn Sound Blaster AWE 32 h thn Sound Blaster AWE 64 ths Creative Labs sto Linux susthma sas. To susthma anaforas einai ena GNU/Linux Debian GNU/Linux se platforma Intel i586 , alla 8a prepei na doyleuei kai gia ka8ebut allh dianomh Linux ka8ws kai platforma poy yposthrizetai apo ton driver hxoy toy Linux (oi diafores anaferontai opoy kai an yparxoyn).

Bebaiw8eite pws diabasate to Linux Sound HOWTO (des Epipleon Plhrofories) prosektika. 8ewrw to keimeno moy ws symplhrwmatiko toy Sound HOWTO, kai syxna 8a breite ekei, perissoteres plhrofories gia pragmata poy exw afhsei ektos.

2.2 Merikes genikes shmeiwseis gia tis kartes SB AWE

H karta hxoy SB AWE 32 parexei ena raw audio device, klassiko sun8esh OPL-2/OPL-3 ,mia 8ura MPU-401 MIDI kai 32 fwnes EMU 8000 me Sun8esh Pinaka Kymatomorfwn (gia mia ejhghsh panw se aytous alla kai alloys oroys deite to Linux Sound HOWTO). Enas apo toys skopous aytou toy keimenoy einai na sas boh8hsei wste na kanete ola ayta ta xarakthristika na doyleuoyn swsta.

H SB AWE 64 exei tis dynatothtes ths SB AWE 32 kai epipleon thn sun8esh Wave Guide gia thn opoia h Creative Labs einai perhfanh. To problhma gia toys xrhstes toyLinux einai, pws oi epipleon 32 fwnes dhmioyrgountai apo logismiko kai dinoyn ejodo mesw twn raw wave devices. Epeidh h Creative Labs den blepei emporiko endiaferon gia Linux drivers, o driver hxoy Wave Guide synthesis einai dia8esimos mono gia ta Windows 3.1 kai ta Windows 95.

Ayto shmainei pws, apo thn skopia toy xrhsth Linux, h SB AWE 32 kai h SB AWE 64 einai sxedon isodunames. Apo twra kai sto ejhs, 8a anaferomai mono sthn SB AWE genika kai 8a anaferw mono diafores opoy emfanizontai (an yparxoyn).

2.3 Merikes genikes shmeiwseis gia tis Plug and Play kartes

Oi perissoteres monternes kartes gia thn platforma ths Intel einai ISA PnP kartes, poy einai h suntmhsh gia to``Plug and Play''. Ayto shmainei, pws h karta prepei na ry8mistei apo to leitoyrgiko susthma, kai pws ayto prepei na ginei mesw mias diadikasias arxikopoihshs kata thn ekkinhsh. Genika, yparxoyn toylaxiston treis dynatoi tropoi na ginei ayto:

  1. Dia8etete ena PnP Bios, pragma poy shmainei pws to Bios sas einai enhmero gia tis PnP kartes kai mporei na tis ry8misei. An nomizete pws mporeite na xrhsimopoihsete ola ta xarakthristika ths SB AWE PnP sas,, apla kai mono epeidh exete ena PnP Bios, eiste atyxoi. Akoma kai an to Bios isxyrizetai pws yposthrizei kartes PnP arxikopoiei mono ena yposunolo twn 8yrwn kai diey8unsewn poy xrhsimopoiountai apo thn karta hxoy sas. To pio pi8ano einai pws 8a mporeite na paizete dedomena raw wave, alla den 8a mporeite na paizete moysikh MIDI, gia paradeigma. Gia ayto to logo, ena PnP Bios den einai h epilogh sas.
  2. Dia8etete leitoyrgiko susthma poy yposthrizei kartes PnP. O trexwn sta8eros pyrhnas Linux kernel (2.0.x) den einai ena tetoio leitoyrgiko opote 8a prepei na perimenoyme mellontikes ekdoseis toy pyrhna, ,poy 8a yposthrizoyn syskeyes PnP.
  3. Dia8etete kapoio eidiko programma, poy jekinaei kata thn ekkinhsh, kai arxikopoiei tis kartes PnP. Aytos einai o tropos poy to kanoyme.

To syxnotera xrhsimopoioumeno logismiko arxikopoihshs PnP kartwn se Linux einai ta ``isapnptools'' (des tmhma Phges kai tmhma Arxizontas). Parexoyn enan ka8orismeno tropo ru8mishs olwn twn kartwn ISA PnP sthn mhxanh sas, kai oxi mono ths kartas hxoy.

2.4 Merikes genikes shmeiwseis gia ta loadable kernel modules

Merikoi device drivers mporoun na xtistoun san modules anti na ginoyn compile ston pyrhna. Mporeite na breite perissoteres plhrofories gia modules sto Kernel HOWTO kai to Module HOWTO (des tmhma Epipleon Plhrofories).

An exete mia PnP karta, prepei na egkatasthsete thn yposthrijh hxoy san ena loadable kernel module. Ayto shmainei pws den mporeite na xtisete ton driver hxoy ston pyrhna, alla 8a prepei na to xtisete ws module poy mporei na fortw8ei apo ton pyrhna kata thn ektelesh. Ayto ginetai epeidh o pyrhnas prepei na fortw8ei prin oi ISA PnP ry8mistoun , kai o driver hxoy prepei na fortw8ei afou ry8mistei h ISA PnP karta.

To module hxoy mporei na fortw8ei xeirokinhta me insmod sound h modprobe -a sound h to katallhlo script ekkinhshs toy Linux (sto Debian, arkei na pros8esete mono mia grammh poy na grafei sound sto /etc/modules). Mia allh proseggish einai na shkwsete to kerneld, ena daimona poy egka8ista kai apegka8ista modules pyrhna.

Shmeiwste pws o kerneld mporei na mhn einai h katallhloterh lush gia to module hxoy ths AWE, epeidh pairnei xrono na fortwsei to module ston pyrhna, eidika an 8elete na xrhsimopoihsete sun8esh Wave Table kai na fortwsete megales trapezes deigmatwn hxwn, pragma to opoio 8a prepei na kanete ka8e fora afou shkwsete to module. Epeidh o kerneld diwxnei ta axrhsimopoihta modules meta apo ena lepto apo default, einai isws kalutero na eisagete to module hxoy xeirokinhta h kata thn ekkinhsh.

Shmeiwste pws eisagontas to module hxoy xeirokinhta h kata thn ekkinhsh apagoreuei ston pyrhna na to apomakrunei otan ayto einai anenergo. Parempiptontws: Mporeite xeirokinhta na eisagete to module hxoy kai na xrhsimopoihsete ton kerneld taytoxrona. Aytes oi duo me8odoi den sygkrouontai, alla apla o kerneld den noiazetai pleon gia to module toy hxoy.

Ayto einai polu xrhsimo an oi ry8miseis toy mixer sas xalane meta thn apomakrynsh kai epaneisagwgh toy module. Mia lush gia ayto to problhma 8a do8ei sto tmhma Mijh (ekei perigrafetai pws mporeite na arxisete ton mixer sas aytomata otan to module hxoy eisagetai). Parola ayta, pairnei xrono ston kerneld na fortwsei to module, tis trapezes hxwn kai na arxisei ton mixer, kai gi'ayto kai alloys logoys einai kalutero na eisagete to module hxoy kata thn ekkinhsh kai na mhn afhnete ton kerneld na to apomakrunei.

2.5 Merikes genikes shmeiwseis gia ton driver hxoy toy pyrhna

Mporeite na egkatasthsete yposthrijh hxoy enswmatwmenh ston pyrhna h san loadable module. An exete mia karta PnP card,8a prepei na egkatasthsete thn yposthrijh san module, epeidh h karta PnP xreiazetai na arxikopoih8ei me ta isapnptools prin to module egkatasta8ei..

Opws mporeite na fantasteite, 8a prepei na kanete jana compile ton pyrhna. 8a sas dwsw merikes symboyles gi' ayto parakatw. Pros to paron, as milhsoyme gia thn yposthrijh hxoy ston kwdika toy pyrhna. O pyrhnas erxetai me thn Dwrean Lite Ekdosh toy OSS (USS) driver hxoy. H trexoysa ekdosh aytou toy driver (3.5.4) den yposthrizei plhrws thn SB AWE, alla to SB 16 kommati ths. Etsi, mporeite na exete raw audio device kai sun8esh OPL-2/OPL-3 an thn xrhsimopoieite, alla den 8a eisaste se 8esh na paizete MIDI me sun8esh Wave Table.

An 8elete na xrhsimopoihsete to Wave Table device, mporeite h na agorasete ton emporiko driver hxoy apo thn 4Front Technologies (kapoios as moy epibebaiwsei pws ontws doyleuei, parakalw), h na kanete patch ton pyrhna sas me to AWE 32 Sound Driver Extension toy Takashi Iwai. To prwto einai ejw apo toys skopous toy keimenoy kai ypo8etw pws 8a 8elhsete na xrhsimopoihsete to deutero.

To AWE32 Sound Driver Extension (des enothta ` Phges) bgainei katw apo adeia xrhshs GNU kai erxetai me ena plh8os ergaleiwn gia na kanei xrhsh ths sun8eshs EMU 8000 twn kartwn SB AWE.

To logismiko awedrv hdh symperilambanetai sta dentra kwdika twn neoterwn pyrhnwn (arxizontas apo kapoioys pyrhnes 2.1.x) alla isws 8a 8elete na anaba8misete ton kwdika toy paliou sas pyrhna poy mporei na einai palio.


Next Previous Contents