pihipi.net - PHP中国.网

投递文章  投稿指南 RSS订阅 PHP中国.网通告:
搜索: 您的位置主页>服务器>Linux应用>阅读资讯文章

OSS快速安装指南

2008-06-01 19:44:00   来源:PiHiPi.Net   作者:PHP开源.中国   【 评论:0

fjxufeng(风过留枫) 译
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 can't 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. Don't 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 (don't 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 it's 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)。

Tags:Tag标签    
责任编辑:admin
  • 请文明参与讨论,禁止漫骂攻击。 用户名:新注册) 密码: 匿名:
    评论总数:0 [ 查看全部 ] 网友评论