Testers wanted: New SB X-Fi driver
Quoted 12 lines
At Tue, 30 Jun 2009 16:10:45 +0200,
Quoted 4 lines · Matthias Diehl
hi,
i guess you dont speak german, do you? well, i'll try it in
english ;-)
Quoted 2 lines
i tried to install your newest x-fi "hack" in ubuntu 9.04 64bit.
it's an x-fi extreme music. i downloaded this snapshot:
Quoted 1 line
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
Quoted 30 lines
Use alsa-driver-snapshot.tar.gz instead of the unstable one.
Quoted 1 line
while the installation process there are some warnings. after
replacing the demon.conf and reboot there was no sound.
Quoted 2 lines
then i noticed the sentence "Note that the ctxfi driver might
conflict with the HD-audio driver" in the description. i think my problem is the hdmi soundchip from my graphics adapter (sapphire radeon hd 4870) which was automatically installed at the ubuntu-installation
("hda intel sound").You are likely looking at irrelevant things.
There are several variants of X-Fi boards. Many of them are equipped with emu20k1 or emu20k2 chip. Some of these models can behave as HD-audio compatible, too. These are supported by snd-ctxfi driver.
In addition, there is X-Fi models that are without emu20k1/emu20k2 chips. Some of them (CA0110-IBG) behave only as a HD-audio device, and some others are with CA0106 chip. The former is supported by snd-hda-intel driver and the latter by snd-ca0106 driver.
So, they cannot be deactivated. The only question is whether you have emu20k1/emu20k2 chip on your board. And this can be checked when you load snd-ctxfi driver. If the driver is properly loaded and the card instance is created (see
/proc/asound/cards), then it's good. Otherwise, your board is no such one. You need other drivers.
Quoted 7 lines
Please ask further questions on alsa-devel ML (you can add me to Cc, though) so that other people with your board can advice better.
HTH,
Takashi
hi there,
i now tried to install the stable version, but i have still no sound. here's what lspci | grep audio says:
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio 05:00.0 Multimedia audio controller: Creative Labs SB X-Fi
lsmod | grep snd says:
snd_hda_intel 557492 1 snd_pcm_oss 52352 0 snd_mixer_oss 24960 2 snd_pcm_oss snd_pcm 99336 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 11524 0 snd_seq_oss 41984 0 snd_seq_midi 15744 0 snd_rawmidi 33920 1 snd_seq_midi snd_seq_midi_event 16512 2 snd_seq_oss,snd_seq_midi snd_seq 66272 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 34064 2 snd_pcm,snd_seq snd_seq_device 16276 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 78792 9 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 16800 2 snd snd_page_alloc 18704 2 snd_hda_intel,snd_pcm
cat /proc/asound/cards says:
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xf7dfc000 irq 17
i hope, someone can help me ...
greetings from germany,
matthias
Am Dienstag 30 Juni 2009 19:55:44 schrieb Matthias Diehl:
Quoted 10 lines
Quoted 10 lines
At Tue, 30 Jun 2009 16:10:45 +0200,
Quoted 3 lines · Matthias Diehl
hi,
i guess you dont speak german, do you? well, i'll try it in
english ;-)
Quoted 1 line
i tried to install your newest x-fi "hack" in ubuntu 9.04 64bit.
Interesting enough, I don't manage to get it working under 64 ("SuSE 11.1, 64 Bit, Xen") bit either. Could you check if you also see something in your syslog (e.g. /var/log/messages) when running speaker-test ?
When I tested the same on the same hardware on "Kubuntu Karmic alpha 2, 32 bit", I get sound.
It might be an indication of a either:
- a 32/64 bit issue
- the kernel version (Kubuntu karmic ships with 2.6.30)
- Xen vs non-Xen
- something else
Christian
At Sat, 4 Jul 2009 23:27:04 +0200,
Quoted 17 lines · Christian Esken
Am Dienstag 30 Juni 2009 19:55:44 schrieb Matthias Diehl:
Quoted 10 lines
Quoted 10 lines
At Tue, 30 Jun 2009 16:10:45 +0200,
Quoted 3 lines · Matthias Diehl
hi,
i guess you dont speak german, do you? well, i'll try it in
english ;-)
Quoted 1 line
i tried to install your newest x-fi "hack" in ubuntu 9.04 64bit.
Interesting enough, I don't manage to get it working under 64 ("SuSE 11.1, 64 Bit, Xen") bit either. Could you check if you also see something in your syslog (e.g.
/var/log/messages) when running speaker-test ?
Quoted 8 lines
When I tested the same on the same hardware on "Kubuntu Karmic alpha 2, 32 bit", I get sound.
It might be an indication of a either:
- a 32/64 bit issue
- the kernel version (Kubuntu karmic ships with 2.6.30)
- Xen vs non-Xen
- something else
The 64bit issue might depend on the card model. Which model do you have? You can see in /proc/asound/cards. What about the patch below?
Takashi
---
sound/pci/ctxfi/cthw20k1.c +1 -1
@@ -1275,7 +1275,7 @@ static int hw_trn_init(struct hw *hw, const struct trn_conf *info) trnctl =0x13 ;/* 32-bit, 4k-size page */ ptp_phys_low = (u32 )info->vm_pgt_phys; ptp_phys_high =upper_32_bits (info->vm_pgt_phys); -if (sizeof (void *) ==8 )/* 64bit address */ +if (ptp_phys_high)/* 64bit address */ trnctl |= (1 <<2 );#if 0 /* Only 4k h/w pages for simplicitiy */ #if PAGE_SIZE ==8192
sound/pci/ctxfi/cthw20k2.c +1 -1
@@ -1237,7 +1237,7 @@ static int hw_trn_init(struct hw *hw, const struct trn_conf *info) vmctl =0x80000C0F ;/* 32-bit, 4k-size page */ ptp_phys_low = (u32 )info->vm_pgt_phys; ptp_phys_high =upper_32_bits (info->vm_pgt_phys); -if (sizeof (void *) ==8 )/* 64bit address */ +if (ptp_phys_high)/* 64bit address */ vmctl |= (3 <<8 );/* Write page table physical address to all PTPAL registers */ for (i =0 ; i <64 ; i++) {
I also use the ubuntu 904 64bit,and a similar hardware,
it works for me pretty well .now I can hear 5.1 sound just like the windows
driver offer
have you intslled soundcard driver?
I use the following install stage
$./configure --with-card=ctxfi
$make
$sudo make modules install
and then restart(if not the old alsa code will make snd-ctxfi driver module unloadable)
$sudo modprobe snd-ctxfi
and if it still not work please give some information about $dmesg
here's what lspci | grep audio says:
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio 03:02.0 Multimedia audio controller: Creative Labs SB X-Fi
cat /proc/asound/cards says:
0 [XFi ]: SB-XFi - Creative X-Fi
Creative X-Fi 20K1 Unknown
lsmod|grep xfi
snd_ctxfi 102376 3 snd_pcm 99336 2 snd_ctxfi,snd_pcm_oss snd 77256 15
snd_ctxfi,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
Quoted 92 lines · Matthias Diehl
Quoted 12 lines
At Tue, 30 Jun 2009 16:10:45 +0200,
Quoted 4 lines · Matthias Diehl
hi,
i guess you dont speak german, do you? well, i'll try it in
english ;-)
Quoted 2 lines
i tried to install your newest x-fi "hack" in ubuntu 9.04 64bit.
it's an x-fi extreme music. i downloaded this snapshot:
Quoted 1 line
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
Quoted 30 lines
Use alsa-driver-snapshot.tar.gz instead of the unstable one.
Quoted 1 line
while the installation process there are some warnings. after
replacing the demon.conf and reboot there was no sound.
Quoted 2 lines
then i noticed the sentence "Note that the ctxfi driver might
conflict with the HD-audio driver" in the description. i think my problem is the hdmi soundchip from my graphics adapter (sapphire radeon hd 4870) which was automatically installed at the ubuntu-installation
("hda intel sound").You are likely looking at irrelevant things.
There are several variants of X-Fi boards. Many of them are equipped with emu20k1 or emu20k2 chip. Some of these models can behave as HD-audio compatible, too. These are supported by snd-ctxfi driver.
In addition, there is X-Fi models that are without emu20k1/emu20k2 chips. Some of them (CA0110-IBG) behave only as a HD-audio device, and some others are with CA0106 chip. The former is supported by snd-hda-intel driver and the latter by snd-ca0106 driver.
So, they cannot be deactivated. The only question is whether you have emu20k1/emu20k2 chip on your board. And this can be checked when you load snd-ctxfi driver. If the driver is properly loaded and the card instance is created (see
/proc/asound/cards), then it's good. Otherwise, your board is no such one. You need other drivers.Quoted 7 lines
Please ask further questions on alsa-devel ML (you can add me to Cc, though) so that other people with your board can advice better.
HTH,
Takashi
hi there,
i now tried to install the stable version, but i have still no sound. here's what lspci | grep audio says:
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio 05:00.0 Multimedia audio controller: Creative Labs SB X-Filsmod | grep snd says:
snd_hda_intel 557492 1 snd_pcm_oss 52352 0 snd_mixer_oss 24960 2 snd_pcm_oss snd_pcm 99336 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 11524 0 snd_seq_oss 41984 0 snd_seq_midi 15744 0 snd_rawmidi 33920 1 snd_seq_midi snd_seq_midi_event 16512 2 snd_seq_oss,snd_seq_midi snd_seq 66272 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 34064 2 snd_pcm,snd_seq snd_seq_device 16276 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 78792 9 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 16800 2 snd snd_page_alloc 18704 2 snd_hda_intel,snd_pcmcat
/proc/asound/cardssays:
0 [HDMI ]: HDA-Intel - HDA ATI HDMIHDA ATI HDMI at 0xf7dfc000 irq 17i hope, someone can help me ...
greetings from germany,
matthias_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel