[分享]用OSS来驱动声卡的几点好处

CPU/显卡/打印机/USB设备等硬件问题
liqiuping812
帖子: 62
注册时间: 2007-04-19 10:23

[分享]用OSS来驱动声卡的几点好处

#1

帖子 liqiuping812 » 2007-09-01 15:37

首先我要说的是,我曾经装过ALSA,真的! :o
以下是我的几点理由,我的电脑是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!!!
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-09-01 15:57

这也愤青啊。
● 鸣学
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#3

帖子 BigSnake.NET » 2007-09-01 16:00

不会过期吗?..
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
liqiuping812
帖子: 62
注册时间: 2007-04-19 10:23

过期,什么不会呢

#4

帖子 liqiuping812 » 2007-09-01 17:36

[quote="BigSnake.NET"]不会过期吗?..



过期,什么不会呢 :D
头像
clarezoe
帖子: 220
注册时间: 2007-05-25 18:41
联系:

#5

帖子 clarezoe » 2007-11-19 21:44

我装了OSS一切都通过了,还是没声啊,哭啊
yht0415
帖子: 12
注册时间: 2007-11-23 20:01

#6

帖子 yht0415 » 2007-11-23 21:53

我用的oss 怎么跟alsa一样会喇叭耳机一块响阿,怎么弄,,,,,,,,,,,,,,
头像
choifyken
帖子: 248
注册时间: 2007-08-27 10:46

#7

帖子 choifyken » 2007-12-05 22:37

唯一一个缺点就是无法通过音量控制按钮调节声音大小了
头像
bjsm
帖子: 2324
注册时间: 2007-05-13 16:45
来自: 阿拉斯加群岛其中的一个岛上一片原始森林里其中的一颗树上
联系:

#8

帖子 bjsm » 2007-12-05 23:07

正在解压缩将用于更替的包文件 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


哪里出错了?
头像
aitilang
帖子: 1026
注册时间: 2007-04-28 21:38

#9

帖子 aitilang » 2007-12-05 23:27

晕,你创建一下这几个目录不就行了?
thinkpad x61 2G DDR no cdrom
--------------------------------------------
ABS学习中
sed学习中
awk学习中
perl学习中
新手描述不清,老手猜测不到,胡乱指挥一通,后果难以预料
头像
raulvii
帖子: 90
注册时间: 2006-10-21 17:06

#10

帖子 raulvii » 2007-12-10 13:38

oss还是不错的
不过感觉还是用声卡配送的驱动好点
飞利浦啥时候出啊 :twisted: :twisted:
头像
marsteel
帖子: 555
注册时间: 2005-11-28 12:09
联系:

#11

帖子 marsteel » 2007-12-10 14:44

oss有啥好的
Shinhou
帖子: 45
注册时间: 2007-11-09 22:30

#12

帖子 Shinhou » 2008-02-07 22:23

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
Shinhou
帖子: 45
注册时间: 2007-11-09 22:30

#13

帖子 Shinhou » 2008-02-07 22:24

进入oss的目录下看了,好像没有 scripts 这个目录。
uncleangel
帖子: 7
注册时间: 2008-02-02 20:27

#14

帖子 uncleangel » 2008-02-12 20:04

Shinhou 写了:
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
参照:viewtopic.php?p=622575&sid=9c29bbbd3441 ... b28e400327
我就这样有声音的 但没找到设备 郁闷~~
iamjack_1988
帖子: 22
注册时间: 2008-03-21 9:29

#15

帖子 iamjack_1988 » 2008-03-24 15:14

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
这是怎么回事啊,麻烦帮我看一下,谢谢啦
回复