快速安裝OOS(開放的聲卡系統)指南
IMPORTANT! Do not remove any OSS files if you are upgrading from an earlier Open Sound System version. The upgrade procedure requires that all files from the previous Open Sound System installation are in their place.
重要提示:如果你是從更早版本的OOS中升級,一定不要刪除任何一個文件。因為升級時需要這些文件呆在原位上。
You should have three files in this Directory:
你可以在這個目錄下看到三個文件:
INSTALL (this file)
INSTALL:安裝指南,就是這個文件!
oss-install The installation program
oss-install:安裝主文件
oss.pkg A data file containing the software to be installed.
oss.pkg:OSS包含的數據文件
To install the OSS software you should perform the following steps:
安裝OSS軟件你需完成以下幾個步驟:
1) OSS cant be installed if there is a sound driver already loaded. The easiest way to verify this is to execute cat /dev/sndstat. If it prints out information about sound drivers, it means you have some driver installed.
1)如果在你的系統中已經裝載了聲卡驅動程序,OSS將不能正常安裝。你可以執行 cat /dev/sndstat命令檢查你的系統中是否已經安裝了聲卡驅動程序。如果這個命令打印出一些關於聲卡的驅動程序信息,就意味著你安裝了聲卡驅動程序。
a) If you have earlier version of Open Sound System installed you should unload it using "soundoff" before proceeding. However you _DO NOT_ need to remove the existing driver files since the installation automaticly updates (only) the required parts.
a)如果你已經安裝了早期版本的OSS,你可以使用soundoff 將OSS從你正在運行的系統中unload掉。但你不能將OSS中的已存在的驅動程序文件面面刪掉!因為在升級時,需要這些文件。
b) There is a sound driver compiled in the kernel (not as a loadable module). In this case you have to reconfigure and recompile the kernel so that there is no sound driver included. Dont forget to boot with the newly compiled kernel before proceeding.
This only affects Linux,FreeBSD, SCO OpenServer, UnixWare and BSD/OS versions of OSS.
b)如果你有一個聲卡驅動程序編譯在內核中,你就必需重新配置再重新編譯內核以確保不包含聲卡驅動程序。做完後別忘了用新的內核重新引導系統。這一點針對的是Linux,FreeBSD, SCO OpenServer, UnixWare and BSD/OS版本的OSS軟件。
NOTE FOR LINUX USERS:
In the event that your sound driver is a loadable kernel module,
you should unload the sound module before proceeding with the OSS installation.
Execute "rmmod sound" and ensure that the module is not reinstalled during next boot or by kerneld.
The easiest way to do this is to remove all "sound.o" files from the subdirectories of /lib/modules.
LINUX用戶請注意:
如果在你的系統中,內核已裝載了驅動程序,你必須unload掉這個聲卡模塊才能安裝OSS,執行rmmod sound,然後確認這個模塊不會在重新啟動時被裝入。一種簡單的方法就是直接移去/lib/modules中所有sound.o文件。
2) Execute the installation program (./oss-install). This must
be done when logged on as root (dont use "su"). The installation
procedure is described below.
2)執行安裝程序:./oss-install。要注意的是:執行這個命令必須以root登錄,而不能是用su命令進入root!具體安裝如下:
If you get error "./oss-install: No sUCh file or directory" please verify that you are trying to install proper OSS/Linux installation package. There are different packages available for both the "traditional" libc/libc5 and the new
glibc/libc6 version (for example RedHat 5.x, SuSE 6.x and later).
如果你在安裝的過程中遇到錯誤:"./oss-install:No such file or directory",請檢查你是否選擇了正確的安裝包。因為有供不同libary使用的版本。
In Linux its possible that oss-install complains something like
"Error opening terminal: linux".
在LINUX中,可能會出現oss-install提示象:"Error opening terminal:linux"的錯誤。
This may happen because there are two different versions of the curses library.
這種情況的發展是原因在你的系統中有兩個版本的library。
You may also try setting the TERM environment variable to vt100.
你也可以嘗試有vt100的終端進行設置。
3) After installation is complete, you can start the driver by
executing "soundon".
To stop the driver use "soundoff". These files are found in the directory where OSS is installed and in some systems they can be found in /usr/local/bin.
When you need to change configuration of the driver, you an do it by executing "soundconf" in the directory
where you installed OSS (usually /usr/lib/oss).
3)當安裝完成時,你可以執行soundon來啟動OSS聲卡驅動程序,用soundoff來中止OSS聲卡驅動程序。這些文件可以在OSS安裝後的目錄或/usr/local/bin目錄下找到。當你需要改變這個驅動程序的配置時,你可以執行soundconf,這個文件也在你安裝OSS的目錄下(通常是/usr/lib/oss)。
Selecting the right OSS/Linux installation package (Linux only)
---------------------------------------------------------------
正確地選擇OSS/Linux安裝包(僅限Linux)
Due to differences between kernel versions there are 8 different
OSS/Linux installation packages downloadable from our web site.4 of them are for systems using the traditional libc and the last 4
ones are for new glibc/libc6 library (RedHat 5.x and later, SuSE 6.x
and later and probably all Linux 2.2.x based distributiins).
對應不同的內核,OSS共有8種不同的安裝包以供下載。其中有四種是用於傳統的library,其余四種是用於新的glibc/libc6(RedHat 5.x以後版本,SuSE 6.x以後版本以及絕大部分基於linux 2.2.x核心的發行版本。
Linux 2.0.x
This is the "normal" version which should be used together with all kernels between 2.0.0 and 2.0.36 compiled with uniprocessor support(the default case).
Linux 2.0.x:標准版本,支持Linux 2.0.0-2.0.36內核(單處理器)。
Linux 2.0.x (SMP)
This package is for Linux 2.0.0 to 2.0.36 kernels compiled with SMP support (SMP=1 uncommented in the kernel Makefile). Use this package only if you have compiled the kernel yourself with SMP support (all Linux distributions install the "normal" (non SMP) kernel by default).
Linux 2.0.x(SMP):這個包支持Linux 2.0.0-2.0.36內核(多處理器)。
Linux 2.2.x (SMP)
Linux 2.2.x (UP)
There are two different packages for the latest Linux 2.2.x
kernels. You should select the package depending on the way how the kernel is compiled (this has nothing to do with the number of CPUs on your machine).
Linux 2.2.x(SMP)、Linux 2.2.x(UP):這是兩個基於Linux 2.2.x核心的不同安裝包。你可以根據核心如何編譯而選擇(這裡並不關心你的機器上有幾個CPU)。
For example:
例如:
"2.2.0 #2 SMP ..." means that you should select the SMP version while
"2.2.0 #2 ..." means that you should select the UP version.
"2.2.0 #2 SMP ..."意思是你選擇了SMP版本。
"2.2.0 #2 ..."則表示你選擇了UP版本。
Steps performed by the installation program (oss-install)
------------------------------------------------------------
安裝程序oss-install步驟:
When executed oss-install performs the necessary steps required to install
Open Sound System. The steps are:
當你執行oss-install後,須要完成以下步驟:
0) Initial compatibility checks are performed. You will be informed if
you should download another installation package of OSS.
0)首先做兼容性測試。如果你下載了不對的OSS安裝包,你將得到它的提示。
1) The program shows the licence agreement. After reading the
agreement, accept it by activating the [Accept] button below the text area.
You can use the arrow up and arrow down keys to scroll the text. Use TAB to
1) The program shows the licence agreement. After reading the
agreement, accept it by activating the [Accept] button below the text area.
You can use the arrow up and arrow down keys to scroll the text. Use TAB to