LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: rr19xx

原创-》Alsa0.9.2安装指南第二版-04-28-03

 关闭 [复制链接]
发表于 2003-5-10 23:45:21 | 显示全部楼层
原来如此,谢谢
发表于 2003-5-10 23:53:11 | 显示全部楼层
一开机:
  starting sound system:  The sndshield module is not compatible with your kernel 2.4.20.
Try installing OSS again.

  
  modules.conf内容:
  alias eth0 8139too
alias usb-controller usb-uhci

#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-maestro3
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1 device_mode=0666
options snd-maestro3 index=0
# --- END: Generated by ALSACONF, do not edit. ---

lsmod 内容:
  Module                  Size  Used by    Not tainted
snd-pcm-oss            45636   0  (autoclean)
snd-mixer-oss          16568   0  (autoclean) [snd-pcm-oss]
nls_cp437               5116   1  (autoclean)
snd-maestro3           17356   0  (autoclean)
snd-pcm                85216   0  (autoclean) [snd-pcm-oss snd-maestro3]
snd-timer              20104   0  (autoclean) [snd-pcm]
snd-page-alloc          9068   0  (autoclean) [snd-pcm]
snd-ac97-codec         44736   0  (autoclean) [snd-maestro3]
snd                    44644   0  (autoclean) [snd-pcm-oss snd-mixer-oss snd-maestro3 snd-pcm snd-timer snd-ac97-codec]
soundcore               6404   3  (autoclean) [snd]
ipt_REJECT              3704   6  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              14840   2  [ipt_REJECT iptable_filter]

gamix 里声卡:ESS Allegro PCI:ESS Technology ESS1988
  执行soundoff 没反应.
  执行soungon(关键):
  The sndshield module is not compatible with your kernel 2.4.20.
Try installing OSS again.

  再次看modules.conf内容:
   #### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

alias char-major-14 off
alias sound off
alias midi off
alias sound-slot-0 off
alias sound-service-0-0 off
alias sound-service-0-1 off
alias sound-service-0-3 off
alias sound-service-0-8 off
alias sound-service-0-11 off
alias sound-service-0-12 off
alias sound-slot-1 off
alias sound-service-1-0 off
alias sound-service-1-1 off
alias sound-service-1-3 off
alias sound-service-1-8 off
alias sound-service-1-11 off
alias sound-service-1-12 off
alias sound-slot-2 off
alias sound-service-2-0 off
alias sound-service-2-1 off
alias sound-service-2-3 off
alias sound-service-2-8 off
alias sound-service-2-11 off
alias sound-service-2-12 off
alias sound-slot-3 off
alias sound-service-3-0 off
alias sound-service-3-1 off
alias sound-service-3-3 off
alias sound-service-3-8 off
alias sound-service-3-11 off
alias sound-service-3-12 off
alias char-major-116 off
alias snd-card-0 off
alias snd-card-1 off
alias snd-card-2 off
alias snd-card-3 off
alias snd-card-4 off


alias eth0 8139too
alias usb-controller usb-uhci

#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
options snd major=116 cards_limit=1 device_mode=0666
options snd-maestro3 index=0
# --- END: Generated by ALSACONF, do not edit. ---


执行lsmod:
Module                  Size  Used by    Not tainted
nls_cp437               5116   1  (autoclean)
snd-page-alloc          9068   0  (autoclean)
ipt_REJECT              3704   6  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              14840   2  [ipt_REJECT iptable_filter]

整个过程没有声.
 楼主| 发表于 2003-5-11 00:09:46 | 显示全部楼层
我大概知道了,1。alsa已经安装。估计现在是alsa与oss冲突。请卸掉oss。因为我没有装过oss,所以只能先给出一些建议。如果你愿意等的话,我一会试装oss,看看怎样卸载它,再发帖给你。

或者,你现在是用新编译的内核启动吧,而你的oss是用旧内核编译的吧?如果是这样的话,请重新安装oss。之后看看有关文档,查询卸载方法。
 楼主| 发表于 2003-5-11 01:30:51 | 显示全部楼层
安装了oss。你的问题确是出在oss上面。现在很晚了,解决方法我会早上发帖给你。
 楼主| 发表于 2003-5-11 09:48:55 | 显示全部楼层
myth_huihui兄,你的问题确实出在oss上面。
解决方法步骤:
1。停止oss服务。编辑/etc/modules.conf ,仅保留以下两行:
alias eth0 8139too
alias usb-controller usb-uhci
保存退出。
执行:ntsysv  ,出现一个终端图形界面,在其中取消oss这项服务。保存后退出重启。便能解决“starting sound system: The sndshield module is not compatible with your kernel 2.4.20.
Try installing OSS again” 的出错提示。(因为你安装oss时用的内核并非当前的新内核,所以有此提示)
2。配置alsa。能执行gamix,表示alsa已成功安装。重启系统后,从指南中./snddevices那一步重做。或者重新编译alsa。
发表于 2003-5-11 20:54:22 | 显示全部楼层
rr19xx兄:
  按照你的指示
   1。停止oss服务。编辑/etc/modules.conf ,仅保留以下两行:
alias eth0 8139too
alias usb-controller usb-uhci
保存退出。
执行:ntsysv ,出现一个终端图形界面,在其中取消oss这项服务。保存后退出重启。
  已经没有了开始时候的“starting sound system: The sndshield module is not compatible with your kernel 2.4.20.
Try installing OSS again”.
  是starting alsasound [OK].
  重新编译alsa.所有步骤搞定后重起.
  执行lsmod,内容:
  Module                  Size  Used by    Not tainted
