在ubuntu 7.04下驱动黑金2声卡

为当前最终发行版之前的所有版本提供支持
kevin79
帖子: 2
注册时间: 2006-03-12 17:39
送出感谢: 0
接收感谢: 0

在ubuntu 7.04下驱动黑金2声卡

#1

帖子 kevin79 » 2007-04-29 14:30

ubuntu 7.04自带的cs46xx驱动能找到硬件但是无声
我根据岛谷最早的官方驱动修改了一下,适合于最新版的内核了
在我的BlackgoldII Cannon上测试通过
因为是在alsa-project的官方发行包上修改的
其他linux发行版应该也可以用,只是安装步骤可能有些细微差异

安装步骤

下载 alsa driver source 到 /usr/src
ftp://ftp.alsa-project.org/pub/driver/a ... c3.tar.bz2

下载附件中的 patch-blackgold2-alsa-1.0.14rc3.tar.bz2 解压到 /usr/src

sudo apt-get install build-essential linux-headers-$(uname -r)
cd /usr/src
sudo tar xjvf alsa-driver-1.0.14rc3.tar.bz2
cd alsa-driver-1.0.14rc3
patch -p1 < ../patch-blackgold2-alsa-1.0.14rc3
sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r) --with-cards=cs46xx --with-oss=yes
sudo make
sudo make install

重启系统,应该就有声音了
附件
patch-blackgold2-alsa-1.0.14rc3.gz
补丁
(786 Bytes) 下载 382 次
entainment
帖子: 2
注册时间: 2007-05-06 21:05
送出感谢: 0
接收感谢: 0

#2

帖子 entainment » 2007-05-06 21:40

非常感谢LZ提供的补丁,现在我的CANNO也能发声了,哈哈
但还是有个问题,那个耳机输出还是没有声音啊,能否解决下,多谢!
liony
帖子: 4
注册时间: 2007-05-09 18:46
送出感谢: 0
接收感谢: 0

#3

帖子 liony » 2007-05-17 4:40

我用的是MANDIRVA 2007.我下载了你的文件还有1.0.14rc3 的包.按你的方法编译成功了.但是还是驱动不了connon阿.不知道是什么原因.

以下是dmesg的信息:

snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_register_device
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_rawmidi: Unknown symbol snd_register_device
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_register_device
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_rawmidi: Unknown symbol snd_register_device
snd_cs46xx: Unknown symbol snd_rawmidi_receive
snd_cs46xx: Unknown symbol snd_rawmidi_transmit
snd_cs46xx: Unknown symbol snd_ac97_write_cache
snd_cs46xx: Unknown symbol snd_ac97_resume
snd_cs46xx: Unknown symbol snd_pcm_new
snd_cs46xx: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_cs46xx: Unknown symbol snd_pcm_format_unsigned
snd_cs46xx: Unknown symbol snd_pcm_format_physical_width
snd_cs46xx: Unknown symbol snd_ac97_update_bits
snd_cs46xx: Unknown symbol snd_ac97_mixer
snd_cs46xx: Unknown symbol snd_ac97_bus
snd_cs46xx: Unknown symbol snd_ac97_suspend
snd_cs46xx: Unknown symbol snd_pcm_lib_malloc_pages
snd_cs46xx: Unknown symbol snd_pcm_lib_ioctl
snd_cs46xx: Unknown symbol snd_pcm_lib_free_pages
snd_cs46xx: Unknown symbol snd_pcm_set_ops
snd_cs46xx: Unknown symbol snd_pcm_hw_constraint_list
snd_cs46xx: Unknown symbol snd_pcm_suspend_all
snd_cs46xx: Unknown symbol snd_rawmidi_new
snd_cs46xx: Unknown symbol snd_rawmidi_set_ops
snd_cs46xx: Unknown symbol snd_pcm_format_big_endian
snd_cs46xx: Unknown symbol snd_pcm_period_elapsed
snd_cs46xx: Unknown symbol snd_ac97_write
snd_cs46xx: Unknown symbol snd_ac97_read
snd_cs46xx: Unknown symbol snd_pcm_format_width
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_register_device
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_rawmidi: Unknown symbol snd_register_device
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_register_device
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_rawmidi: Unknown symbol snd_register_device
snd_cs46xx: Unknown symbol snd_rawmidi_receive
snd_cs46xx: Unknown symbol snd_rawmidi_transmit
snd_cs46xx: Unknown symbol snd_ac97_write_cache
snd_cs46xx: Unknown symbol snd_ac97_resume
snd_cs46xx: Unknown symbol snd_pcm_new
snd_cs46xx: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_cs46xx: Unknown symbol snd_pcm_format_unsigned
snd_cs46xx: Unknown symbol snd_pcm_format_physical_width
snd_cs46xx: Unknown symbol snd_ac97_update_bits
snd_cs46xx: Unknown symbol snd_ac97_mixer
snd_cs46xx: Unknown symbol snd_ac97_bus
snd_cs46xx: Unknown symbol snd_ac97_suspend
snd_cs46xx: Unknown symbol snd_pcm_lib_malloc_pages
snd_cs46xx: Unknown symbol snd_pcm_lib_ioctl
snd_cs46xx: Unknown symbol snd_pcm_lib_free_pages
snd_cs46xx: Unknown symbol snd_pcm_set_ops
snd_cs46xx: Unknown symbol snd_pcm_hw_constraint_list
snd_cs46xx: Unknown symbol snd_pcm_suspend_all
snd_cs46xx: Unknown symbol snd_rawmidi_new
snd_cs46xx: Unknown symbol snd_rawmidi_set_ops
snd_cs46xx: Unknown symbol snd_pcm_format_big_endian
snd_cs46xx: Unknown symbol snd_pcm_period_elapsed
snd_cs46xx: Unknown symbol snd_ac97_write
snd_cs46xx: Unknown symbol snd_ac97_read
snd_cs46xx: Unknown symbol snd_pcm_format_width
NET: Registered protocol family 17
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_register_device
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_rawmidi: Unknown symbol snd_register_device
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_register_device
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_rawmidi: Unknown symbol snd_register_device
snd_cs46xx: Unknown symbol snd_rawmidi_receive
snd_cs46xx: Unknown symbol snd_rawmidi_transmit
snd_cs46xx: Unknown symbol snd_ac97_write_cache
snd_cs46xx: Unknown symbol snd_ac97_resume
snd_cs46xx: Unknown symbol snd_pcm_new
snd_cs46xx: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_cs46xx: Unknown symbol snd_pcm_format_unsigned
snd_cs46xx: Unknown symbol snd_pcm_format_physical_width
snd_cs46xx: Unknown symbol snd_ac97_update_bits
snd_cs46xx: Unknown symbol snd_ac97_mixer
snd_cs46xx: Unknown symbol snd_ac97_bus
snd_cs46xx: Unknown symbol snd_ac97_suspend
snd_cs46xx: Unknown symbol snd_pcm_lib_malloc_pages
snd_cs46xx: Unknown symbol snd_pcm_lib_ioctl
snd_cs46xx: Unknown symbol snd_pcm_lib_free_pages
snd_cs46xx: Unknown symbol snd_pcm_set_ops
snd_cs46xx: Unknown symbol snd_pcm_hw_constraint_list
snd_cs46xx: Unknown symbol snd_pcm_suspend_all
snd_cs46xx: Unknown symbol snd_rawmidi_new
snd_cs46xx: Unknown symbol snd_rawmidi_set_ops
snd_cs46xx: Unknown symbol snd_pcm_format_big_endian
snd_cs46xx: Unknown symbol snd_pcm_period_elapsed
snd_cs46xx: Unknown symbol snd_ac97_write
snd_cs46xx: Unknown symbol snd_ac97_read
snd_cs46xx: Unknown symbol snd_pcm_format_width


如果还是不行的话.打算用Ubuntu了.唉~~~
tigerpower
帖子: 2
注册时间: 2007-05-29 7:35
送出感谢: 0
接收感谢: 0

#4

帖子 tigerpower » 2007-05-30 0:13

楼主真世外高人,佩服佩服!!!
以前那个基于alsa1.08的官方驱动只能用至kernel-2.6.12,为了系统能发声,就一直没有更新kernel。
今天,重新编译了kernel-2.6.21.3,并驱动alsa-driver-1.0.14rc4成功,有声音的,哈哈,谢谢楼主:)

顺便说一下,我用的是debian sid。声卡是BlackgoldII Cannon。
我终于又可以在无聊的时候编译kernel玩了,赫赫赫赫!
rambler
帖子: 1
注册时间: 2007-04-22 14:46
送出感谢: 0
接收感谢: 0

#5

帖子 rambler » 2007-06-25 15:33

太激动了,非常感谢楼主,终于可以摆脱虚拟机了
dreamrise
帖子: 4
注册时间: 2007-06-26 11:37
送出感谢: 0
接收感谢: 0

