LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: rr19xx

声卡驱动ALSA安装指南-第三版=》03年06月08日更新

[复制链接]
发表于 2005-7-13 14:36:12 | 显示全部楼层
\\求助
我的alsa-driver-1.0.9b在makeinstall时候
发现有类似信息
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/net/sunrpc/sunrpc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/net/tux/tux.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/net/wanrouter/wanrouter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/acore/snd.odepmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/drivers/snd-portman2x4.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/i2c/other/snd-ak4114.o


但我正在使用的内核是  2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux

检查了一下/lib/modules/2.4.20-8smp,里面没有安装到snd-XXX.o文件
反而/lib/modules/2.4.20-8里面有

安完以后,modprobe snd-intel8x0
出现modprobe: Can't locate module snd-intel8x0错误信息

请问这是怎么回事啊?

附:lsmod
Module                  Size  Used by    Tainted: P
ac97_codec             13768   0  (unused)
soundcore               7044   0  (autoclean)
agpgart                48608   3  (autoclean)
nvidia               3648460   6
parport_pc             19204   1  (autoclean)
lp                      9188   0  (autoclean)
parport                39072   1  (autoclean) [parport_pc lp]
autofs                 13684   0  (autoclean) (unused)
8139too                18856   1
mii                     4124   0  [8139too]
ipt_REJECT              3928   6  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              15864   2  [ipt_REJECT iptable_filter]
sg                     37548   0  (autoclean)
sr_mod                 18168   0  (autoclean)
microcode               5184   0  (autoclean)
ide-scsi               12432   0
scsi_mod              110520   3  [sg sr_mod ide-scsi]
ide-cd                 35772   0
cdrom                  34176   0  [sr_mod ide-cd]
ntfs                   59840   6  (autoclean)
nls_cp936             124988  10  (autoclean)
vfat                   13196   2  (autoclean)
fat                    40088   0  (autoclean) [vfat]
keybdev                 2976   0  (unused)
mousedev                5656   1
hid                    22308   0  (unused)
input                   6208   0  [keybdev mousedev hid]
usb-uhci               27404   0  (unused)
ehci-hcd               20456   0  (unused)
usbcore                82592   1  [hid usb-uhci ehci-hcd]
ext3                   73376   3
jbd
回复 支持 反对

使用道具 举报

发表于 2005-7-14 14:52:39 | 显示全部楼层
以上的问题解决了,果然是内核源代码包的问题
自己把/usr/src/linux-2.4.20-8/include/linux中的verision.h中的#define UTS_RELEASE "2.4.20-8"改成#define UTS_RELEASE "2.4.20-8smp"
就搞定~~~
hehe
回复 支持 反对

使用道具 举报

发表于 2005-8-14 22:10:41 | 显示全部楼层
问题已解决....
我原来的出现的问题如下。。。就不删掉了,供参考




alsa 1.0.7
电脑配置是,865PE+ICH5
我make时的出错信息,radhat 9 ,集成声卡ac97,realtek acl650,
还有一个问题 ,开始作的内核源码联接, ln -s ******* *****



gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/root/linux/alsa/alsa-driver-1.0.7/include  -I/lib/modules/2.4.20-8/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  hdspm.c via82xx_modem.c als4000.c atiixp.c atiixp_modem.c azt3328.c bt87x.c cmipci.c cs4281.c ens1370.c ens1371.c es1938.c es1968.c fm801.c intel8x0.c intel8x0m.c maestro3.c rme32.c rme96.c sonicvibes.c via82xx.c > .depend
make[2]: Leaving directory `/root/linux/alsa/alsa-driver-1.0.7/pci'
make[2]: Entering directory `/root/linux/alsa/alsa-driver-1.0.7/usb'
make  -C usx2y fastdep
make[3]: Entering directory `/root/linux/alsa/alsa-driver-1.0.7/usb/usx2y'
/root/linux/alsa/alsa-driver-1.0.7/include/sndversions.h was not updated
copying file alsa-kernel/usb/usx2y/usbusx2y.c
patching file usbusx2y.c
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 succeeded at 169 (offset 19 lines).
Hunk #4 succeeded at 249 (offset 19 lines).
Hunk #6 succeeded at 310 (offset 19 lines).
Hunk #7 succeeded at 382 (offset 1 line).
Hunk #8 succeeded at 420 (offset 19 lines).
Hunk #9 succeeded at 479 (offset 1 line).
copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c
patching file usbusx2yaudio.c
copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c
patching file usX2Yhwdep.c
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/root/linux/alsa/alsa-driver-1.0.7/include  -I/lib/modules/2.4.20-8/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 -I/root/linux/alsa/alsa-driver-1.0.7/alsa-kernel/usb/usx2y usbusx2y.c usbusx2yaudio.c usX2Yhwdep.c > .depend
make[3]: Leaving directory `/root/linux/alsa/alsa-driver-1.0.7/usb/usx2y'
/root/linux/alsa/alsa-driver-1.0.7/include/sndversions.h was not updated
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
gcc -D__KERNEL__ -DMODULE=1 -I/root/linux/alsa/alsa-driver-1.0.7/include  -I/lib/modules/2.4.20-8/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 -I/root/linux/alsa/alsa-driver-1.0.7/alsa-kernel/usb -E -D__GENKSYMS__ usbmidi.c
| /sbin/genksyms -k 2.4.20  > /root/linux/alsa/alsa-driver-1.0.7/include/modules/usb__usbmidi.ver.tmp
mv /root/linux/alsa/alsa-driver-1.0.7/include/modules/usb__usbmidi.ver.tmp /root/linux/alsa/alsa-driver-1.0.7/include/modules/usb__usbmidi.ver
gcc -D__KERNEL__ -DMODULE=1 -I/root/linux/alsa/alsa-driver-1.0.7/include  -I/lib/modules/2.4.20-8/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 -I/root/linux/alsa/alsa-driver-1.0.7/alsa-kernel/usb -E -D__GENKSYMS__ usbcompat.c
| /sbin/genksyms -k 2.4.20  > /root/linux/alsa/alsa-driver-1.0.7/include/modules/usb__usbcompat.ver.tmp
mv /root/linux/alsa/alsa-driver-1.0.7/include/modules/usb__usbcompat.ver.tmp /root/linux/alsa/alsa-driver-1.0.7/include/modules/usb__usbcompat.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/root/linux/alsa/alsa-driver-1.0.7/include  -I/lib/modules/2.4.20-8/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 -I/root/linux/alsa/alsa-driver-1.0.7/alsa-kernel/usb usbaudio.c usbmixer.c usbmidi.c usbmidi.c > .depend
make[2]: Leaving directory `/root/linux/alsa/alsa-driver-1.0.7/usb'
make[2]: Entering directory `/root/linux/alsa/alsa-driver-1.0.7/pcmcia'
make  -C pdaudiocf fastdep
make[3]: Entering directory `/root/linux/alsa/alsa-driver-1.0.7/pcmcia/pdaudiocf'
/root/linux/alsa/alsa-driver-1.0.7/include/sndversions.h was updated
copying file alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c
patching file pdaudiocf.c
Hunk #2 succeeded at 29 with fuzz 1.
Hunk #3 FAILED at 62.
Hunk #4 succeeded at 80 (offset -4 lines).
Hunk #6 succeeded at 279 (offset -7 lines).
Hunk #8 succeeded at 448 (offset -7 lines).
1 out of 8 hunks FAILED -- saving rejects to file pdaudiocf.c.rej
make[3]: *** [pdaudiocf.c] Error 1
make[3]: Leaving directory `/root/linux/alsa/alsa-driver-1.0.7/pcmcia/pdaudiocf'make[2]: *** [_sfdep_pdaudiocf] Error 2
make[2]: Leaving directory `/root/linux/alsa/alsa-driver-1.0.7/pcmcia'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/root/linux/alsa/alsa-driver-1.0.7'
make: *** [include/sndversions.h] Error 2
回复 支持 反对

使用道具 举报

发表于 2005-8-26 23:41:54 | 显示全部楼层
我的还有问题,
我用的是FC3
在make install的时候出现以下问题:
[root@localhost alsa-driver-1.0.9]# make install
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/tmp/alsa-driver-1.0.9/acore'
Makefile:6: /tmp/alsa-driver-1.0.9/Makefile.conf: 没有那个文件或目录
make[1]: *** 没有规则可以创建目标“/tmp/alsa-driver-1.0.9/Makefile.conf”。 停止。make[1]: Leaving directory `/tmp/alsa-driver-1.0.9/acore'
make: *** [install-modules] 错误 1
回复 支持 反对

使用道具 举报

发表于 2005-10-21 02:44:21 | 显示全部楼层
今天装NV的OSS驱动装了半天没有发出声来 都是照着releasenote上面说的一步一步来了 还是不行 痛苦 mandriva自带的alsa驱动在看某些rmvb是会严重的卡机 唉。。。。本来已经下定决心不进win了 但是就是看不了电影 痛苦啊。。。。。。。。。。
回复 支持 反对

使用道具 举报

发表于 2005-10-24 20:05:58 | 显示全部楼层
我当初为了装双系统,装了好几次,就是最后一次没有声音……是否重装一次就可以了?升级安装能不能?
回复 支持 反对

使用道具 举报

发表于 2005-10-26 19:01:03 | 显示全部楼层
请问各位大哥帮帮忙alc202a芯片的声卡驱动问题?偶用的是turolinux7,装alsa-1.0.9b时,我按安装指南第三版指安装方法安安装前几步都很顺利,可是到在utils目录下执行./alsaconf时,提示找不到此文件,请各位大哥能够解答,都快急4偶了!
回复 支持 反对

使用道具 举报

发表于 2005-11-13 10:23:10 | 显示全部楼层
本人下载alsa-driver1.0.9b, alsa-lib-1.0.9,alsa-utils-1.0.9a安装后,
声卡还是不能驱动。错误提示是:#modprobe -->init_module: No such device
随后,我安装了一个alsa-oss-1.0.9,发现modinfo snd-**有输出,但是modprobe 仍然failed

具体如下:
[root@localhost root]# lspci -vv
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 03)
        Subsystem: Asustek Computer, Inc.: Unknown device 1893
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Interrupt: pin B routed to IRQ 0
        Region 0: I/O ports at e000 [size=256]
        Region 1: I/O ports at e100
        Region 2: Memory at 10000400 (32-bit, non-prefetchable) [size=512]
        Region 3: Memory at 10000600 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem (rev 03) (prog-if 00 [Generic])
        Subsystem: Asustek Computer, Inc.: Unknown device 1826
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 0
        Region 0: I/O ports at e200 [size=256]
        Region 1: I/O ports at e300 [size=128]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

[root@localhost root]# more /etc/modules.conf
alias eth0 8139too
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9a ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

[root@localhost root]# modinfo snd-intel8x0
filename:    /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o
description: "Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455"
author:      "Jaroslav Kysela <perex@suse.cz>"
license:     "GPL"
parm:        index int array (min = 1, max = 8), description "Index value for Intel i8x0 soundcard."
parm:        id string array (min = 1, max = 8), description "ID string for Intel i8x0 soundcard."
parm:        enable int array (min = 1, max = 8), description "Enable Intel i8x0 soundcard."
parm:        ac97_clock int array (min = 1, max = 8), description "AC'97 codec clock (0 = auto-detect)."
parm:        ac97_quirk string array (min = 1, max = 8), description "AC'97 workaround for strange hardware."
parm:        buggy_irq int array (min = 1, max = 8), description "Enable workaround for buggy interrupts on some motherboards."
parm:        xbox int array (min = 1, max = 8), description "Set to 1 for Xbox, if you have problems with the AC'97 codec detection."
[root@localhost root]# modprobe snd-intel8x0
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: insmod /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o failed
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: insmod snd-intel8x0 failed
回复 支持 反对

使用道具 举报

发表于 2005-11-13 10:34:51 | 显示全部楼层
忘了说明我的linux版本:
[root@localhost root]# uname -r  -m -p -i
2.4.20-8 i686 i686 i386

[root@localhost root]# dmesg
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000f740000 (usable)
BIOS-e820: 000000000f740000 - 000000000f750000 (ACPI data)
BIOS-e820: 000000000f750000 - 000000000f800000 (ACPI NVS)
0MB HIGHMEM available.
247MB LOWMEM available.
On node 0 totalpages: 63296
zone(0): 4096 pages.
zone(1): 59200 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/ hdc=ide-scsi
。。。
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Using IRQ router default [8086/24cc] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS1 at 0x02f8 (irq = 3) is a 16550A
PCI: No IRQ known for interrupt pin B of device 00:1f.6. Please try using pci=biosirq.
Real Time Clock Driver v1.10e
。。。。
PCI: Enabling device 00:1f.5 (0005 -> 0007)
PCI: No IRQ known for interrupt pin B of device 00:1f.5. Please try using pci=biosirq.
ALSA intel8x0.c:2651: unable to grab IRQ 0
PCI: No IRQ known for interrupt pin B of device 00:1f.5. Please try using pci=biosirq.
ALSA intel8x0.c:2651: unable to grab IRQ 0
PCI: No IRQ known for interrupt pin B of device 00:1f.5. Please try using pci=biosirq.
ALSA intel8x0.c:2651: unable to grab IRQ 0
回复 支持 反对

使用道具 举报

发表于 2005-11-13 10:37:07 | 显示全部楼层
问题如上面两篇 ,希望高手帮忙解决
我是新手,第一次使用linux, 所以回答越详细越好
回复 支持 反对

使用道具 举报

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

本版积分规则

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