Creative X-Fi Driver make/make install problem

I have a Creative X-Fi xtremegamer soundcard in my PC. I downloaded the driver and it worked fine so far in my other distro (Linux Mint). However in openSUSE when I try to ‘make’ and ‘make install’ (as instructed by the readme) I get the following message (running with su):

HAL9000:/home/susephoenix/Documents/XFiDrv_Linux_Public_US_1.00 # make
make -C /lib/modules/2.6.27.7-9-pae/build
M=/home/susephoenix/Documents/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory /usr/src/linux-2.6.27.7-9-obj/i386/pae' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory /usr/src/linux-2.6.27.7-9-obj/i386/pae’
make: *** [all] Error 2
HAL9000:/home/susephoenix/Documents/XFiDrv_Linux_Public_US_1.00 # make install
Copy module files…
cp: cannot stat `ctxfi.ko’: No such file or directory
make: *** [install] Error 1

Just for information when I type ‘uname -r’ I get this:

susephoenix@HAL9000:~> uname -r
2.6.27.7-9-pae

Can anyone tell me from this what I need to do to make the driver install?

PS I have mobo Intel/realtek audio but I really want to make the X-fi work, and especially since I know it works in the other distro.

Thanks in advance!

Did these:

  1. Installed the kernel sources
  2. Installed alsa-devel (don’t know if this was necessary)
  3. switched to the kernel default version from the pae version (don’t know if this was necessary)

after this, make and make install went fine :slight_smile:

Ok… now with the 2nd reinstall, I’ve discovered that basically one neeeds to install only these 2 things:

  1. kernel source
  2. gcc

and then compile should work fine.

The Alsa-XFI Creative driver is a total mess - they actually gave up on it and gave the code + specs to Alsa project to implement.

Your best bet is to download the 4front technologies OSS Sound driver pack and install that - it offers beta quality X-Fi driver support (Basic audio functions work, might occasionally pop or clip).

Note that it’s “free to use” but not “free” in open source sense.

  • copy the /boot/config-2.6.27.7-9 file to /usr/src/linux/.config
  • in /usr/src/linux run make prepare and make modules_prepare

it should create a Makefile in /usr/src/linux-2.6.27.7-9-obj/i386/pae

Help, I am having the same problem with:
make -C /lib/modules/2.6.27.21-0.1-pae/build M=/home/home/Desktop/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory /usr/src/linux-2.6.27.21-0.1-obj/i386/pae' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory /usr/src/linux-2.6.27.21-0.1-obj/i386/pae’
make: *** [all] Error 2

It is mentioned:
Ok… now with the 2nd reinstall, I’ve discovered that basically one neeeds to install only these 2 things:

  1. kernel source
  2. gcc

and then compile should work fine.

So what do I need to do?

uname -r
2.6.27.21-0.1-pae

gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: …/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion=‘SUSE Linux’ --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix

Sorry, I am new to all this, so all help greatfully accepted

Hi
When building modules you need the kernel-source, kernel-syms,
linux-kernel-headers, module-init-tools, make and gcc installed.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 13:34, 1 user, load average: 0.12, 0.10, 0.09
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

ok, but as mentioned i am a noob!

how do i do that or where can i find out how to do that?

i take that back, i found kernel-source and gcc under software management so will now try…thanks!

Hi
Either via YaST software management and use the search feature or if you
have a console open (Command line) and use (and it’s all on one line);


sudo zypper in kernel-source kernel-syms linux-kernel-headers
module-init-tools make gcc

Any packages installed will be skipped.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 14:06, 1 user, load average: 0.57, 0.36, 0.20
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME