歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> Linux資訊 >> Linux文化

快速安裝OOS(開放的聲卡系統)指南


Quick installation instructions for Open Sound System
=====================================================
快速安裝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
jump between the scroll area and the buttons below it. Press ENTER to
activate the selected (highted lighted) choice.
1)檢查後,安裝程序將顯示安裝許可協議。當你讀了協議後,如果你同意,則按[Accept]按鈕。你可以使用光標鍵滾動文本區。按TAB鍵在按鈕與文本區中切換。按回車確認。

2) Next the program views release notes of Open Sound System (Readme). After
reading it activate the [Ok] button.
2)接受協議後,程序將顯示OOS的版本信息及幫助信息。你讀過後按OK按鈕繼續。

3) The third step is selecting the directory where the Open Sound System
software is installed. The program offers several alternatives but
/usr/lib/oss is the recommended choice.
3)第三步則是為OSS選擇安裝目錄。OSS提供了幾個選擇,默認是/usr/lib/oss

4) After the above interactive steps the installation program extracts the
software files to the selected directory. It also verifies that the driver
version is compatible with your current kernel version by trying to
load the modules.
4)完成了以上步驟,安裝程序將解壓軟件文件到所選擇的目錄。並且還檢驗這個驅動程序是否與你的內核兼容,然後嘗試裝載這個模塊。

NOTE FOR LINUX USERS:
Linux用戶注意:

On Linux, if there are some kind of kernel version incompatibilities, the
installation program attempts to resolve them by recompiling the "sndshield"
module. This step succeeds only in systems that meet criterias listed in Readme.
If remompilation fails, you should download new driver version from
http://www.4front-tech.com/linux.html.
在Linux中,如果有些內核版本是不兼容OSS的安裝程序將試圖通過重新編譯"sndshield"模塊來解決這個問題。這一步只有當你的系統能使用標准版才會取得成功。如果重新編譯失敗,你就必須從http://www.4front-tech.com/linux.html下載一個新的版本。

5) Finally the configuration program is invoked automaticly (see below).
最後配置程序以便今後自動調用!

Running the configuration program (soundconf)
---------------------------------------------
運行配置程序soundconf

The configuration program is started automaticly after software installation
is complete. You can run it again by executing "soundconf" command in the
directory where Open Sound System was installed (/usr/lib/oss in most cases).
軟件安裝完成後,將自動啟動配置程序。你今後也可以在OOS安裝的目錄下執行soundconf命令再次啟動配置程序。

When running the configuration for first time, it performs all the necessary
auto-detection steps. You will first be presented with a screen that asks you
if you want to automatically detect Plug-and-Play (PnP) sound cards. Its
safe to proceed to select the [Detect] option by pressing the key and
then pressing the key. The next screen prompts you to select if you
want to detect Non-Plug-and-Play (Non PnP) cards. You should proceed with
caution since the sound drivers will probe all known sound cards and if
there is an IRQ or I/O address conflict, the system can lock up. However,
if youre reasonably sure that there are no hardware conflicts with your
adapters, you can proceed to select the [Detect] option. If you want to
skip this process, select the [Cancel] button by hightlighting the option
on the screen using the key and then pressing .
當你第一次運行配置程序時,將自動完成所有必要的檢測工作。首先,將出現一個屏幕提示你是否需要自動檢測PNP(即插即用)聲卡。建議在按下鍵時先選擇[Detect]選項。然後,將出現一個屏幕提示你是否需要檢測Non PNP(非即插即用)聲卡。需要注意的是,如果測試到的聲卡的IRQ或I/O地址存在沖突,系統將會被死鎖。然而如果你確認你的聲卡沒有沖突,你可以選擇[Detect]]。如果你想跳過這個步驟,就選擇[Cancel]。

After this the main menu is displayed. Activate the "Add new card/device" to
add more cards if more than one of them installed. It will display a list
of devices from which you can choose your sound card. Use the arrow keys
to go up and down the list. Select a card by high-lighting it and pressing
the key.
接著,主菜單被顯示。按下"Add new card/device",可增加聲卡。它將顯示一個可選列表供您選擇。你可用光標鍵選擇。

On some systems, you will be prompted to select the I/O addresses, IRQ and
DMA values for various sound card ports. Once you are done, you can simply
select the [OK] button and get back to the main menu.
有些系統可能需要你選擇一下聲卡的I/O地址,IRQ和DMA。當你完成後,你可以選擇[ok]按鈕繼續。

If you have multiple sound cards, you can resolve the settings by
selecting the "Manual Configuration" option.
如果你擁有多塊聲卡,你可以通過選擇"Manual Configuration"選項來解決。

When you have completed the configuration, save it by activating the
[Save changes and exit] selection. Its important to save the changes
after installing new Open Sound System version even if you made no changes
to the device configuration. Otherwise unnecessary driver modules will be
loaded during soundon.
當你完成了配置工作,就可以按[Save changes and exit]按鈕。及時地將這配置保存是十分重要的。否則不必要的聲卡驅動模塊可能會為soundon調用。

Now you are ready to run Open Sound System by running the soundon command.
To check the status of your drivers, you can type "cat /dev/sndstat". This
will give you a detailed listing of all devices configured by OSS and also
information about your license and serial number.
這時候你就可以准備在命令行執行soundon命令來運行OSS了。你可以使用"cat /dev/sndstat"命令來檢查你的驅動器的狀態。這個命令將給出一個由OSS列出的詳細驅動程序配置信息,還有一些OSS的許可協議及序列號。

Should you have any questions, please submit a technical support request by
fillout the form at http://www.4front-tech.com/support.cgi
如果你有什麼問題,請到:http://www.4front-tech.com/support.cgi

-----------------------
Copyright (c) 1999, 4Front Technologies. All rights reserved.
Open Sound System is a trade mark of 4Front Technologies.All other trade marks and copyrights belong to their respective owners.

我的英文水平不好,翻譯不好的地方請各位朋友見諒!:)


摘自:http://www.linuxaid.com.cn


Copyright © Linux教程網 All Rights Reserved