#6

帖子 dreamrise » 2007-06-27 4:38

楼主我爱你。
MCAR
帖子: 1
注册时间: 2007-08-17 8:39
送出感谢: 0
接收感谢: 0

#7

帖子 MCAR » 2007-08-26 1:27

太感谢,我流泪了,看了你这个我终于知道我安装这么多次失误的地方了!!!
kgen
帖子: 51
注册时间: 2007-05-28 18:24
送出感谢: 0
接收感谢: 0

#8

帖子 kgen » 2007-09-13 3:09

感谢LZ,但是耳机输出依然没有,谁给点思路。
feimao
帖子: 11
注册时间: 2007-09-15 19:56
送出感谢: 0
接收感谢: 0

#9

帖子 feimao » 2007-09-16 19:37

kgen 写了:感谢LZ,但是耳机输出依然没有,谁给点思路。

同你一样的问题。我只有耳机输出。声卡是能启动了。听到了“塔”一声
flywtime
帖子: 3
注册时间: 2007-10-09 21:10
送出感谢: 0
接收感谢: 0

#10

帖子 flywtime » 2007-10-14 16:49

楼主你好

我在执行 patch -p1 < ../patch-blackgold2-alsa-1.0.14rc3 时
终端回复 patch -p1 < ../patch-blackgold2-alsa-1.0.14rc3

这是为什么呀
flywtime
帖子: 3
注册时间: 2007-10-09 21:10
送出感谢: 0
接收感谢: 0

#11

帖子 flywtime » 2007-10-14 16:51

楼主你好

我在执行 patch -p1 < ../patch-blackgold2-alsa-1.0.14rc3 时
终端回复bash: ../patch-blackgold2-alsa-1.0.14rc3: No such file or directory


这是为什么呀
flywtime
帖子: 3
注册时间: 2007-10-09 21:10
送出感谢: 0
接收感谢: 0

#12

帖子 flywtime » 2007-10-14 17:15

晕 还有个补丁 我找到了
feihu277
帖子: 11
注册时间: 2007-06-09 15:23
送出感谢: 0
接收感谢: 0

#13

帖子 feihu277 » 2007-11-16 20:51

以前装7.04的时候按lz的方法安装成功。但现在安装7.10后,执行patch -p1 < ../patch-blackgold2-alsa-1.0.14rc3 时出现错误
bash: ../patch-blackgold2-alsa-1.0.14rc3: Permission denied

不知道是什么原因,哪里的权限问题?
cnxs
帖子: 2
注册时间: 2009-05-09 17:02
送出感谢: 0
接收感谢: 0

请教在ubuntu 8.10下驱动黑金2声卡

#14

帖子 cnxs » 2009-05-17 16:35

您好

刚搜索到您的文章,按方法下载了驱动和补丁

但安装到make install

就出错了,不知道是否因为我用的是ubuntu 8.10的缘故

能否给我提供些帮助

无声的世界好痛苦的,不知道是否要去下载 7。04的ISO来装了


可以的话请加我QQ:56821001

谢谢

kevin79 写了:ubuntu 7.04自带的cs46xx驱动能找到硬件但是无声
我根据岛谷最早的官方驱动修改了一下,适合于最新版的内核了
在我的BlackgoldII Cannon上测试通过
因为是在alsa-project的官方发行包上修改的
其他linux发行版应该也可以用,只是安装步骤可能有些细微差异

安装步骤

下载 alsa driver source 到 /usr/src
ftp://ftp.alsa-project.org/pub/driver/a ... c3.tar.bz2

下载附件中的 patch-blackgold2-alsa-1.0.14rc3.tar.bz2 解压到 /usr/src

sudo apt-get install build-essential linux-headers-$(uname -r)
cd /usr/src
sudo tar xjvf alsa-driver-1.0.14rc3.tar.bz2
cd alsa-driver-1.0.14rc3
patch -p1 < ../patch-blackgold2-alsa-1.0.14rc3
sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r) --with-cards=cs46xx --with-oss=yes
sudo make
sudo make install

重启系统,应该就有声音了
ahwa_1st
帖子: 6
注册时间: 2007-04-28 14:15
送出感谢: 0
接收感谢: 0

Re: 在ubuntu 7.04下驱动黑金2声卡

#15

帖子 ahwa_1st » 2010-05-06 19:21

回复11#的话,在patch 前面加sudo
回复

回到 “老旧版本支持”