[FZH] F16升级后的几个问题,主要是声音

flyreach Lin linfeida at gmail.com
Fri Dec 9 15:51:47 UTC 2011


问题一解决。 rm $HOME/.esd_auth

 $HOME/.esd_auth是 esound 这个模块初始化时读取的配置文件, 赋予了对应设备访问权, 生成了权限不对的 esound
配置文件导致pulseaudio 无法访问
pulseaudio 被设计于是 gnome esound 的 drop-in replacement
kde 的程序通过 phonon 访问 pulseaudio,不是通过 esound


在 2011年12月9日 下午10:05,flyreach Lin <linfeida在gmail.com>写道:

> # mpg123 /home/***/Downloads/20090614_b55036bb58c93790ebf54QMqGvu5BQFh.mp3
> Cannot connect to server socket err = No such file or directory
> Cannot connect to server socket
> jackdmp 1.9.7
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2011 Grame.
> jackdmp comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> no message buffer overruns
> no message buffer overruns
> JACK server starting in realtime mode with priority 20
> control device hw:0
> control device hw:0
> Failed to connect to session bus for device reservation Did not receive a
> reply. Possible causes include: the remote application did not send a
> reply, the message bus security policy blocked the reply, the reply timeout
> expired, or the network connection was broken.
>
> Failed to acquire device name : Audio0 error : Invalid argument
> Audio device hw:0 cannot be acquired, trying to open it anyway...
> creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
> control device hw:0
> ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to
> capture-only mode
> configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
> ALSA: final selected sample format for capture: 16bit little-endian
> ALSA: use 2 periods for capture
> Registered as JACK client mpg123-5273.
> [jack.c:146] error: connect_jack_ports(): jack_get_ports() returned NULL.
> JackTemporaryException : now quits...
> jack main caught signal 2
> 段错误
> [root@******* ~]# control device hw:0
> Audio card Audio0 not found!!
> control device hw:0
>
>
>
> 在 2011年12月9日 下午10:02,flyreach Lin <linfeida在gmail.com>写道:
>
> 问题一还是解决不了。。。其他的我正在试,谢谢!
>>
>>
>> 在 2011年12月9日 下午8:13,Tommy He <lovenemesis在fedoraproject.org>写道:
>>
>> 1. 感觉像是 pulseaudio 配置文件的缘故,删除主目录下的 .pulse 试试
>>>
>>> mplayer -ao pulse 试试,其他 gstreamer 程序安装下 gnome-media-apps 后用
>>> gstreamer-properties 指定到 pulseaudio 看看
>>>
>>> 2. 这跟 systemd 有关:http://linuxtoy.org/archives/systemd-cheatsheet.html
>>>
>>> 3. N 卡也有问题?在 /var/log/messages 下看看出错信息是啥,另外更新到最新版应该又改善吧。
>>>
>>> 4. 貌似还是像 ibus-pinyin 的配置文件的问题,在主目录下删除对应目录清空下看看
>>>
>>> 2011/12/9 flyreach Lin <linfeida在gmail.com>:
>>> >
>>> 大家好,我从fedora15升级到fedora16后遇到了几个问题,DVD.iso优盘升级安装,google和baidu后都没得到解决,麻烦大家看看
>>> > 一、声音问题
>>> >    刚从F15升到16的时候声音没问题,前2天yum
>>> upgrade一下,升级了kernel,gnome3下的程序如mpg123、mplayer就没声音了
>>> >    gnome3的设置中都找不到声卡
>>> >    kde下的程序如juk,amarok和konqueror都能播放音频,也能找到声卡,yum reinstall pulseaudio无效
>>> >    alsaminer:ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable
>>> > to connect: 拒绝连接
>>> >
>>> >               cannot open mixer: 拒绝连接
>>> >    alsaminer -c 0 正常
>>> >     而且在tty2下,也就是纯命令行模式下会看到:
>>> >    1308.084261] ALSA sound/usb/clock.c:227 3:3:3: cannot set freq
>>> > 16000 to ep 0x86
>>> >    [ 1309.085166] ALSA sound/usb/clock.c:227 3:3:3: cannot set freq
>>> > 16000 to ep 0x86
>>> >    [ 1310.085202] ALSA sound/usb/clock.c:227 3:3:3: cannot set freq
>>> > 16000 to ep 0x86
>>> >    [ 1311.086250] ALSA sound/usb/clock.c:227 3:3:3: cannot set freq
>>> > 16000 to ep 0x86
>>> >    [ 1312.087269] ALSA sound/usb/clock.c:227 3:3:3: cannot set freq
>>> > 16000 to ep 0x86
>>> >     的错误输出
>>> >
>>> >    ]$ cat /proc/asound/cards
>>> >       0 [Intel          ]: HDA-Intel - HDA Intel
>>> >                      HDA Intel at 0xefffc000 irq 45
>>> >
>>> >    ]$ /sbin/lsmod | grep -c snd
>>> >      14
>>> >
>>> >
>>> > ]$ lspci
>>> > 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
>>> > and 945GT Express Memory Controller Hub (rev 03)
>>> > 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
>>> > and 945GT Express PCI Express Root Port (rev 03)
>>> > 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High
>>> > Definition Audio Controller (rev 01)
>>> > 00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express
>>> > Port 1 (rev 01)
>>> > 00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express
>>> > Port 2 (rev 01)
>>> > 00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express
>>> > Port 4 (rev 01)
>>> > 00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
>>> > Controller #1 (rev 01)
>>> > 00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
>>> > Controller #2 (rev 01)
>>> > 00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
>>> > Controller #3 (rev 01)
>>> > 00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
>>> > Controller #4 (rev 01)
>>> > 00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI
>>> > Controller (rev 01)
>>> > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
>>> > 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
>>> > Bridge (rev 01)
>>> > 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family)
>>> > SATA IDE Controller (rev 01)
>>> > 00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller
>>> (rev 01)
>>> > 01:00.0 VGA compatible controller: nVidia Corporation G72M [GeForce Go
>>> > 7400] (rev a1)
>>> > 03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0
>>> 100Base-TX (rev 02)
>>> > 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
>>> > 03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
>>> > Host Adapter (rev 19)
>>> > 03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
>>> > Adapter (rev 0a)
>>> > 03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller
>>> (rev 05)
>>> > 0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
>>> > [Golan] Network Connection (rev 02)
>>> > 我的本是Dell xps M1210,带罗技的摄像头,我怀疑是摄像头的音频设备和声卡音频冲突了
>>> > 这个问题出现之前摄像头程序可以使用,之后就提示找不到摄像头了
>>> >
>>> 还有就是在fedora15的时候我就发现mpg123等程序播放音频明显爆音,而kde程序不会,amarok(xine和gstreamer后端)音质非常好,
>>> > 上网搜索得知mpg123的口碑非常好,所以应该不是mpg的问题,我怀疑还是硬件识别的问题,不知道有了解这个问题的没有。
>>> > 二、grub升级到grub2的问题
>>> > 在grub的时候要想开机不进入Xwindows只要在kernel /vmliuz。。。后面加3就好,
>>> > 升级到grub2后这个不行了,我试过在grub.cfg中加text和修改
>>> > /etc/default/grub中GRUB_CMDLINE_LINUX="quiet rhgb text"
>>> > 后grub2-mkconfig -o /boot/grub2/grub.cfg都不行
>>> > 三、gnome-shell问题
>>> > fedora15的时候就存在,用开源驱动能进入gnome-shell,yum install kmod-nvidia或yum install
>>> > akmod-nvidia后就只能进入备用模式
>>> > 三种驱动都能识别显卡,nv go 7400
>>> > 在gnome-shell下使用search就马上崩溃。。。
>>> > 四、ibus-pinyin
>>> > ibus-pinyin无法使用ibus-sunpinyin正常
>>> >
>>> > 几个问题麻烦大家了,e文不好没法在FedoraForum.org上发。。。谢谢了。。。
>>> > --
>>> > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>>>
>>>
>>>
>>> --
>>> Take a Deep Breath out of Windows
>>>
>>> https://fedoraproject.org/wiki/User:Lovenemesis
>>> --
>>> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>>>
>>
>>
>


More information about the Chinese mailing list