LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]糟糕,升级到2008.1后,声卡不能发声了!

[复制链接]
发表于 2008-6-19 23:29:27 | 显示全部楼层 |阅读模式
[color="Red"]----以下是解决的方法----
重新设置自动启动systembus和netfs服务,systembus是hald的先决条件,而hald影响到sound,这点以前没注意到,我之前是关掉了的。

重新创建了一个空文件 /var/run/dbus/system_bus_socket 属性777,这个是解决找不到文件的问题。

修改/etc/modprobe.conf
alias eth0 skge
alias sound-slot-0 snd_hda_intel
[color="SlateGray"]#remove snd-hda-intel /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-hda-intel
#install snd-hda-intel /sbin/modprobe --first-time --ignore-install snd-hda-intel && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe uhci_hcd; /bin/true
#blacklist audio
#blacklist snd-usb-audio
install scsi_hostadapter /sbin/modprobe usb_storage; /bin/true
install ide-controller /sbin/modprobe piix; /bin/true
[color="Blue"]options snd_hda_intel model=full

灰色行的前面那个“#”是我加的,注释掉这些内容,可能是升级的时候遗留的后遗症,蓝色的行是新添加的,其实也可以不用添加。
关于这个文件的修改我是参考的kde-one-aisa的配置,早上我用one启动是有声音的,然后我就非常肯定就是配置文件问题。

现在终于又可以开始享受了!:cool:

[color="Red"]----以上是解决的方法----

主板 gigabyte 8i915g pro v2.x
内置声卡是 cmi9880的 intel hd audio
之前在2008的时候一直挺好,这几天费大功夫升级到2008.1后(全都更新到最新了)就不省人事了。:yun:

状态栏有声音图标,但是给的一个大红叉

运行pulseaudio提示如下
E: polkit.c: Cannot connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 没有那个文件或目录
N: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
N: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
N: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: 不允许的操作
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: 不允许的操作
E: module-hal-detect.c: Unable to contact DBUS system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: 没有那个文件或目录
E: module.c: Failed to load  module "module-hal-detect" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: failed to initialize daemon.


该死的系统本身没pulse-rt组,看起来似乎是权限问题。
arts报拒绝连接,大汗!
很多基于声音的程序要么启动不了,要么启动一闪就消失,包括gnome不能锁屏幕。

怎么搞啊~~:help

bash-3.2$ rpm -qa | grep alsa
libalsa2-1.0.16-2mdv2008.1
gnome-alsamixer-0.9.7-0.205.1mdv2008.1
alsa-plugins-doc-1.0.16-8mdv2008.1
libalsa-plugins-pulseaudio-1.0.16-8mdv2008.1
libalsa2-devel-1.0.16-2mdv2008.1
alsa-utils-1.0.16-1mdv2008.1
libalsa-oss0-1.0.15-1mdv2008.1
alsa-plugins-pulse-config-1.0.16-8mdv2008.1
libalsa-plugins-1.0.16-8mdv2008.1
libalsa-data-1.0.16-2mdv2008.1


下边是硬件侦测的信息
标识
厂家: ‎Intel Corporation

描述: ‎82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller

介质类别: ‎Audio device

驱动程序
模块: ‎snd_hda_intel

替代的驱动程序: ‎未知

连接
总线: ‎PCI
PCI 域名: ‎0
总线 PCI #: ‎0
PCI 设备 #: ‎27
PCI 功能 #: ‎0
厂家 ID: ‎0x8086
设备 ID : ‎0x2668
子供应商 ID: ‎0x1458
子设备 ID: ‎0xa005



另ubuntu8.04下可以发声
 楼主| 发表于 2008-6-20 00:28:46 | 显示全部楼层
我现在有声卡故障的内核
kernel-desktop-2.6.24.5-2mnb - Linux Kernel for desktop use with i686 & 4GB RAM​

我在下面这个url看到有人似乎采用2.6.23内核“解决”了这个问题
http://forums.fedoraforum.org/sh ... mp;page=1&pp=15


另一个可能是相关bug~ https://bugzilla.redhat.com/show_bug.cgi?id=432570
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-20 13:22:05 | 显示全部楼层
发现没有 /etc/modprobd.d/alsa-base 这个文件
@_@

bash-3.2$ cat /proc/asound/cards
0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf20c0000 irq 19
应该说明声卡已经装好了吧?
回复 支持 反对

使用道具 举报

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

本版积分规则

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