[分享]用OSS来驱动声卡的几点好处
-
- 帖子: 62
- 注册时间: 2007-04-19 10:23
[分享]用OSS来驱动声卡的几点好处
首先我要说的是,我曾经装过ALSA,真的!
以下是我的几点理由,我的电脑是HP520。
1)ALSA好是好,就是声音有点小
2)ALSA强是强,就是安装太麻烦
3)ALAS棒是棒,就是爱闹小毛病(有时候会突然就不响了)
4)ALSA猛是猛,就是害我睡不好(插上耳机后笔记本音箱依然发音,headphone and speaker 一起出声)
5)ALSA爽是爽,就是我看它不爽
个人意见,不喜欢PK,PK的别找我。。
安装 OSS指南
1)下载DEB包 http://www.4front-tech.com/download.cgi 自己选择相应版本
2)安装前先 sudo apt-get install build-essentials安装基本的支持
3)然后 run dpkg -i **********.deb 星号部分是你自己保存的驱动文件名
OK,一切搞定(在我这是这样的)
然后把所有相关的用到声音设备的程序中相应的设置改成OSS,如果该程序无法运行请重新安装一遍
原先的ALSA最好不要卸载,好像会出问题。我是在系统自带的驱动的基础上换成OSS的,自己手动装过ALAS的就不清楚了。
调出音量控制用ossxmix命令
如果第一次安装失败了要重装,清参照以下内容:————————————————————————————
Failed to disable conflicting sound drivers
Reboot and try running soundon again
Also check that you have not compiled sound support statically
into the kernel.
On Ubuntu or Debian, if you don't have the necessary packages listed in the "Installing on Ubuntu 6.10" notes then OSS will likely fail to install and
you will need to do the following to recover:
1) cd /var/lib/dpkg/info
2) rm oss-linux*
3) edit /var/lib/dpkg/status and look for oss-linux
and delete the entire section that looks like:
Package: oss-linux
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 8440
Maintainer: root <root@dev-desktop>
Architecture: amd64
Version: v4.0rc9-999
Depends: libatk1.0-0 (>= 1.12.1), libc6 (>= 2.4-1), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.3.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.10.3), libpango1.0-0 (>= 1.14.5), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, libxrandr2, libxrender1
Conffiles:
/etc/oss.conf 055432d38aaf37fc6de3dba4a95accc3
Description: Open Sound System sound drivers for Linux
Open Sound System for Linux (OSS/Linux) is a commercial quality sound driver
distributed by 4Front Technologies (http://www.opensound.com). OSS provides
support for practically all sound cards on the market including PnP and
many PCI ones. Installation and configuration is higly automated and easy to
perform. To obtain technical support and additional features, you will need to
order a license key from http://www.opensound.com/order.html
.
(Converted from a rpm package by alien version 8.64.)
5) Now you should be able to run dpkg --purge oss-linux and it should
say: dpkg - warning: ignoring request to remove oss-linux which isn't installed.
6) Finally run dpkg -i oss-linux_v4.0rc9-999_amd64.deb and now it should succeed.
OK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you!!!
以下是我的几点理由,我的电脑是HP520。
1)ALSA好是好,就是声音有点小
2)ALSA强是强,就是安装太麻烦
3)ALAS棒是棒,就是爱闹小毛病(有时候会突然就不响了)
4)ALSA猛是猛,就是害我睡不好(插上耳机后笔记本音箱依然发音,headphone and speaker 一起出声)
5)ALSA爽是爽,就是我看它不爽
个人意见,不喜欢PK,PK的别找我。。
安装 OSS指南
1)下载DEB包 http://www.4front-tech.com/download.cgi 自己选择相应版本
2)安装前先 sudo apt-get install build-essentials安装基本的支持
3)然后 run dpkg -i **********.deb 星号部分是你自己保存的驱动文件名
OK,一切搞定(在我这是这样的)
然后把所有相关的用到声音设备的程序中相应的设置改成OSS,如果该程序无法运行请重新安装一遍
原先的ALSA最好不要卸载,好像会出问题。我是在系统自带的驱动的基础上换成OSS的,自己手动装过ALAS的就不清楚了。
调出音量控制用ossxmix命令
如果第一次安装失败了要重装,清参照以下内容:————————————————————————————
Failed to disable conflicting sound drivers
Reboot and try running soundon again
Also check that you have not compiled sound support statically
into the kernel.
On Ubuntu or Debian, if you don't have the necessary packages listed in the "Installing on Ubuntu 6.10" notes then OSS will likely fail to install and
you will need to do the following to recover:
1) cd /var/lib/dpkg/info
2) rm oss-linux*
3) edit /var/lib/dpkg/status and look for oss-linux
and delete the entire section that looks like:
Package: oss-linux
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 8440
Maintainer: root <root@dev-desktop>
Architecture: amd64
Version: v4.0rc9-999
Depends: libatk1.0-0 (>= 1.12.1), libc6 (>= 2.4-1), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.3.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.10.3), libpango1.0-0 (>= 1.14.5), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, libxrandr2, libxrender1
Conffiles:
/etc/oss.conf 055432d38aaf37fc6de3dba4a95accc3
Description: Open Sound System sound drivers for Linux
Open Sound System for Linux (OSS/Linux) is a commercial quality sound driver
distributed by 4Front Technologies (http://www.opensound.com). OSS provides
support for practically all sound cards on the market including PnP and
many PCI ones. Installation and configuration is higly automated and easy to
perform. To obtain technical support and additional features, you will need to
order a license key from http://www.opensound.com/order.html
.
(Converted from a rpm package by alien version 8.64.)
5) Now you should be able to run dpkg --purge oss-linux and it should
say: dpkg - warning: ignoring request to remove oss-linux which isn't installed.
6) Finally run dpkg -i oss-linux_v4.0rc9-999_amd64.deb and now it should succeed.
OK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you!!!
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 62
- 注册时间: 2007-04-19 10:23
过期,什么不会呢
[quote="BigSnake.NET"]不会过期吗?..
过期,什么不会呢
过期,什么不会呢
- clarezoe
- 帖子: 220
- 注册时间: 2007-05-25 18:41
- 联系:
- bjsm
- 帖子: 2324
- 注册时间: 2007-05-13 16:45
- 来自: 阿拉斯加群岛其中的一个岛上一片原始森林里其中的一颗树上
- 联系:
正在解压缩将用于更替的包文件 oss-linux ...
正在设置 oss-linux (v4.0-1009) ...
Building OSS Modules for Linux-unknown 2.6.22-14-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
/usr/sbin/soundon: 27: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/sbin/soundon: 28: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 30: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 32: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 38: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 38: cannot create /usr/lib/oss/logs/soundon.log: Directory none xistent
/usr/sbin/soundon: 45: cannot create /usr/lib/oss/logs/soundon.log: Directory none xistent
No /usr/lib/oss/etc/installed_drivers - cannot continue
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
哪里出错了?
正在设置 oss-linux (v4.0-1009) ...
Building OSS Modules for Linux-unknown 2.6.22-14-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
/usr/sbin/soundon: 27: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/sbin/soundon: 28: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 30: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 32: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 38: cannot create /usr/lib/oss/logs/soundon.log: Directory none
xistent
/usr/sbin/soundon: 38: cannot create /usr/lib/oss/logs/soundon.log: Directory none xistent
/usr/sbin/soundon: 45: cannot create /usr/lib/oss/logs/soundon.log: Directory none xistent
No /usr/lib/oss/etc/installed_drivers - cannot continue
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
哪里出错了?
- aitilang
- 帖子: 1026
- 注册时间: 2007-04-28 21:38
- marsteel
- 帖子: 555
- 注册时间: 2005-11-28 12:09
- 联系:
-
- 帖子: 45
- 注册时间: 2007-11-09 22:30
创建过后报这个错aitilang 写了:晕,你创建一下这几个目录不就行了?
(データベースを読み込んでいます ... 現在 102191 個のファイルとディレクトリがインストールされています。)
oss-linux v4.0-1013 を (oss-linux_v4.0-1013_i386.deb で) 置換するための準備をしています ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: 警告 - 古い pre-removal スクリプト がエラーステータス 2 を返しました
dpkg - 代わりに新規パッケージからスクリプトを実行してみます ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: oss-linux_v4.0-1013_i386.deb の処理中にエラーが発生しました (--install):
サブプロセス 新 pre-removal スクリプト はエラー終了ステータス 2 を返しました
Building OSS Modules for Linux-unknown 2.6.22-14-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue
以下のパッケージの処理中にエラーが発生しました:
oss-linux_v4.0-1013_i386.deb
-
- 帖子: 7
- 注册时间: 2008-02-02 20:27
参照:viewtopic.php?p=622575&sid=9c29bbbd3441 ... b28e400327Shinhou 写了:创建过后报这个错aitilang 写了:晕,你创建一下这几个目录不就行了?
(データベースを読み込んでいます ... 現在 102191 個のファイルとディレクトリがインストールされています。)
oss-linux v4.0-1013 を (oss-linux_v4.0-1013_i386.deb で) 置換するための準備をしています ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: 警告 - 古い pre-removal スクリプト がエラーステータス 2 を返しました
dpkg - 代わりに新規パッケージからスクリプトを実行してみます ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: oss-linux_v4.0-1013_i386.deb の処理中にエラーが発生しました (--install):
サブプロセス 新 pre-removal スクリプト はエラー終了ステータス 2 を返しました
Building OSS Modules for Linux-unknown 2.6.22-14-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue
以下のパッケージの処理中にエラーが発生しました:
oss-linux_v4.0-1013_i386.deb
我就这样有声音的 但没找到设备 郁闷~~
-
- 帖子: 22
- 注册时间: 2008-03-21 9:29
root@jack-laptop:/home/jack# sudo dpkg -i oss-linux_v4.0-1015_i386.deb
(正在读取数据库 ... 系统当前总共安装有 113190 个文件和目录。)
正在解压缩 oss-linux (从 oss-linux_v4.0-1015_i386.deb) ...
dpkg-deb (子进程):buffer_copy (写入通向拷贝的管道时出错) 未读完所有数据
dpkg-deb: 子进程 paste 返回了错误号 2
dpkg:处理 oss-linux_v4.0-1015_i386.deb (--install)时出错:
buffer_copy (“./usr/share/man/man7/sonorus.7.gz” 时,dpkg-deb 被作为后端) 未读完所有数据
在处理时有错误发生:
oss-linux_v4.0-1015_i386.deb
这是怎么回事啊,麻烦帮我看一下,谢谢啦
(正在读取数据库 ... 系统当前总共安装有 113190 个文件和目录。)
正在解压缩 oss-linux (从 oss-linux_v4.0-1015_i386.deb) ...
dpkg-deb (子进程):buffer_copy (写入通向拷贝的管道时出错) 未读完所有数据
dpkg-deb: 子进程 paste 返回了错误号 2
dpkg:处理 oss-linux_v4.0-1015_i386.deb (--install)时出错:
buffer_copy (“./usr/share/man/man7/sonorus.7.gz” 时,dpkg-deb 被作为后端) 未读完所有数据
在处理时有错误发生:
oss-linux_v4.0-1015_i386.deb
这是怎么回事啊,麻烦帮我看一下,谢谢啦