LinuxSir.cn,穿越时空的Linuxsir!

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

求助:昂达nf5s板载声卡怎样驱动?

[复制链接]
发表于 2006-12-20 19:05:55 | 显示全部楼层 |阅读模式
新装的FC6,内核版本:2.6.18-1.2789。从网上下载alsa-driver-1.0.7.tar.bz2,alsa-lib-1.0.7.tar.bz2,alsa-utils-1.0.7.tar.bz2。但在安装alsa-lib-1.0.7时出现以下错误:
conf.c: In function 'snd_config_search_hooks':
conf.c:2499: error: invalid storage class for function 'snd_config_hooks'
conf.c: In function 'snd_config_searcha_hooks':
conf.c:2519: error: invalid storage class for function 'snd_config_hooks'
conf.c: At top level:
conf.c:2685: error: static declaration of 'snd_config_hooks' follows non-static declaration
conf.c:2500: error: previous implicit declaration of 'snd_config_hooks' was here
make[2]: *** [conf.lo] Error 1
make[2]: Leaving directory `/home/oommf/softwares/alsa/alsa-lib-1.0.7/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/oommf/softwares/alsa/alsa-lib-1.0.7/src'
make: *** [install-recursive] Error 1
请教高手解决。本人新手一个实在不明白个中缘由。
谢谢。
我也想把声卡的芯片信息贴邮来的,可是我的系统里:
[root@MS05 /]# lspci
bash: lspci: command not found
不知为什么?
在/sbin/下分明有lspci的, man lspci也有。
当然,可能 是我的系统不是完整安装的,但我后来去升级时,却不出来要定制的包,直接一下子说升级完了让我去reboot。
这又是为什么?
 楼主| 发表于 2006-12-20 20:04:13 | 显示全部楼层
哦。终于能用lspci了。具体信息如下 。
[oommf@MS05 sbin]$ /sbin/lspci -vv
00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0
        Capabilities: <access denied>

00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0

00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Interrupt: pin A routed to IRQ 5
        Region 4: I/O ports at 1c00
        Region 5: I/O ports at 1c40
        Capabilities: <access denied>

00:01.2 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1) (prog-if 10 [OHCI])
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2) (prog-if 20 [EHCI])
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin B routed to IRQ 11
        Region 0: Memory at fe02e000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) (prog-if 8a [Master SecP PriP])
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Region 4: I/O ports at f400
        Capabilities: <access denied>

00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) (prog-if 85 [Master SecO PriO])
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 09f0
        Region 1: I/O ports at 0bf0
        Region 2: I/O ports at 0970
        Region 3: I/O ports at 0b70
        Region 4: I/O ports at e000
        Region 5: Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) (prog-if 85 [Master SecO PriO])
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin B routed to IRQ 11
        Region 0: I/O ports at 09e0
        Region 1: I/O ports at 0be0
        Region 2: I/O ports at 0960
        Region 3: I/O ports at 0b60
        Region 4: I/O ports at cc00
        Region 5: Memory at fe02c000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) (prog-if 85 [Master SecO PriO])
        Subsystem: nVidia Corporation Unknown device cb84
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin C routed to IRQ 5
        Region 0: I/O ports at c800
        Region 1: I/O ports at c400
        Region 2: I/O ports at c000
        Region 3: I/O ports at bc00
        Region 4: I/O ports at b800
        Region 5: Memory at fe02b000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2) (prog-if 01 [Subtractive decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: fdd00000-fddfffff
        Prefetchable memory behind bridge: fde00000-fdefffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        Capabilities: <access denied>

00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
        Subsystem: nVidia Corporation MCP55 High Definition Audio
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin B routed to IRQ 5
        Region 0: Memory at fe020000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

00:0a.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: fdc00000-fdcfffff
        Prefetchable memory behind bridge: 00000000fdb00000-00000000fdb00000
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        Capabilities: <access denied>

00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 00008000-00008fff
        Memory behind bridge: fda00000-fdafffff
        Prefetchable memory behind bridge: 00000000fd900000-00000000fd900000
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        Capabilities: <access denied>

00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 00007000-00007fff
        Memory behind bridge: fd800000-fd8fffff
        Prefetchable memory behind bridge: 00000000fd700000-00000000fd700000
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        Capabilities: <access denied>

00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 00006000-00006fff
        Memory behind bridge: fa000000-fcffffff
        Prefetchable memory behind bridge: 00000000e0000000-00000000eff00000
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
        Capabilities: <access denied>

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Capabilities: <access denied>

01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at ac00 [size=256]
        Region 1: Memory at fddff000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

05:00.0 VGA compatible controller: nVidia Corporation GeForce 7300 LE (rev a1) (prog-if 00 [VGA])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at fc000000 [disabled] [size=128K]
        Capabilities: <access denied>
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-20 20:11:41 | 显示全部楼层
还有就是/usr/src/下并没有linux-2.x.x,只有一个kernels文件夹。信息如下:
[root@MS05 /]# cd /usr/src
[root@MS05 src]# ls
kernels
[root@MS05 src]# cd kernels/
[root@MS05 kernels]# ls
2.6.18-1.2798.fc6-i686
[root@MS05 kernels]# cd 2.6.18-1.2798.fc6-i686/
[root@MS05 2.6.18-1.2798.fc6-i686]# ls
arch     include         lib             scripts
block    init            Makefile        security
crypto   ipc             mm              sound
drivers  kabi_whitelist  Module.symvers  symsets-2.6.18-1.2798.fc6.tar.gz
fs       kernel          net             usr
望高手指教。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-20 20:16:14 | 显示全部楼层
已经加载的内核模块有:
[root@MS05 /]# /sbin/lsmod
Module                  Size  Used by
nfsd                  221169  17
exportfs               10049  1 nfsd
lockd                  66249  2 nfsd
nfs_acl                 7873  1 nfsd
autofs4                25413  2
hidp                   24129  2
l2cap                  31681  5 hidp
bluetooth              58917  2 hidp,l2cap
sunrpc                158333  12 nfsd,lockd,nfs_acl
ip_conntrack_ftp       12081  0
ip_conntrack_netbios_ns     7105  0
ipt_REJECT              9665  1
xt_state                6337  7
ip_conntrack           56993  3 ip_conntrack_ftp,ip_conntrack_netbios_ns,xt_state
nfnetlink              11353  1 ip_conntrack
iptable_filter          7233  1
ip_tables              17669  1 iptable_filter
ip6t_REJECT             9537  1
xt_tcpudp               7361  24
ip6table_filter         7105  1
ip6_tables             18821  1 ip6table_filter
x_tables               18501  6 ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
dm_mirror              32913  0
dm_multipath           22601  0
dm_mod                 61529  2 dm_mirror,dm_multipath
ipv6                  267745  19 ip6t_REJECT
parport_pc             31205  1
lp                     17033  0
parport                40841  2 parport_pc,lp
floppy                 61285  0
snd_hda_intel          22613  1
snd_hda_codec         154049  1 snd_hda_intel
snd_seq_dummy           8133  0
snd_seq_oss            37057  0
snd_seq_midi_event     11841  1 snd_seq_oss
snd_seq                57137  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12621  3 snd_seq_dummy,snd_seq_oss,snd_seq
sg                     38493  0
8139cp                 28481  0
snd_pcm_oss            46561  0
snd_mixer_oss          20673  1 snd_pcm_oss
i2c_nforce2            11457  0
snd_pcm                80453  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
8139too                31169  0
k8_edac                18561  0
snd_timer              27077  2 snd_seq,snd_pcm
edac_mc                27209  1 k8_edac
mii                     9665  2 8139cp,8139too
i2c_core               25537  1 i2c_nforce2
snd                    57029  11 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
ide_cd                 42337  2
soundcore              14113  1 snd
snd_page_alloc         14281  2 snd_hda_intel,snd_pcm
cdrom                  38625  1 ide_cd
pcspkr                  7361  0
serio_raw              11205  0
sata_nv                15685  3
libata                102745  1 sata_nv
sd_mod                 24897  26
scsi_mod              138601  3 sg,libata,sd_mod
ext3                  135369  2
jbd                    63081  1 ext3
ehci_hcd               35533  0
ohci_hcd               25181  0
uhci_hcd               27725  0
回复 支持 反对

使用道具 举报

发表于 2006-12-21 17:52:14 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-23 13:12:25 | 显示全部楼层
多谢!正在下!
回复 支持 反对

使用道具 举报

发表于 2006-12-25 16:41:53 | 显示全部楼层
呵呵,我的装好了。只要用ALSA的最新版本就好了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-1 22:52:35 | 显示全部楼层
哦,不是吧。我的到现在还没有解决呀!!!
楼上的能不能再说得详细点。
谢谢!
我觉得是该好好学linux的时候了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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