Linux debian 2.6.32-5-amd64 #1 SMP Thu Nov 3 03:41:26 UTC 2011 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.3 (squeeze)
Release: 6.0.3
Codename: squeeze
===========================================================
syslog
## No system sound in Debian
Dec 1 09:45:04 localhost rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="1280" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Dec 1 09:45:05 localhost anacron[1943]: Job `cron.daily' terminated
Dec 1 09:45:05 localhost anacron[1943]: Normal exit (1 job run)
Dec 1 10:15:49 localhost scim-bridge: Cleanup, done. Exitting...
Dec 1 10:17:01 localhost /USR/SBIN/CRON[3632]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Dec 1 11:17:01 localhost /USR/SBIN/CRON[3801]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
**No flsah sound in Debian iceweasel
** flsah開始播放 但無聲音也無錯誤訊息
** flsah繼續播放,接著開啟mplayer,出現以下錯誤訊息
**如果不使用flsah,單用mplayer則正常
Dec 1 11:39:09 localhost pulseaudio[2335]: alsa-sink.c: Error opening PCM device hw:0: 裝置或系統資源忙碌中
Dec 1 11:39:09 localhost pulseaudio[2335]: alsa-sink.c: Error opening PCM device hw:0: 裝置或系統資源忙碌中
Dec 1 11:39:09 localhost pulseaudio[2335]: alsa-sink.c: Error opening PCM device hw:0: 裝置或系統資源忙碌中
Dec 1 11:39:09 localhost pulseaudio[2335]: sink-input.c: Failed to create sink input: sink is suspended.
停止播放
Dec 1 11:42:46 localhost pulseaudio[2335]: ratelimit.c: 164 events suppressed
localhost kernel: [ 1875.864472] ALSA pcm.c:174: 2:2:1: endpoint lacks sample rate attribute bit, cannot set.
localhost kernel: [ 1875.870452] ALSA pcm.c:174: 2:1:1: endpoint lacks sample rate attribute bit, cannot set.
=====================================================================================
** 排除flsash問題
## flashplayer ln 到以下 Selection Path Priority Status
------------------------------------------------------------
0 /usr/local/lib/flashplayer10_2_p3/libflashplayer.so 60 auto mode
1 /usr/lib/flashplugin-nonfree/libflashplayer.so 50 manual mode
2 /usr/lib/gnash/libgnashplugin.so 10 manual mode
* 3 /usr/local/lib/flash_player_11_linux.x86_64/libflashplayer.so 40 manual mode
4 /usr/local/lib/flashplayer10_2_p3/libflashplayer.so 60 manual mode
=================================================
module-x11-publish display=0.0
==========================================================
## default.pa
# Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink (## 沒有"device=hw:0,0" )
#load-module module-alsa-source device=hw:1,0
===========================================================
file:///etc/pulse/daemon.conf
; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
================================================================
file:///proc/asound/oss/devices
0: [0- 0]: mixer
1: : sequencer
2: [0- 0]: raw midi
3: [0- 0]: digital audio
4: [0- 0]: digital audio
8: : sequencer
9: [0- 0]: raw midi
10: [0- 0]: hardware dependent
12: [0- 1]: digital audio
16: [1- 0]: mixer
19: [1- 0]: digital audio
20: [1- 0]: digital audio
====================================================================
安裝以下套件
paprefs (0.9.9-2)
pulseaudio-esound-compat (0.9.21-3+squeeze1)
pulseaudio-module-bluetooth (0.9.21-3+squeeze1)
pulseaudio-module-gconf (0.9.21-3+squeeze1)
pulseaudio-module-hal (0.9.21-3+squeeze1)
pulseaudio-module-jack (0.9.21-3+squeeze1)
pulseaudio-module-x11 (0.9.21-3+squeeze1)
pulseaudio-module-zeroconf (0.9.21-3+squeeze1)
==========================================
*** dev 下的dsp
ls /dev/dsp*
/dev/dsp /dev/dsp1
***沒有dsp0 ,/dev/dsp 一般連到 /dev/dsp0\
0 [CMI8738 ]: CMI8738-MC6 - C-Media CMI8738
C-Media CMI8738 (model 55) at 0xd800, irq 22
1 [default ]: USB-Audio - USB AUDIO
USB AUDIO at usb-0000:00:1d.0-1, full speed
/proc/asound/cards (END)
==============================================
試過[筆記] 讓 ALSA 跟 PulseAudio 完美共存的資料
http://nelson.pixnet.net/blog/post/2261 ... 1%E5%AD%98
# sudo gedit /etc/pulse/default.pa
# 找到「#load-module module-alsa-sink」,改成「
load-module module-alsa-sink device=dmix」。
# 找到「load-module module-suspend-on-idle」,改成「#load-module module-suspend-on-idle」
# 找到「load-module module-hal-detect」,改成「#load-module module-hal-detec
試過 "pulseaudio 很好用的sound server"
viewtopic.php?t=11377
/etc/pulse/default.pa
### Load audio drivers statically
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=plughw:1,0
試過No sound in flash in Debian iceweasel
http://www.shcherbyna.com/?p=1059
原作是使用kde,我是使用gnome
In openSUSE it was a matter of creation of file ~/.asoundrc
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
=============================
也試過
apt-get install alsa-source
m-a a-i alsa-source
reboot
fuser /dev/dsp,也無任何訊息
從file:///proc/asound/oss/devices
懷疑[0- 0]: digital audio 出問題
請問還可從何處下手