http://x-fi.olausson.de/
feel free to contribute.
Creative released another beta driver...
http://forums.creative.com/creativelabs ... 96#M123196
XFiDrv_Linux_US-1.18.tar.gz
http://us.creative.com/support/download ... &x=20&y=10
The Creative howto:
To install the driver, do the following:
Download the XFiDrv_Linux_US-1.18.tar.gz package onto your local hard disk.
Double-click the downloaded package to unpack its contents.
Read the README file and follow the instructions.
Current release features:
ALSA PCM Playback
ALSA Record
ALSA Mixer
Added Features or Enhancements:
Supports GCC version 4
Supports Linux 64-bit and 32-bit OS
Known issues:
S/PDIF passthrough is not supported in this driver release.
External I/O modules are not supported in this driver release.
Applications from the original Sound Blaster X-Fi Installation CD will not work with this driver.
Finally some good news:
OSS and ALSA now have the specs for the X-FI
http://4front-tech.com/forum/viewtopic.php?p=7485#7485
http://mailman.alsa-project.org/piperma ... 06566.html
So we don't need to wait for another Creative release
================ DEPRECATED OLD 1.04 HOWTO BELOW===================
Okay, here's the howto:
visit #creative on freenode.net and share your results/knowhow
Many thanks to demik, Thingol79 and aidanjt
Some links:
The HOWTOThe creative "bugtracker"
http://connect.creativelabs.com/linux/L ... Items.aspx
and the creative Linux-Beta driver site:
http://connect.creativelabs.com/linux/default.aspx
anf the creative forum X-Fi Linux driver thread:
http://forums.creative.com/creativelabs ... e.id=31220
auzentech Linux-Driver Announcement... maybe a hint when the Gold release should be ready...
http://www.auzentech.com/site/products/ ... .php#linux
all files regarding to this project can be found here:
http://olausson.de/x-fi/
and
http://blackbox.lostwave.net/x-fi/
Required Kernel-Modules
Code: Select all
Device Drivers --->
Sound --->
<M> Sound card support
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[*] OSS Sequencer API
<M> RTC Timer support (optional)
[*] Use RTC as default sequencer timer
[*] Dynamic device file minor numbers
[*] Support old ALSA API
Generic devices --->
<M> Virtual MIDI soundcard
PCI devices --->
<M> Emu10k1 (SB Live!, Audigy, E-mu APS)
Download Driver from creative:
http://www.creative.com/language.asp?sD ... /downloads
Extrackt the driver from the downloaded package
Code: Select all
tar -xvzf XFiDrv_Linux_US-1.04.tar.gz XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04.tar.bz2Code: Select all
tar -xvjf XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04.tar.bz2Code: Select all
chmod -R 755 XFiDrv_Linux_US-1.04 && find XFiDrv_Linux_US-1.04/ -exec touch -c {} \;Code: Select all
wget http://olausson.de/x-fi/XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch && patch -p0 < XFiDrv_Linux_US-1.04_all-in-one_v0.2.patchNow lets configure and compile it
Code: Select all
cd XFiDrv_Linux_US-1.04 && ./configure && makeCode: Select all
make installThe script throws out a lot of info... just be cool and look out for the last lines
Code: Select all
/etc/init.d/ctsound startCode: Select all
Successfully installed modules.
Loading X-Fi driver...Code: Select all
mplayer -ao alsa:device=hw=2 yourfile.mp3+------------------------------------------+
| FAQ : |
+------------------------------------------+
Q: dmesg shows "ctalsa: Unknown symbol malloc_sizes"
A: Your kernel is compiled with SLUB. But SLAB is required because of malloc_sizes which is not in SLUB.
--->Rebuild your Kernel with SLAB
Q: During "make install" I get: "./ctsound: 35: Syntax error: Bad substitution"
A: If you are using Debian/Ubuntu, your /bin/sh probably points to /bin/dash.
--->Edit ctsound and change #!/bin/sh to #!/bin/bash
+------------------------------------------+
Works on my system no freezes nothing... just works
Code: Select all
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22.8 x86_64)
=================================================================
System uname: 2.6.22.8 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Tue, 25 Sep 2007 13:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de sv"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acpi additions aiglx alsa amd64 ares asf bash-completion berkdb bitmap-fonts bittorrent bluetooth branding bzip2 cairo cdparanoia cdr cli connectionstatus cpudetection cracklib crypt css cups curl daap dbus dga divx4linux dri dts dv dvd dvdr dvdread edl emboss emerald emovix encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp glitz gnutls gpm gtk gtk2 guile hal highlight history iconv imagemagick irc isdnlog java jpeg jpeg2k kde kqemu libsamplerate lirc live lm_sensors logitech-mouse lzo mad madwifi matroska metalink midi mikmod mjpeg mmx mmxext modplug mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses network network-cron nfs nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pam_console pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc samba scanner sdk sdl sensord session sndfile spell spl sse sse2 ssl ssse3 svg tcltk tcpd theora tiff tk transcode transparency truetype truetype-fonts type1-fonts unicode usb userlocales utempter v4l v4l2 vcd vditool vidcap vorbis wifi wxwindows x264 xine xinerama xml xorg xvid yahoo zlib" ALSA_CARDS="hda-intel intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de sv" LIRC_DEVICES="asusdh" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSHardware:
lspci
Code: Select all
00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub (rev c0)
00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port (rev c0)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Multimedia audio controller: Creative Labs SB X-Fi
01:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:02.0 Ethernet controller: Atheros Communications, Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
01:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)Code: Select all
H/W path Device Class Description
===============================================================
system P5W DH Deluxe
/0 bus P5W DH Deluxe
/0/0 memory 64KB BIOS
/0/4 processor Intel(R) Core(TM)2 CPU 6600 @ 2.4
/0/4/5 memory 32KB L1 cache
/0/4/6 memory 4MB L2 cache
/0/4/7 memory L3 cache
/0/3c memory 2GB System Memory
/0/3c/0 memory 1GB DIMM SDRAM Synchronous
/0/3c/1 memory DIMM [empty]
/0/3c/2 memory 1GB DIMM SDRAM Synchronous
/0/3c/3 memory DIMM [empty]
/0/100 bridge 82975X Memory Controller Hub
/0/100/1 bridge 82975X PCI Express Root Port
/0/100/1/0 display G70 [GeForce 7600 GT]
/0/100/1b multimedia 82801G (ICH7 Family) High Definition Audio
/0/100/1c bridge 82801G (ICH7 Family) PCI Express Port 1
/0/100/1c.3 bridge 82801G (ICH7 Family) PCI Express Port 4
/0/100/1c.3/0 eth0 network 88E8053 PCI-E Gigabit Ethernet Controller
/0/100/1c.5 bridge 82801GR/GH/GHM (ICH7 Family) PCI Express Po
/0/100/1c.5/0 storage JMicron 20360/20363 AHCI Controller
/0/100/1c.5/0.1 storage JMicron 20360/20363 AHCI Controller
/0/100/1d bus 82801G (ICH7 Family) USB UHCI Controller #1
/0/100/1d/1 usb2 bus UHCI Host Controller
/0/100/1d/1/2 generic USB RECEIVER
/0/100/1d.1 bus 82801G (ICH7 Family) USB UHCI Controller #2
/0/100/1d.1/1 usb3 bus UHCI Host Controller
/0/100/1d.1/1/1 generic ASUS DH Remote
/0/100/1d.1/1/2 bus Logitech BT Mini-Receiver
/0/100/1d.1/1/2/2 generic Logitech BT Mini-Receiver
/0/100/1d.1/1/2/3 generic Logitech BT Mini-Receiver
/0/100/1d.2 bus 82801G (ICH7 Family) USB UHCI Controller #3
/0/100/1d.2/1 usb4 bus UHCI Host Controller
/0/100/1d.2/1/2 generic Bluetooth Device
/0/100/1d.3 bus 82801G (ICH7 Family) USB UHCI Controller #4
/0/100/1d.3/1 usb5 bus UHCI Host Controller
/0/100/1d.7 bus 82801G (ICH7 Family) USB2 EHCI Controller
/0/100/1d.7/1 usb1 bus EHCI Host Controller
/0/100/1d.7/1/1 bus USB2.0 Hub
/0/100/1d.7/1/1/1 generic USB Receiver
/0/100/1d.7/1/1/2 generic iP5200
/0/100/1d.7/1/7 bus USB2.0 Hub
/0/100/1d.7/1/7/1 bus USB2.0 Hub
/0/100/1d.7/1/7/2 scsi8 generic USB Storage
/0/100/1d.7/1/7/2/0.0.0 /dev/sdd disk STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.0/0 /dev/sdd disk
/0/100/1d.7/1/7/2/0.0.1 /dev/sde disk STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.1/0 /dev/sde disk
/0/100/1d.7/1/7/2/0.0.2 /dev/sdf disk STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.2/0 /dev/sdf disk
/0/100/1d.7/1/7/2/0.0.3 /dev/sdg disk STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.3/0 /dev/sdg disk
/0/100/1d.7/1/7/3 generic RTL8187_Wireless
/0/100/1e bridge 82801 PCI Bridge
/0/100/1e/0 multimedia SB X-Fi
/0/100/1e/1 multimedia Bt878 Video Capture
/0/100/1e/1.1 multimedia Bt878 Audio Capture
/0/100/1e/2 wifi0 network AR5212/AR5213 Multiprotocol MAC/baseband pr
/0/100/1e/3 bus TSB43AB22/A IEEE-1394a-2000 Controller (PHY
/0/100/1f bridge 82801GB/GR (ICH7 Family) LPC Interface Brid
/0/100/1f.1 scsi6 storage 82801G (ICH7 Family) IDE Controller
/0/100/1f.1/0.0.0 /dev/cdrom disk DVDR PX-760A
/0/100/1f.1/0.1.0 /dev/cdrom1 disk DVD-ROM PX-130A
/0/100/1f.2 scsi0 storage 82801GR/GH (ICH7 Family) SATA AHCI Controll
/0/100/1f.2/0 /dev/sda disk 69GB WDC WD740ADFD-00
/0/100/1f.2/0/1 /dev/sda1 volume 47MB Linux filesystem partition
/0/100/1f.2/0/2 /dev/sda2 volume 956MB Linux swap / Solaris partition
/0/100/1f.2/0/3 /dev/sda3 volume 68GB Linux filesystem partition
/0/100/1f.2/1 /dev/sdb disk 149GB WDC WD1600BEVS-0
/0/100/1f.2/1/1 /dev/sdb1 volume 149GB Linux filesystem partition
/0/100/1f.2/0.0.0 /dev/sdc disk 69GB WDC WD740ADFD-00
/0/100/1f.2/0.0.0/1 /dev/sdc1 volume 69GB HPFS/NTFS partition
/0/100/1f.3 bus 82801G (ICH7 Family) SMBus Controller
/1 irlan0 network Ethernet interfaceregards
blubbi




