X-FI driver installation

so I got the latest release of the drivers from the creative web site. These did work for me in the 64 bit opensuse, but now on the 32 bit I keep getting an error when doing make install.

Help would be much appreciated!

make
dhcppc0:/home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00 # make
make -C /lib/modules/2.6.25.18-0.2-default/build M=/home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory /usr/src/linux-2.6.25.18-0.2-obj/i386/default' make -C /usr/src/linux-2.6.25.18-0.2 O=/usr/src/linux-2.6.25.18-0.2-obj/i386/default/. LD /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/built-in.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/xfi.o In file included from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/xfi.c:14: /usr/src/linux-2.6.25.18-0.2/include/sound/driver.h:1:2: warning: #warning "This file is deprecated" In file included from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctatc.h:25, from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/xfi.c:17: /usr/src/linux-2.6.25.18-0.2/include/sound/driver.h:1:2: warning: #warning "This file is deprecated" CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctatc.o In file included from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctatc.h:25, from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctatc.c:18: /usr/src/linux-2.6.25.18-0.2/include/sound/driver.h:1:2: warning: #warning "This file is deprecated" CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctvmem.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctpcm.o In file included from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctatc.h:25, from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctpcm.h:21, from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctpcm.c:18: /usr/src/linux-2.6.25.18-0.2/include/sound/driver.h:1:2: warning: #warning "This file is deprecated" /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctpcm.c: In function ‘ct_alsa_pcm_create’: /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctpcm.c:462: warning: passing argument 2 of ‘snd_pcm_new’ discards qualifiers from pointer target type CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctmixer.o In file included from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctatc.h:25, from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctmixer.h:21, from /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctmixer.c:19: /usr/src/linux-2.6.25.18-0.2/include/sound/driver.h:1:2: warning: #warning "This file is deprecated" CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctresource.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctsrc.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctamixer.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctdaio.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctimap.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/cthardware.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/cthw20k2.o CC [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/cthw20k1.o LD [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctxfi.o Building modules, stage 2. MODPOST 1 modules CC /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctxfi.mod.o LD [M] /home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00/ctxfi.ko make[1]: Leaving directory /usr/src/linux-2.6.25.18-0.2-obj/i386/default’

make install

