LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2003-9-19 18:56:22 | 显示全部楼层

求教19哥

你好19哥,问一下
1如果我想重新编译一个新内核会不会对alsa造成影响还需要重新安装alsa吗?
2如果我要卸载像alsa这样需解压后安装的程序(.tar.bz2) 该如何操作?
   不言谢!
 楼主| 发表于 2003-9-19 20:34:17 | 显示全部楼层

回复 叉子

1.会。重新编译内核后,需要重新编译安装alsa。因为alsa驱动是安装到当前运行内核的模块目录中的。请看/lib/modules/目录。
2.你这个问题范围有点大。有些程序编译后,可在其源码目录下执行:make uninstall 以删除程序。一般来说,自己编译的程序,如果没有指定安装路径,或安装程序自身没有特定指定路径的。(如上alsa便有自己的特定安装目录),会安装至/usr/local/目录下,分布在bin、lib等目录中。有关这个问题,建议你使用搜索功能,再进一步进行了解。 至于alsa,我觉得如果是因为编译新内核而想卸载alsa驱动,那么是没有必要的,但为了再次编译alsa,要删掉原来的alsa源码目录。
发表于 2003-9-22 17:17:07 | 显示全部楼层

下载alsa096,按照置顶的帖子做,出现以下错误,求助!

安装driver的时候,
./configure
出现下面的错误提示:
config.status: include/version.h is unchanged
我应该怎么办?
发表于 2003-9-22 17:27:54 | 显示全部楼层
同时我的声卡是
82801CA/CAM AC'97 Audio
Intel Corp.
i810_audio
那么
./configure --with-cards=模块名称
后面的模块名称应该用什么?
 楼主| 发表于 2003-9-22 22:06:05 | 显示全部楼层
第一个问题:那不是错误信息,不用理会。
第二个问题:请仔细阅读指南。
“如果你知道自己声卡的模块名称,则可以用: ./configure --with-cards=模块名称 如我的是8235芯片的软声卡,则为:./configure --with-cards=via82xx 但如果不清楚的话,还是请用./congfigure 以编译alsa所支持的所有声卡的驱动。”
发表于 2003-9-22 22:51:02 | 显示全部楼层
针对第一个问题:不是错误信息没有用啊。在哪里就停住了。
第二个问题:我想能够快点。呵呵偷懒!
 楼主| 发表于 2003-9-23 00:04:39 | 显示全部楼层
你是在哪里停住了?请尽可能详细描述相关信息(做到哪一步?有什么出错信息?等等),否则无法判断原因提供帮助。

至于模块名称,当你成功安装一次alsa后就知道了。。。以后再编译时就能填上了。。。
发表于 2003-9-23 07:35:02 | 显示全部楼层
#./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
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 current directory... /mnt/info/iso/system/alsa096/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for kernel version... 2.4.20-8
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
checking for redhat kernel... "no"
./configure: line 3151: test: =: unary operator expected
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-8/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged

运行configure后的情况。在上面的提示后就停住了。
 楼主| 发表于 2003-9-23 13:13:10 | 显示全部楼层
困惑,停住是什么意思? ./configure执行到这里就结束了啊,下一步就是执行make,进行编译驱动了。
另外,由上面的信息看来,你已执行了几次./configure。请删除当前alsa源码包,重新解压alsa-driver的包,再编译。
再次重申,请明确详细描述相关信息,以助判断。
发表于 2003-9-23 22:50:22 | 显示全部楼层
感谢楼上帮忙。编译安装完成,现在配置完声卡以后出现这样的错误:
Loading driver...
Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod snd-intel8x0 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...

然后不能使用gamix。
我在哪里还有错误呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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