红联Linux门户
Linux帮助

[求助] Intel 850芯片组 for linux声卡驱动(附图)(已解决)

发布时间:2008-09-30 19:51:33来源:红联作者:10573636
我刚安装完红旗linux6.0桌面版后是在状态栏有声卡小图标的,但是重新启动一次后就没有了,在网上找了很多方法都没有成功,希望得到高手指点,谢谢,附图!这个是我在红旗Linux 6.0桌面版中终端程序命令行下运行alsaconf后的图,但是仍然没有成功。
[attach]9629[/attach]
___________________________________________________________________________________
[attach]9630[/attach]
___________________________________________________________________________________
[attach]9631[/attach]
___________________________________________________________________________________
[attach]9632[/attach]
___________________________________________________________________________________
[root@localhost ~]# lspci -v
00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (M
CH) (rev 02)
Subsystem: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH
)
Flags: bus master, fast devsel, latency 0
Memory at e2000000 (32-bit, prefetchable) [size=4M]
Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev
02) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00009000-00009fff
Memory behind bridge: e0000000-e1ffffff
Prefetchable memory behind bridge: d0000000-dfffffff

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04) (prog-if 00 [Nor
mal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: e2400000-e24fffff

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 04) (p
rog-if 80 [Master])
Subsystem: Micro-Star International Co., Ltd. Unknown device 5230
Flags: bus master, medium devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size
=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size
=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size
=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size
=1]
I/O ports at f000 [size=16]

[size=3]00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
(prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 5230
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at b000


00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 04)
Subsystem: Micro-Star International Co., Ltd. Unknown device 5230
Flags: medium devsel, IRQ 5
I/O ports at 5000

00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
(prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 5230
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at b400

00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio C
ontroller (rev 04)
Subsystem: Micro-Star International Co., Ltd. Unknown device 5230
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at b800
I/O ports at bc00

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550] (
prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc RV350 AS [Radeon 9550]
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 12
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at 9000
Memory at e1000000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at e0000000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

01:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Seconda ry)
Subsystem: ATI Technologies Inc Unknown device 4152
Flags: bus master, 66MHz, medium devsel, latency 32
Memory at d8000000 (32-bit, prefetchable) [size=128M]
Memory at e1010000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2

02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139 C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at a000
Memory at e2400000 (32-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
[/size][/size]

[ 本帖最后由 10573636 于 2008-10-1 01:07 编辑 ]
文章评论

共有 11 条评论

  1. dxb20040101 于 2009-03-15 20:12:09发表:

    我的系统是红旗6sp1主板是技加845G,集成的声卡,我的操作和你说的一模一样,可是就是没有你那幸运了。
    [root@dxb Desktop]# cd alsa-utils-1.0.19
    [root@dxb alsa-utils-1.0.19]# ./configure;make;make install
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for cross-compiler... gcc
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for ALSA CFLAGS...
    checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
    checking for libasound headers version >= 1.0.16... found.
    checking for snd_ctl_open in -lasound... yes
    checking for xmlto... yes
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for ncurses5-config... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGE_FILES value needed for large files... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating alsactl/Makefile
    config.status: creating alsactl/init/Makefile
    config.status: creating alsamixer/Makefile
    config.status: creating amidi/Makefile
    config.status: creating amixer/Makefile
    config.status: creating m4/Makefile
    config.status: creating po/Makefile.in
    config.status: creating alsaconf/alsaconf
    config.status: creating alsaconf/Makefile
    config.status: creating alsaconf/po/Makefile
    config.status: WARNING: alsaconf/po/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating aplay/Makefile
    config.status: creating include/Makefile
    config.status: creating iecset/Makefile
    config.status: creating utils/Makefile
    config.status: creating utils/alsa-utils.spec
    config.status: creating seq/Makefile
    config.status: creating seq/aconnect/Makefile
    config.status: creating seq/aplaymidi/Makefile
    config.status: creating seq/aseqdump/Makefile
    config.status: creating seq/aseqnet/Makefile
    config.status: creating speaker-test/Makefile
    config.status: creating speaker-test/samples/Makefile
    config.status: creating include/aconfig.h
    config.status: include/aconfig.h is unchanged
    config.status: executing po-directories commands
    config.status: creating po/POTFILES
    config.status: creating po/Makefile
    config.status: executing depfiles commands
    Making all in include
    make[1]: Entering directory `/root/Desktop/alsa-utils-1.0.19/include'
    make all-am
    make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/include'
    make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/include'
    make[1]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/include'
    Making all in alsactl
    make[1]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    Making all in init
    make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
    make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    xmlto man alsactl_init.xml
    make[2]: xmlto:命令未找到
    make[2]: *** [alsactl_init.7] 错误 127
    make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    make[1]: *** [all-recursive] 错误 1
    make[1]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    make: *** [all-recursive] 错误 1
    Making install in include
    make[1]: Entering directory `/root/Desktop/alsa-utils-1.0.19/include'
    make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/include'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/include'
    make[1]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/include'
    Making install in alsactl
    make[1]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    Making install in init
    make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
    make[3]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
    make[3]: Nothing to be done for `install-exec-am'.
    test -z "/usr/share/alsa/init" || mkdir -p -- "/usr/share/alsa/init"
    /usr/bin/install -c -m 644 '00main' '/usr/share/alsa/init/00main'
    /usr/bin/install -c -m 644 'default' '/usr/share/alsa/init/default'
    /usr/bin/install -c -m 644 'help' '/usr/share/alsa/init/help'
    /usr/bin/install -c -m 644 'info' '/usr/share/alsa/init/info'
    /usr/bin/install -c -m 644 'test' '/usr/share/alsa/init/test'
    /usr/bin/install -c -m 644 'hda' '/usr/share/alsa/init/hda'
    make[3]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
    make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
    make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    xmlto man alsactl_init.xml
    make[2]: xmlto:命令未找到
    make[2]: *** [alsactl_init.7] 错误 127
    make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    make[1]: *** [install-recursive] 错误 1
    make[1]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
    make: *** [install-recursive] 错误 1
    下的三个包,只有这个包会出问题,其它两个都能正常通过,就是找不到声卡

  2. dxb20040101 于 2008-10-14 21:57:07发表:

    老大,我为什么执行make install会有这种错误提示,我是在虚拟机上装的LINUX,会和这有关么

    [root@localhost alsa-driver-1.0.17]# make install
    if [ -L /usr/include/sound ]; then \
    rm -f /usr/include/sound; \
    ln -sf /src/alsa-driver-1.0.17/include/sound /usr/include/sound; \
    else \
    rm -rf /usr/include/sound; \
    install -d -m 755 -g root -o root /usr/include/sound; \
    for f in include/sound/*.h; do \
    install -m 644 -g root -o root $f /usr/include/sound; \
    done \
    fi
    find /lib/modules/2.6.23.1-4/kernel/sound -name 'snd*.*o' | xargs rm -f
    find /lib/modules/2.6.23.1-4/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
    find /lib/modules/2.6.23.1-4/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
    find /lib/modules/2.6.23.1-4/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
    make[1]: Entering directory `/src/alsa-driver-1.0.17/acore'
    mkdir -p /lib/modules/2.6.23.1-4/kernel/sound/acore
    cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.23.1-4/kernel/sound/acore
    cp: 无法 stat “snd-hwdep.ko”: 没有那个文件或目录
    cp: 无法 stat “snd-page-alloc.ko”: 没有那个文件或目录
    cp: 无法 stat “snd-pcm.ko”: 没有那个文件或目录
    cp: 无法 stat “snd-rawmidi.ko”: 没有那个文件或目录
    cp: 无法 stat “snd-rtctimer.ko”: 没有那个文件或目录
    cp: 无法 stat “snd-timer.ko”: 没有那个文件或目录
    cp: 无法 stat “snd.ko”: 没有那个文件或目录
    make[1]: *** [modules_install] 错误 1
    make[1]: Leaving directory `/src/alsa-driver-1.0.17/acore'
    make: *** [install-modules] 错误 1

  3. 10573636 于 2008-10-01 01:50:04发表:

    我是个Linux新手,呵呵~找了很多资料,很懵啊!我也不知道方法正确不,反正把过程写下来,算是对自己心得体会吧!我只留下最后正确出现声音前的过程!
    OS:红旗Linux6.0桌面版
    芯片组:Intel 850 pro2
    一.http://www.alsa-project.org/main/index.php/Main_Page去下载3个文件
    1 alsa-driver-1.0.17
    2 alsa-lib-1.0.17a
    3 alsa-utils-1.0.17
    二.不知道怎么用tar,对这3个文件直接用右键解压到我自己创建的根分区/src/文件夹中
    /src/driver
    /src/lib
    /src/utils
    三.打开终端程序
    1.[root@localhost ~]# cd /
    2.[root@localhost /]# cd src
    3.[root@localhost src]# cd driver
    4.[root@localhost driver]#./configure
    5.[root@localhost driver]# make
    6.[root@localhost driver]# make install
    四.将/src/driver
    /src/lib
    /src/utils|三个目录中的文件都在终端程序中按"三"所列方法执行一遍.
    五.重新开终端程序
    [root@localhost ~]# alsaconf
    会发现
    [attach]9644[/attach]

    变成了

    [attach]9645[/attach]


    然后一路OK,重新启动计算机,会多了一个声音的图标[attach]9646[/attach],
    灰色打斜杠,没关系,呵呵~~能看见就不错了,其实是静音了,打开静音,
    发现仍然没有声音,图标也变成[attach]9647[/attach],

    为什么还是没有声音呢?
    打开混音器
    [attach]9648[/attach],
    里面有个[attach]9649[/attach]的图标,管他呢,都打开试试吧,反正折腾了这么长时间都没声音,我拷,耳朵炸聋了!
    声音出来了!哈哈!其实好简单的,只不过我一直没有找对方法。
    但是我还是想不明白的就是ALSA 1.0.15和ALSA 1.0.17的区别咋就这么大哩?用ALSA 1.0.15一路OK始终就不行!
    六.此帖只准鼓励,不准打击哈,大侠请手下留情!
    七.对了,还有个变化,看高级选项中index int 值被修改成了0,原来这里是没有值的,不知道最早开始装驱动前的时候是不是直接修改这个值就可以恢复声音。
    [attach]9650[/attach]
    [attach]9651[/attach]

    [ 本帖最后由 10573636 于 2008-10-1 02:20 编辑 ]

  4. 10573636 于 2008-09-30 22:41:48发表:

    我在etc/modprobe.conf里发现:
    alias scsi_hostadapter ata_piix
    remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
    alias usb-controller uhci-hcd
    alias scsi_hostadapter1 piix
    alias eth0 8139too
    alias sound off # ADDED_BY_OSS
    alias midi off # ADDED_BY_OSS

  5. 10573636 于 2008-09-30 22:24:10发表:

    [root@localhost ~]# lsmod
    Module Size Used by
    rfcomm 39576 0
    hidp 24960 2
    l2cap 28160 10 rfcomm,hidp
    bluetooth 50772 5 rfcomm,hidp,l2cap
    nf_conntrack_ipv4 12804 2
    xt_state 6016 2
    nf_conntrack 47176 2 nf_conntrack_ipv4,xt_state
    nfnetlink 8216 2 nf_conntrack_ipv4,nf_conntrack
    xt_tcpudp 6528 4
    ipt_REJECT 8064 1
    iptable_filter 6272 1
    ip_tables 15428 1 iptable_filter
    x_tables 14596 4 xt_state,xt_tcpudp,ipt_REJECT,ip_tables
    usb_storage 61320 0
    ipv6 248572 14
    dm_mirror 23168 0
    dm_multipath 18952 0
    dm_mod 49072 2 dm_mirror,dm_multipath
    video 19344 0
    output 6912 1 video
    sbs 20360 0
    dock 12432 0
    battery 14472 0
    ac 8836 0
    parport_pc 24980 1
    lp 14704 0
    parport 31560 2 parport_pc,lp
    floppy 52020 0
    ac97_bus 5760 0
    snd_seq_dummy 7940 0
    snd_seq_oss 35476 0
    snd_seq_midi_event 11008 1 snd_seq_oss
    snd_seq 51380 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 12172 3 snd_seq_dummy,snd_seq_oss,snd_seq
    fglrx 1477932 0
    snd_pcm_oss 42624 0
    8139too 25088 0
    gl620a 7552 0
    snd_mixer_oss 19840 1 snd_pcm_oss
    usbnet 18952 1 gl620a
    8139cp 23552 0
    mii 8064 3 8139too,usbnet,8139cp
    button 11024 0
    snd_pcm 75012 1 snd_pcm_oss
    snd_timer 25092 2 snd_seq,snd_pcm
    snd 54324 8 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    intel_agp 22932 1
    i2c_i801 11408 0
    soundcore 9540 1 snd
    iTCO_wdt 12964 0
    agpgart 28340 2 fglrx,intel_agp
    snd_page_alloc 14088 1 snd_pcm
    iTCO_vendor_support 6404 1 iTCO_wdt
    i2c_core 21248 1 i2c_i801
    sr_mod 19236 0
    cdrom 33060 1 sr_mod
    sg 33436 0
    ide_disk 18688 0
    piix 11396 0 [permanent]
    generic 7684 0 [permanent]
    ide_core 105156 3 ide_disk,piix,generic
    ata_generic 10372 0
    ata_piix 18308 3
    libata 94796 2 ata_generic,ata_piix
    ext3 115720 2
    jbd 51368 1 ext3
    ehci_hcd 32268 0
    ohci_hcd 21636 0
    uhci_hcd 24208 0
    _______________________________________________________________________
    是不是说明没有snd-intel8x0或snd-intel8x0m??

  6. 10573636 于 2008-09-30 22:07:36发表:

    [root@localhost ~]# ls /lib/modules/2.6.23.1-4/kernel/
    arch crypto drivers fs lib net oss
    oss就是声音驱动的位置文件夹吧?
    _______________________________________________________________________
    [root@localhost ~]# modinfo soundcore
    filename: /lib/modules/2.6.23.1-4/updates/sound/soundcore.ko
    alias: char-major-14-*
    license: GPL
    author: Alan Cox
    description: Core sound module
    srcversion: 548AA54AF08207316C104F8
    depends:
    vermagic: 2.6.23.1-4 SMP mod_unload 686
    需要编译内核吗?
    ------------------------------------------------------------------------------------

  7. rtl 于 2008-09-30 21:28:26发表:

    ?? snd-intel8x0m

  8. 10573636 于 2008-09-30 21:01:13发表:

    引用:
    原帖由 lrfz008 于 2008-9-30 20:46 发表
    测试能有音乐出来么

    没有音乐声出现!
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [attach]9628[/attach]
    是不是这个模块不支持我的声卡类型?那应该怎么办呢?

  9. lrfz008 于 2008-09-30 20:46:12发表:

    测试能有音乐出来么

  10. 10573636 于 2008-09-30 20:29:39发表:

    引用:
    原帖由 rtl 于 2008-9-30 20:23 发表
    Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio C
    ontroller (rev 04)

    用 snd-intel8x0.ko 内核模?即可

    [attach]9627[/attach]
    是这个意思吗?但是还是不行啊!

  11. rtl 于 2008-09-30 20:23:04发表:

    Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio C
    ontroller (rev 04)

    用 snd-intel8x0.ko 内核模?即可