LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 623|回复: 1

近期sid里alsa更新后音量调节的一个问题

[复制链接]
发表于 2008-10-16 17:22:59 | 显示全部楼层 |阅读模式
近期更新了sid的alsa之后,发现音量调节不再好用了。

具体现象是:
aumix 启动的时候提示没有找到文件,由于 aumix 是用 /dev/mixer 来调节音量的,于是去 /dev 看了一下,果然没有 /dev/mixer

后来搜了一下,有人说 modprobe snd_pcm_oss 一下就会建立 /dev/mixer ,试了一下,果然如此。

下面是一些八卦了:

后在 /etc/modprobe.d/ 中 grep snd_pcm_oss * 一下,发现在 /etc/modprobe.d/alsa-base 中有这么几句:

  1. # Workaround at bug #499695
  2. #install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
  3. #install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
  4. #install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
复制代码


顺藤摸瓜,找到debian 的 #499695 ,赫然发现:

From: Bastian Blank <waldi@debian.org>
To: submit@bugs.debian.org
Subject: alsa-base - forcible loads oss compatibility modules
Date: Sun, 21 Sep 2008 13:18:22 +0200

Package: alsa-base
Version: 1.0.17.dfsg-2
Severity: important

The alsa-base modprobe files forcible loads the oss compatibilty
modules. This introduces large problems because it can't longer use dmix
to make more than one process use the sound output.

If this is not fixed I'll remove the oss compatiblity modules from the
Debian kernels at once.

Bastian

这位老大好强硬的语气啊。
发表于 2008-10-16 22:03:05 | 显示全部楼层
喜欢这样的强硬,坚持原则有时候是必须的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表