LinuxSir.cn,穿越时空的Linuxsir!

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

aureal声卡8820,在magiclinux1.1,rh9下安装方法

[复制链接]
发表于 2003-5-16 12:19:09 | 显示全部楼层 |阅读模式
我用的芯片是8820的,以前rh8可以通过,现在rh9编译不成功,

查看了好多国外的论坛,写下安装方法

BIOS中如果有"pnp OS"选项,选择NO.
确认已安装gcc和cvs:
在系统设置->软件包中,选择开发工具,开发工具的细节中确认gcc和cvs已选上。
确认已安装内核开发工具:
在系统设置->软件包中,确认选择内核开发工具。


1。cvs -z3 -d:pserver:anonymous@cvs.aureal.sourceforge.net:/cvsroot/aureal co aureal
下载最新aureal包,

2。修改文件
au_audio.c

line 623
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 8)
改成
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20)

line 645
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 8)
改成
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20)


用hexedit打开 asp20.o,把所有的gcc2改成gcc3,相应的如果你的芯片是8810,8830,则改asp10.o,asp30.o
3.su
make au8820
make install
/sbin/modprobe soundcore
/sbin/insmod -f au8820

4.两条命令加入/ect/rc.d/rc.local中,
/sbin/modprobe soundcore
/sbin/insmod -f au8820

这样每次重起都会有声音了。


如果下载不了驱动,www.linuxfans.com有
发表于 2003-5-18 20:32:41 | 显示全部楼层

我在Mandrake91里也不行!!

我机器老了点,请别见笑!
问题有二:
1.Mandrake91里显示出我点s90声卡模块是坏的,我不明白是否在安装mandrake91时已经安装了驱动程序,是什么驱动程序(alsa还是oss或者别点什么?)
2.如果已经安装了,我该怎样做才能让声卡出声?
 楼主| 发表于 2003-5-18 20:47:14 | 显示全部楼层
没有安装,照我说的做,Mandrake91只能检测
发表于 2003-5-18 21:01:34 | 显示全部楼层

大问题?

你说的内核开发工具是指kernerl-source吗?
是不是还有其他的东西需要安装 的?
那cvs是指cvs-1.11.5.1mdk吗?
发表于 2003-5-18 21:08:37 | 显示全部楼层

出错了!!

[cyx@localhost cyx]$ cvs -z3 -d:pserver:anonymous@cvs.aureal.sourceforge.net:/cvsroot/aureal co aureal
cvs checkout: warning: failed to open /home/cyx/.cvspass for reading: No such file or directory
cvs server: Updating aureal
出错了!!
发表于 2003-5-20 01:07:19 | 显示全部楼层
发表于 2003-6-11 21:20:37 | 显示全部楼层
打开asp20.o全是16进制代码,又如何将gcc2改成gcc3?还望指教
发表于 2003-6-11 21:30:54 | 显示全部楼层
用hexedit,上面说的很明白了。。如果没有这个工具,请安装一下。


[root@linuxsir01 root]# rpm -ivh hexedit-1.2.2-8.i386.rpm
[root@linuxsir01 gaim]#  hexedit --help
[root@linuxsir01 gaim]# man hexedit
 楼主| 发表于 2003-6-12 10:58:41 | 显示全部楼层
好久没来了,哈哈,北南真勤快
发表于 2003-7-15 20:54:00 | 显示全部楼层
我的Aureal Vortex(au8810芯片),在redhat8上能通过,在redhat9上编译出错,请大侠指教,谢谢!

步骤1.下载最新驱动包。
步骤2.修改文件。
步骤3.编译-以下是拷贝的编译信息,请大侠赐教。

一.
[xxx@localhost xxx]$ su
Password:
[root@localhost xxx]# cd aureal
[root@localhost aureal]# make
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_audio.o au_audio.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
au_audio.c: In function `au_audio_mmap':
au_audio.c:626: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes poi
nter from integer without a cast
au_audio.c:626: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
au_audio.c:626: too few arguments to function `remap_page_range_R2baf18f2'
au_audio.c:648: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes poi
nter from integer without a cast
au_audio.c:648: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
au_audio.c:648: too few arguments to function `remap_page_range_R2baf18f2'
make: *** [au_audio.o] Error 1

二.
[root@localhost aureal]# make au8810
make compile NAME=au8810 ASP_OBJ=asp10.o
make[1]: Entering directory `/home/xxx/aureal'
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall                              -pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_audio.o au_audio.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst                             ead.
au_audio.c: In function `au_audio_mmap':
au_audio.c:626: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes poi                             nter from integer without a cast
au_audio.c:626: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
au_audio.c:626: too few arguments to function `remap_page_range_R2baf18f2'
au_audio.c:648: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes poi                             nter from integer without a cast
au_audio.c:648: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
au_audio.c:648: too few arguments to function `remap_page_range_R2baf18f2'
make[1]: *** [au_audio.o] Error 1
make[1]: Leaving directory `/home/xxx/aureal'
make: *** [au8810] Error 2
[root@localhost aureal]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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