|
在root下声音系统完全正常,有kmix小喇叭图标,但是以一个普用用户登录就没有kmix那个小喇叭图标,会提示“音频回放设备hda ati sb 不工作,换回。“
确认将该用户加入了audio用户组,在虚拟终端以root登录或者sudo可以完好播放声音文件
ls -l /dev/snd
总计 0
crw-rw---- 1 root audio 116, 0 2009-12-29 19:51 controlC0
crw-rw---- 1 root audio 116, 32 2009-12-29 19:51 controlC1
crw-rw---- 1 root audio 116, 6 2009-12-29 19:51 hwC0D2
crw-rw---- 1 root audio 116, 36 2009-12-29 19:51 hwC1D0
crw-rw---- 1 root audio 116, 24 2009-12-29 19:51 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2009-12-29 19:51 pcmC0D0p
crw-rw---- 1 root audio 116, 25 2009-12-29 19:51 pcmC0D1c
crw-rw---- 1 root audio 116, 17 2009-12-29 19:51 pcmC0D1p
crw-rw---- 1 root audio 116, 51 2009-12-29 19:51 pcmC1D3p
crw-rw---- 1 root audio 116, 1 2009-12-29 11:51 seq
crw-rw---- 1 root audio 116, 33 2009-12-29 19:51 timer
lsmod|grep '^snd' | column -t
snd_seq_dummy 3172 0
snd_seq_oss 33536 0
snd_seq_midi_event 7264 1 snd_seq_oss
snd_seq 56320 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7188 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42976 0
snd_mixer_oss 16768 1 snd_pcm_oss
snd_hda_codec_atihdmi 4000 1
snd_hda_codec_realtek 253956 1
snd_hda_intel 27176 0
snd_hda_codec 60192 3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 8456 1 snd_hda_codec
snd_pcm 80872 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 22256 2 snd_seq,snd_pcm
snd 65000 11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc 9616 2 snd_hda_intel,snd_pcm
ls -l /sys/module/snd/holders
总计 0
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_hda_codec_realtek -> ../../snd_hda_codec_realtek
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_mixer_oss -> ../../snd_mixer_oss
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_pcm_oss -> ../../snd_pcm_oss
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_seq -> ../../snd_seq
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_seq_oss -> ../../snd_seq_oss
lrwxrwxrwx 1 root root 0 2009-12-29 12:44 snd_timer -> ../../snd_timer
any ideas ? |
|