dhcppc0:/home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00 # make install
Copy module files…
Update module dependency relationships…
FATAL: Error inserting ctxfi (/lib/modules/2.6.25.18-0.2-default/kernel/drivers/ssound/ctxfi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
make: *** [install] Error 1

dmesg

ctxfi: disagrees about version of symbol snd_ctl_add
ctxfi: Unknown symbol snd_ctl_add
ctxfi: disagrees about version of symbol snd_pcm_new
ctxfi: Unknown symbol snd_pcm_new
ctxfi: disagrees about version of symbol snd_card_register
ctxfi: Unknown symbol snd_card_register
ctxfi: disagrees about version of symbol snd_card_free
ctxfi: Unknown symbol snd_card_free
ctxfi: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
ctxfi: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_minmax
ctxfi: Unknown symbol snd_pcm_hw_constraint_minmax
ctxfi: disagrees about version of symbol snd_ctl_new1
ctxfi: Unknown symbol snd_ctl_new1
ctxfi: disagrees about version of symbol snd_card_new
ctxfi: Unknown symbol snd_card_new
ctxfi: disagrees about version of symbol snd_pcm_lib_malloc_pages
ctxfi: Unknown symbol snd_pcm_lib_malloc_pages
ctxfi: disagrees about version of symbol snd_pcm_lib_ioctl
ctxfi: Unknown symbol snd_pcm_lib_ioctl
ctxfi: disagrees about version of symbol snd_pcm_lib_free_pages
ctxfi: Unknown symbol snd_pcm_lib_free_pages
ctxfi: disagrees about version of symbol snd_ctl_notify
ctxfi: Unknown symbol snd_ctl_notify
ctxfi: disagrees about version of symbol snd_pcm_set_ops
ctxfi: Unknown symbol snd_pcm_set_ops
ctxfi: disagrees about version of symbol snd_device_new
ctxfi: Unknown symbol snd_device_new
ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_integer
ctxfi: Unknown symbol snd_pcm_hw_constraint_integer
ctxfi: disagrees about version of symbol snd_pcm_period_elapsed
ctxfi: Unknown symbol snd_pcm_period_elapsed
nvidia: module license ‘NVIDIA’ taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:01:00.0 to 64
NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.12 Thu Jul 17 18:11:36 PDT 2008
ctxfi: disagrees about version of symbol snd_ctl_add
ctxfi: Unknown symbol snd_ctl_add
ctxfi: disagrees about version of symbol snd_pcm_new
ctxfi: Unknown symbol snd_pcm_new
ctxfi: disagrees about version of symbol snd_card_register
ctxfi: Unknown symbol snd_card_register
ctxfi: disagrees about version of symbol snd_card_free
ctxfi: Unknown symbol snd_card_free
ctxfi: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
ctxfi: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_minmax
ctxfi: Unknown symbol snd_pcm_hw_constraint_minmax
ctxfi: disagrees about version of symbol snd_ctl_new1
ctxfi: Unknown symbol snd_ctl_new1
ctxfi: disagrees about version of symbol snd_card_new
ctxfi: Unknown symbol snd_card_new
ctxfi: disagrees about version of symbol snd_pcm_lib_malloc_pages
ctxfi: Unknown symbol snd_pcm_lib_malloc_pages
ctxfi: disagrees about version of symbol snd_pcm_lib_ioctl
ctxfi: Unknown symbol snd_pcm_lib_ioctl
ctxfi: disagrees about version of symbol snd_pcm_lib_free_pages
ctxfi: Unknown symbol snd_pcm_lib_free_pages
ctxfi: disagrees about version of symbol snd_ctl_notify
ctxfi: Unknown symbol snd_ctl_notify
ctxfi: disagrees about version of symbol snd_pcm_set_ops
ctxfi: Unknown symbol snd_pcm_set_ops
ctxfi: disagrees about version of symbol snd_device_new
ctxfi: Unknown symbol snd_device_new
ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_integer
ctxfi: Unknown symbol snd_pcm_hw_constraint_integer
ctxfi: disagrees about version of symbol snd_pcm_period_elapsed
ctxfi: Unknown symbol snd_pcm_period_elapsed
ctxfi: disagrees about version of symbol snd_ctl_add
ctxfi: Unknown symbol snd_ctl_add
ctxfi: disagrees about version of symbol snd_pcm_new
ctxfi: Unknown symbol snd_pcm_new
ctxfi: disagrees about version of symbol snd_card_register
ctxfi: Unknown symbol snd_card_register
ctxfi: disagrees about version of symbol snd_card_free
ctxfi: Unknown symbol snd_card_free
ctxfi: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
ctxfi: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_minmax
ctxfi: Unknown symbol snd_pcm_hw_constraint_minmax
ctxfi: disagrees about version of symbol snd_ctl_new1
ctxfi: Unknown symbol snd_ctl_new1
ctxfi: disagrees about version of symbol snd_card_new
ctxfi: Unknown symbol snd_card_new
ctxfi: disagrees about version of symbol snd_pcm_lib_malloc_pages
ctxfi: Unknown symbol snd_pcm_lib_malloc_pages
ctxfi: disagrees about version of symbol snd_pcm_lib_ioctl
ctxfi: Unknown symbol snd_pcm_lib_ioctl
ctxfi: disagrees about version of symbol snd_pcm_lib_free_pages
ctxfi: Unknown symbol snd_pcm_lib_free_pages
ctxfi: disagrees about version of symbol snd_ctl_notify
ctxfi: Unknown symbol snd_ctl_notify
ctxfi: disagrees about version of symbol snd_pcm_set_ops
ctxfi: Unknown symbol snd_pcm_set_ops
ctxfi: disagrees about version of symbol snd_device_new
ctxfi: Unknown symbol snd_device_new
ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_integer
ctxfi: Unknown symbol snd_pcm_hw_constraint_integer
ctxfi: disagrees about version of symbol snd_pcm_period_elapsed
ctxfi: Unknown symbol snd_pcm_period_elapsed

IwikiwI wrote:
> so I got the latest release of the drivers from the creative web site.
> These did work for me in the 64 bit opensuse, but now on the 32 bit I
> keep getting an error when doing make install.
>
>
>
> Help would be much appreciated!
>
>
> make
> dhcppc0:/home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00 # make
> make -C /lib/modules/2.6.25.18-0.2-default/build
> M=/home/vamsi/Desktop/XFiDrv_Linux_Public_US_1.00
> make[1]: Entering directory
> `/usr/src/linux-2.6.25.18-0.2-obj/i386/default’
> make -C /usr/src/linux-2.6.25.18-0.2

It looks as if you have the wrong Linux headers installed. What does ‘uname -r’
yield? The headers must match it. I see both 2.6.25.18-0.2-default and
2.6.25.18-0.2-obj mentioned in your make output.

Larry

Thanks for the reply!
That results in
vamsi@dhcppc0:~/Desktop> uname -r
2.6.25.18-0.2-default

So do I remove the obj repositories?

You must ensure you have kernel source code loaded and corresponding to your working kernel
the header file ctdrv.h in Creative labs code needs editing to correspond to your particular X-Fi cards subsystem code
lspci -nv reveals the hex code eg 0x0041 or maybe 0x002c as my card is could be another eg 0x0043 whatever. Each x-fi sound card has a different subsystem code
the line beginning # define is legitimate C Code constuct:-
#define PCI_SUBSYS_CREATIVE_SB0880 0x0041
should be changed for your particular card code eg 0x0041 in my case changes to 0x002c

do a make clean
make
make install

modprobe ctfxi

the redo with lspci -nv

run
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: XFi [Creative X-Fi], device 0: X-Fi 20k1 [WaveOut/WaveIn]

Caution as I don’t know different use the full hexadecimal notation 0x---- as I have written above.

This worked wonders for me

web Logitech 9000Pro Skype Wonderful sound from my X-Fi Xtreme Gamer Fatal1ty but do configure as device no shown in ‘aplay -l’

Hope this may be helpful Good Luck

I think the same procedure will apply to 11.1 when released unless of course those clever coders at SUSE have this quirk sorted. I’m no professional coder - not even a good coder but can read and understand much

modprobe should be

modprobe ctxfi

apologies

This is the output of the lspci -nv command. What is the hex code I need to take because I can’t see it :\

05:02.0 0401: 1102:0005
        Subsystem: 1102:0031
        Flags: bus master, medium devsel, latency 32, IRQ 18
        I/O ports at d000 [size=32]
        Memory at e8000000 (64-bit, non-prefetchable) [size=2]
        Memory at e4000000 (64-bit, non-prefetchable) [size=64]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Count=1/1                                                            Enable-
        Kernel driver in use: CTALSA
        Kernel modules: ctxfi

[/size][/size][/size]

Never mind. All seems to work fine. I got sound :slight_smile: