LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 691|回复: 2

再问声卡问题--汗!!

[复制链接]
发表于 2007-4-6 10:40:23 | 显示全部楼层 |阅读模式
机器为inux aaa 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386 GNU/Linux
我有两个问题,但是看了《声卡驱动ALSA安装指南(第三版)》── rr19xx兄大作

《用ALSA驱动声卡流程详解》──北南南北 后还是不能解决.

lspci -v | grep Multimedia:想显示声卡芯片组可什么也没有!

00:00.0 Host bridge: Intel Corporation Workstation Memory Controller Hub
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] #09 [2109]

00:01.0 PCI bridge: Intel Corporation PCI Express Graphics Port (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e9000000-eb1fffff
        Prefetchable memory behind bridge: 00000000e0000000-00000000e8100000
        Capabilities: [88] #0d [0000]
        Capabilities: [80] Power Management version 2
        Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [a0] #10 [0141]

00:1b.0 Class 0403: Intel Corporation I/O Controller Hub High Definition Audio (rev 01)
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at e8500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [70] #10 [0091]

00:1c.0 PCI bridge: Intel Corporation I/O Controller Hub PCI Express Port 1 (rev 01) (prog-if 00 [Normal deco
de])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=10, subordinate=10, sec-latency=0
        Capabilities: [40] #10 [0141]
        Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [90] #0d [0000]
        Capabilities: [a0] Power Management version 2

00:1c.4 PCI bridge: Intel Corporation I/O Controller Hub PCI Express Port 5 (rev 01) (prog-if 00 [Normal deco
de])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=28, subordinate=28, sec-latency=0
        Capabilities: [40] #10 [0141]
        Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [90] #0d [0000]
        Capabilities: [a0] Power Management version 2

00:1c.5 PCI bridge: Intel Corporation I/O Controller Hub PCI Express Port 6 (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=3f, subordinate=3f, sec-latency=0
        Memory behind bridge: e8200000-e84fffff
        Capabilities: [40] #10 [0141]
        Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [90] #0d [0000]
        Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation I/O Controller Hub UHCI USB #1 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at 1000

00:1d.1 USB Controller: Intel Corporation I/O Controller Hub UHCI USB #2 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at 1020

00:1d.2 USB Controller: Intel Corporation I/O Controller Hub UHCI USB #3 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1040

00:1d.3 USB Controller: Intel Corporation I/O Controller Hub UHCI USB #4 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1060

00:1d.7 USB Controller: Intel Corporation I/O Controller Hub EHCI USB (rev 01) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, medium devsel, latency 0, IRQ 5
        Memory at e8504000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] #0a [20a0]

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
        Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation I/O Controller Hub LPC (rev 01)
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] #09 [100c]

00:1f.2 IDE interface: Intel Corporation I/O Controller Hub SATA cc=IDE (rev 01) (prog-if 80 [Master])
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 5
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at 10b0
        Capabilities: [70] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV41GL [Quadro FX 1400] (rev a2) (prog-if 00 [VGA])
        Subsystem: nVidia Corporation: Unknown device 0243
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at e9000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=128M]
        Memory at ea000000 (64-bit, non-prefetchable) [size=16M]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [78] #10 [0001]

3f:00.0 Ethernet controller: Broadcom Corporation: Unknown device 1600 (rev 01)
        Subsystem: Hewlett-Packard Company: Unknown device 3013
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at e8400000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Vital Product Data
        Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
        Capabilities: [d0] #10 [0001]
第二个问题是:
  在www.alsa-project.org 网站上查找与kernel相对应的alsa怎么查找:
  如:关于redhat发行版2.4.20-xx系列内核的问题。
rehat发行版中,如果是使用最新的2.4.20-xx内核及其源码包,例如redhat9,应该安装alsa-0.9.4版本,而之前的0.9.x是不能安装使用的。
 楼主| 发表于 2007-4-6 13:07:17 | 显示全部楼层

编译alsa-1.0.7.tar出错

我按步骤:先alsa-lib-1.0.7.tar
                  alsa-utils-1.0.7.tar
                  alsa-driver-1.0.7.tar
   但编译alsa-driver-1.0.7.tar,make出错:
gcc -D__KERNEL__ -DMODULE=1 -I/tmp/alsa/alsa-driver-1.0.7/include  -I/lib/modules/2.4.21-32.EL/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include  -DKBUILD_BASENAME=vxp_mixer   -c -o vxp_mixer.o vxp_mixer.c
copying file alsa-kernel/pcmcia/vx/vxpocket.c
patching file vxpocket.c
Hunk #2 FAILED at 73.
Hunk #3 succeeded at 175 (offset -6 lines).
1 out of 3 hunks FAILED -- saving rejects to file vxpocket.c.rej
make[2]: *** [vxpocket.c] Error 1
make[2]: Leaving directory `/tmp/alsa/alsa-driver-1.0.7/pcmcia/vx'
make[1]: *** [_modsubdir_vx] Error 2
make[1]: Leaving directory `/tmp/alsa/alsa-driver-1.0.7/pcmcia'
make: *** [compile] Error 1

这是怎么会事?
回复 支持 反对

使用道具 举报

发表于 2007-4-7 23:46:10 | 显示全部楼层
你这个很简单就可以解决了,起码比我问的那个简单多了!

你的是INTEL HD AUDIO [ 最好先在XP下看清楚,起码也先翻下主板说明书 ]

00:1b.0 Class 0403: Intel Corporation I/O Controller Hub High Definition Audio (rev 01)
Subsystem: Hewlett-Packard Company: Unknown device 3013
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at e8500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] #10 [0091]

现在的内核一般有驱动的,起码我得到 26204 内核里我看到了,点选为 M (模块)后
make modules
make modules_install
然后就可以用 modprobe加载了,至于配套的 LIB和UT,用13就可以了,14RC1有BUG
14RC2,RC3没有试。。

试试看ALSACONF 一般有那个模块,而且UT比较新的话就直接自动配置了.....

我的情况是 把驱动直接编如内核而不用 M ,认是认出来了,可是不知道 怎么用ALSACONF配置
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表