snd-pcm-oss            45636   1  (autoclean)
snd-mixer-oss          16536   0  (autoclean) [snd-pcm-oss]
nls_cp437               5116   1  (autoclean)
snd-maestro3           17356   1
snd-ac97-codec         44576   0  [snd-maestro3]
snd-pcm                83328   0  [snd-pcm-oss snd-maestro3]
snd-page-alloc          8552   0  [snd-pcm]
snd-timer              19784   0  [snd-pcm]
snd                    43460   0  [snd-pcm-oss snd-mixer-oss snd-maestro3 snd-ac97-codec snd-pcm snd-timer]
soundcore               6404   3  [snd]
ipt_REJECT              3704   6  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              14840   2  [ipt_REJECT iptable_filter]

查看modules.conf内容:
  alias eth0 8139too
alias usb-controller usb-uhci

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-maestro3
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1 device_mode=0666
options snd-maestro3 index=0
# --- END: Generated by ALSACONF, do not edit. ---

可以执行gamix.
但是整个过程还是没有声音.播放cd也还是没有声.
  执行soundon
提示:The sndshield module is not compatible with your kernel 2.4.20.
Try installing OSS again.

执行lsmod:
   Module                  Size  Used by    Not tainted
nls_cp437               5116   1  (autoclean)
snd-page-alloc          8552   0
ipt_REJECT              3704   6  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              14840   2  [ipt_REJECT iptable_filter]

看modules.conf内容:
  #### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

alias char-major-14 off
alias sound off
alias midi off
alias sound-slot-0 off
alias sound-service-0-0 off
alias sound-service-0-1 off
alias sound-service-0-3 off
alias sound-service-0-8 off
alias sound-service-0-11 off
alias sound-service-0-12 off
alias sound-slot-1 off
alias sound-service-1-0 off
alias sound-service-1-1 off
alias sound-service-1-3 off
alias sound-service-1-8 off
alias sound-service-1-11 off
alias sound-service-1-12 off
alias sound-slot-2 off
alias sound-service-2-0 off
alias sound-service-2-1 off
alias sound-service-2-3 off
alias sound-service-2-8 off
alias sound-service-2-11 off
alias sound-service-2-12 off
alias sound-slot-3 off
alias sound-service-3-0 off
alias sound-service-3-1 off
alias sound-service-3-3 off
alias sound-service-3-8 off
alias sound-service-3-11 off
alias sound-service-3-12 off
alias char-major-116 off
alias snd-card-0 off
alias snd-card-1 off
alias snd-card-2 off
alias snd-card-3 off
alias snd-card-4 off

alias eth0 8139too
alias usb-controller usb-uhci

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
options snd major=116 cards_limit=1 device_mode=0666
options snd-maestro3 index=0
# --- END: Generated by ALSACONF, do not edit. ---

执行gamix,提示:
  probe.c 40: No ALSA device.
main.c 37: Can not make mixer.

  今天下午6点才能上网,所以现在才给兄弟回贴.
  请问还有什么问题没有解决呢?
发表于 2003-5-11 21:36:51 | 显示全部楼层

装alsa时出错

进行到make install时出现如下错误
rm -f /lib/modules/2.4.21-0.13mdkcustom/misc/snd*.o /lib/modules/2.4.21-0.13mdkcustom/misc/persist.o /lib/modules/2.4.21-0.13mdkcustom/misc/isapnp.o
make[1]: Entering directory `/home/alsa/alsa-driver-0.9.3/support'
make  -C pnp modules_install
make[2]: Entering directory `/home/alsa/alsa-driver-0.9.3/support/pnp'
mkdir -p /lib/modules/2.4.21-0.13mdkcustom/misc
cp snd-pnp.o /lib/modules/2.4.21-0.13mdkcustom/misc
cp: stat‘snd-pnp.o’失败: No such file or directory
make[2]: *** [_modinst__] 错误 1
make[2]: Leaving directory `/home/alsa/alsa-driver-0.9.3/support/pnp'
make[1]: *** [_modinst_pnp] 错误 2
make[1]: Leaving directory `/home/alsa/alsa-driver-0.9.3/support'
make: *** [install-modules] 错误 1
怎么解决?
请高手赐教
谢谢
 楼主| 发表于 2003-5-11 22:00:59 | 显示全部楼层
我刚回来,正在研究。先讲初步建议。
第一。不要执行soundon!不然又打开oss了,又要手动关掉它。
另外,myth_huihui兄,你配置音量时,一直都是用放cd来作基准,有没有放过mp3?wav?ogg?放它们时是否有声?gamix中的playback、pcm、cd是否都有调整?是否cd播放的问题?如果不是,再用下面的方法。
请在关掉oss后,重新安装alsa后,手动编辑/etc/modules.conf  
将options snd-maestro3 index=0 一行改为
options snd-maestro3 index=0 amp_gpio=0x0d
之后不行再发帖,我今晚均在线。
发表于 2003-5-11 22:19:58 | 显示全部楼层
首先很感谢兄弟如此之热情,你我虽然陌路,但是兄弟有如此之胸怀,实在是令小弟佩服.很感激,容我衷心的对你说声:谢谢.
  
  好,进入正题.这里我要先说明,当执行./alsaconf的时候,出现的图形界面,然后他不是自动找声卡吗,之后出现了两个声卡!一个当然就是ESS1988了,另外还有一个.但是如果我选那个确定的话,会死机.
  说道配置音量,我用了cd播放器播放cd,xmms 播放mp3两个测试,还根据开机有没有声音判断.别的wav,ogg格式的文件,还没有.兄弟有得话,上传几个过来试一试.
   gamix方面,我把他的全部设置都试了一次,因为我不清楚他的功能.
 楼主| 发表于 2003-5-11 22:25:47 | 显示全部楼层
那你关了oss没有?是否已经重装alsa?改/etc/modules.conf了没有?
xmms打了mp3的补丁了没有?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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