红联Linux门户
Linux帮助

新安装的fedora13没有声音

发布时间:2010-10-16 15:59:54来源:红联作者:yy4709
新安装的fedora13没有声音,不知为何?

1、在/etc/中没有这个文件/etc/modprobe.conf。不知谁在用fedora13能否把你的/etc/modprobe.conf这个文件贴出来吗?
2、alsa-info
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
ALSA Information Script v 0.4.58
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)

See '/usr/bin/alsa-info --help' for command line options.

cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
cat: /proc/asound/modules: No such file or directory
Newer version detected: 0.4.59
To view the ChangeLog, please visit http://www.alsa-project.org/alsa-info.sh.changelog
ALSA-Info script has been downloaded /tmp/alsa-info.xfayrBfPwT.
Please, re-run it from new location.
3、 alsamixer已经设为MM.
文章评论

共有 6 条评论

  1. love35459 于 2010-12-08 22:04:59发表:

    为什么每次都要用alsamixer才能调声音呢

  2. lianjiefly 于 2010-10-17 18:33:31发表:

    应该是声卡模块没有正常加载引起的,用modprobe snd_hda_codec_realtek 加载一下看看。如果不行那就装下驱动。还有你运行alsamixer后按F6看看有没有声卡,如果没有声卡那一定是没加载驱动了。你编译alsa直接config make make install就行了,,
    编译过程,,针对你声卡你写的,,
    ./configure --with-cards=hda-intel --with-card-options=hda-codec-realtek
    make
    make install
    出问题发我邮箱吧 lianjiefly@gmail.com
    自己多google希望能帮得上你

  3. yy4709 于 2010-10-17 17:17:49发表:

    [i=s] 本帖最后由 yy4709 于 2010-10-17 17:26 编辑 [/i]

    主板集成Realtek声卡(AC97)-----Realtek ALC883@Inetl82801IB CH9 - High Definition Audio Controller.

  4. jump_start 于 2010-10-17 16:43:22发表:

    什么型号声卡?

  5. yy4709 于 2010-10-17 12:12:26发表:

    谢谢lianjiefly指教!
    1、 ls /etc/modprobe.d/
    anaconda.conf blacklist-visor.conf dist.conf openfwwf.conf blacklist.conf dist-alsa.conf dist-oss.conf 没有modprobe.conf啊?

    2、运行alsamixer:
    AlsaMixer v1.0.22 ──────────────────────────────┐
    │ Card: PulseAudio F1: Help │
    │ Chip: PulseAudio F2: System information │
    │ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
    │ Item: Master Esc: Exit
    并设为Master(最大值)。

    3、$ sudo lsmod |grep snd(没有输出)
    $ sudo lsmod |grep sound (是这样吗?)
    soundcore 6198 0 (应该是加载了)

    4、安装alsa-driver-1.0.23出错:
    ./conrigure (正常)
    make
    make dep
    make[1]: Entering directory `/opt/alsa/alsa-driver-1.0.23'
    make[2]: Entering directory `/opt/alsa/alsa-driver-1.0.23/include'
    make -C sound prepare
    make[3]: Entering directory `/opt/alsa/alsa-driver-1.0.23/include/sound'
    make prepare2
    make[4]: Entering directory `/opt/alsa/alsa-driver-1.0.23/include/sound'
    make[4]: Nothing to be done for `prepare2'.
    make[4]: Leaving directory `/opt/alsa/alsa-driver-1.0.23/include/sound'
    make[3]: Leaving directory `/opt/alsa/alsa-driver-1.0.23/include/sound'
    make[2]: Leaving directory `/opt/alsa/alsa-driver-1.0.23/include'
    make[2]: Entering directory `/opt/alsa/alsa-driver-1.0.23/acore'
    copying file alsa-kernel/core/info.c
    /opt/alsa/alsa-driver-1.0.23/utils/patch-alsa: line 22: patch: command not found
    make[2]: *** [info.c] 错误 1
    make[2]: Leaving directory `/opt/alsa/alsa-driver-1.0.23/acore'
    make[1]: *** [dep] 错误 1
    make[1]: Leaving directory `/opt/alsa/alsa-driver-1.0.23'
    make: *** [include/sndversions.h] 错误 2

  6. lianjiefly 于 2010-10-17 11:21:19发表:

    lsmod |grep snd 看你的驱动有没有加载,没有的话就是驱动问题了,fedora下没有/etc/modprobe.conf,modprobe在/etc/modprobe.d/下。运行alsamixer看是否运行正常。if不正常说明还是alsa的问题。否则正常的话看下各个选项的音量是否正常。按m键是静音开关。自己多google,linux下不要用百度!