Ubuntu 安装后没有声音

来源:互联网 发布:ios开发播放网络视频 编辑:程序博客网 时间:2024/04/28 13:11

在硬件机器上用wubi安装了ubuntu

description: Desktop Computer
    version: Lenovo Product
    width: 32 bits
    capabilities: smbios-2.5 dmi-2.5 smp-1.4 smp

但是在安装好后,声卡无法工作,结果就开始网上寻找解决方法。

我这在sound performance中但硬件hardware上看不到声卡,所以,我还以为我没有安装上声卡,

但所在用alsa,命令后,Usage: /sbin/alsa {unload|reload|force-unload|force-reload|suspend|resume}

所以 我就用 alsa force-reload后,以为能强制加载上驱动,但是,结果总不算让人满意但

lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/liu/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-seq-device snd-hda-intel snd-hda-codec-realtek snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc.
Loading ALSA sound driver modules: snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-seq-device snd-hda-intel snd-hda-codec-realtek snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc.
liu@ubuntu:~/Downloads$ sudo alsa force-reload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/liu/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/liu/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-realtek snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device (failed: modules still loaded: snd-hda-codec-realtek snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer).
Loading ALSA sound driver modules: snd-hda-codec-realtek snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device.
这就算强制加载声卡驱动但结果,驱动加载了

但是,柳暗花明,看见有大神说可能所自己没有神卡使用但权限

liu@ubuntu:~/Downloads$ sudo ls -la /dev/snd
total 0
drwxr-xr-x  3 root root      180 2012-07-22 19:20 .
drwxr-xr-x 18 root root     4300 2012-07-22 19:18 ..
drwxr-xr-x  2 root root       60 2012-07-22 19:20 by-path
crw-rw----  1 root audio 116,  5 2012-07-22 19:20 controlC0
crw-rw----  1 root audio 116,  4 2012-07-22 19:20 hwC0D0
crw-rw----  1 root audio 116,  3 2012-07-22 19:20 pcmC0D0c
crw-rw----  1 root audio 116,  2 2012-07-22 19:20 pcmC0D0p
crw-rw----  1 root audio 116,  1 2012-07-22 19:20 seq
crw-rw----  1 root audio 116, 33 2012-07-22 19:18 timer

这样看一下,看把,

liu@ubuntu:~/Downloads$ groups
liu adm dialout cdrom plugdev lpadmin admin sambashare

我没有在 audio 组里面

////////////////////////////////////////////////////////////////////////////////////////////////////////
liu@ubuntu:~/Downloads$ sudo chmod -R a+rwx /dev/snd


liu@ubuntu:~/Downloads$ sudo ls -la /dev/snd
total 0
drwxrwxrwx  3 root root      180 2012-07-22 19:20 .
drwxr-xr-x 18 root root     4300 2012-07-22 19:18 ..
drwxrwxrwx  2 root root       60 2012-07-22 19:20 by-path
crwxrwxrwx  1 root audio 116,  5 2012-07-22 19:20 controlC0
crwxrwxrwx  1 root audio 116,  4 2012-07-22 19:20 hwC0D0
crwxrwxrwx  1 root audio 116,  3 2012-07-22 19:25 pcmC0D0c
crwxrwxrwx  1 root audio 116,  2 2012-07-22 19:52 pcmC0D0p
crwxrwxrwx  1 root audio 116,  1 2012-07-22 19:20 seq
crwxrwxrwx  1 root audio 116, 33 2012-07-22 19:18 timer


现在都可以用使用了

可以听歌了。。。


原创粉丝点击