前段时间编译安装的一个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
sicnature ---------------------------------------------------------------------
I P 地 址: 13.58.61.176
区 域 位 置: 美国俄亥俄都柏林
系 统 信 息:
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普 | 海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
没有评论