linux下上网无声音,linux Centos下Mplayer没有声音的解决方法

前段时间编译安装的一个mplayer1.1版的播放器,播放文件没有声音,每次执行以下命令可以听,但一重启系统又不行了.

#modprobe snd_pcm_oss

#echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

#mplayer gongxi.mp3

有一行提示[AO OSS] audio_setup:无法打开音频设备/dev/dsp:No such file or directory

#ls/dev/

目录下并没有dsp这个文件

解决方法很简单:

#mknod /dev/dsp c 14 3

#chmod 666 /dev/dsp

#/var/log/messages

Feb 1 11:38:05 localhost polkitd[2587]: started daemon version 0.96 using authority implementation `local’ version `0.96′

Feb 1 11:38:06 localhost rtkit-daemon[2598]: Sucessfully made thread 2596 of process 2596 (/usr/bin/pulseaudio) owned by ’42’ high priority at nice level -11.

Feb 1 11:38:06 localhost pulseaudio[2596]: alsa-util.c: Disabling timer-based scheduling because running inside a VM.

Feb 1 11:38:06 localhost gdm-simple-greeter[2582]: Gtk-WARNING: gtkwidget.c:5460: widget not within a GtkWindow

Feb 1 11:38:06 localhost rtkit-daemon[2598]: Sucessfully made thread 2602 of process 2596 (/usr/bin/pulseaudio) owned by ’42’ RT at priority 5.

Feb 1 11:38:06 localhost pulseaudio[2596]: alsa-util.c: Disabling timer-based scheduling because running inside a VM.

Feb 1 11:38:06 localhost pulseaudio[2596]: alsa-sink.c: ALSA 提醒我们在该设备中写入新数据,但实际上没有什么可以写入的!

Feb 1 11:38:06 localhost pulseaudio[2596]: alsa-sink.c: 这很可能是 ALSA 驱动程序 ‘snd_ens1371′ 中的一个 bug。请向 ALSA 开发人员报告这个问题。

Feb 1 11:38:06 localhost pulseaudio[2596]: alsa-sink.c: 提醒我们设置 POLLOUT — 但结果是 snd_pcm_avail() 返回 0 或者另一个小于最小可用值的数值。

Feb 1 11:38:06 localhost rtkit-daemon[2598]: Sucessfully made thread 2603 of process 2596 (/usr/bin/pulseaudio) owned by ’42’ RT at priority 5.

Feb 1 11:38:10 localhost kernel: readahead-collector: sorting

Feb 1 11:38:10 localhost kernel: readahead-collector: finished

Feb 1 11:38:11 localhost tpvmlpd2[2621]: device type not supported

Feb 1 11:38:24 localhost pam: gdm-password[2636]: WARNING: unable to log session

Feb 1 11:38:24 localhost kernel: type=1400 audit(1359689904.694:33450): avc: denied { read } for pid=2636 comm=”gdm-session-wor” name=”root” dev=dm-0 ino=2621441 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

Feb 1 11:38:25 localhost seahorse-daemon[2734]: init gpgme version 1.1.8

Feb 1 11:38:26 localhost tpvmlpd2[2750]: device type not supported

Feb 1 11:38:27 localhost pulseaudio[2830]: pid.c: Stale PID file, overwriting.

Feb 1 11:38:27 localhost pulseaudio[2830]: alsa-sink.c: ALSA 提醒我们在该设备中写入新数据,但实际上没有什么可以写入的!

Feb 1 11:38:27 localhost pulseaudio[2830]: alsa-sink.c: 这很可能是 ALSA 驱动程序 ‘snd_ens1371’ 中的一个 bug。请向 ALSA 开发人员报告这个问题。

Feb 1 11:38:27 localhost pulseaudio[2830]: alsa-sink.c: 提醒我们设置 POLLOUT — 但结果是 snd_pcm_avail() 返回 0 或者另一个小于最小可用值的数值。

Feb 1 11:38:31 localhost nautilus: [N-A] Nautilus-Actions Tracker 2.30.3 initializing…

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] 无法在模块路径中找到主题引擎:“clearlooks”,

Feb 1 11:38:33 localhost vmusr[2777]: [ warning] [Gtk] gtk_disable_setlocale() must be called before gtk_init()

Feb 1 11:38:34 localhost nautilus: [N-A] Nautilus-Actions Menu Extender 2.30.3 initializing…

Feb 1 11:38:41 localhost tpvmlpd2[3086]: device type not supported

Feb 1 11:38:56 localhost tpvmlpd2[3104]: device type not supported

Feb 1 11:39:11 localhost tpvmlpd2[3109]: device type not supported

Feb 1 11:39:26 localhost tpvmlpd2[3113]: device type not supported

Feb 1 11:39:41 localhost tpvmlpd2[3184]: device type not supported

Feb 1 11:39:56 localhost tpvmlpd2[3189]: device type not supported

Feb 1 11:40:11 localhost tpvmlpd2[3196]: device type not supported

Feb 1 11:40:26 localhost tpvmlpd2[3202]: device type not supported

Feb 1 11:40:41 localhost tpvmlpd2[3206]: device type not supported

Feb 1 11:40:56 localhost tpvmlpd2[3215]: device type not supported

Feb 1 11:41:11 localhost tpvmlpd2[3219]: device type not supported

Feb 1 11:41:26 localhost tpvmlpd2[3224]: device type not supported

Feb 1 11:41:41 localhost tpvmlpd2[3231]: device type not supported

Feb 1 11:41:56 localhost tpvmlpd2[3235]: device type not supported

Feb 1 11:42:11 localhost tpvmlpd2[3239]: device type not supported

Feb 1 11:42:26 localhost tpvmlpd2[3252]: device type not supported

Feb 1 11:42:41 localhost tpvmlpd2[3256]: device type not supported

Feb 1 11:42:56 localhost tpvmlpd2[3262]: device type not supported

Feb 1 11:42:56 localhost tpvmlpd2[2201]: aborting

a8ce4811a9813b30af6c80bc2ef15277.png

sicnature ---------------------------------------------------------------------

Your current IP address is: 49.88.174.77

Your IP address location: 江苏省连云港市电信

Your IP address country and region: 中国

d9840db1de5c066b3143a36b83ba0940.png

Your current browser is:

c55e3eff36f0c380a04e3e5ffee3bbca.png

Your current system is:

mac.png

Original content, please indicate the source:

同福客栈论坛 | 蟒蛇科普 | 海南乡情论坛 | JiaYu Blog

sicnature ---------------------------------------------------------------------

Welcome to reprint. Please indicate the source https://www.myzhenai.com.cn/post/925.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值