Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193670 - 64-bit only Creative X-Fi driver released (ebuild request)
Summary: 64-bit only Creative X-Fi driver released (ebuild request)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://connect.creativelabs.com/linux...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 18:51 UTC by wyvern5
Modified: 2008-11-09 20:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-sound/creative-xifi/creative-xifi-1.18.ebuild (creative-xifi-1.18.ebuild,3.18 KB, text/plain)
2008-08-23 14:19 UTC, Richard Westwell
Details
files/XFiDrv_Kernel-1.patch (XFiDrv_Kernel-1.patch,923 bytes, patch)
2008-08-23 14:20 UTC, Richard Westwell
Details | Diff
files/XFiDrv_Gentoo-1.patch (XFiDrv_Gentoo-1.patch,1.59 KB, patch)
2008-08-23 14:20 UTC, Richard Westwell
Details | Diff
files/ctalsa_blacklist (ctalsa_blacklist,483 bytes, text/plain)
2008-08-23 14:20 UTC, Richard Westwell
Details
files/ctsound (ctsound,1.22 KB, text/plain)
2008-08-23 14:21 UTC, Richard Westwell
Details
media-sound/creative-xifi/creative-xifi-1.18-r1.ebuild (creative-xifi-1.18-r1.ebuild,3.28 KB, text/plain)
2008-08-23 14:49 UTC, Richard Westwell
Details
bug.message (bug.message,65.33 KB, text/plain)
2008-08-23 17:07 UTC, Richard Westwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wyvern5 2007-09-24 18:51:46 UTC
after two years, creative has finally released a beta x-fi driver...
http://connect.creativelabs.com/linux/Lists/Announcements/DispForm.aspx?ID=3


The link to the file download (before the usage agreement) is http://us.creative.com/support/downloads/download.asp?MainCategory=209&nRegionFK=&nCountryFK=&nLanguageFK=&sOSName=Linux&region=1&Product_Name=Sound+Blaster+X-Fi+XtremeGamer&Product_ID=15853&modelnumber=&driverlang=1033&OS=12&drivertype=0&x=24&y=5

Note that this release is apparently only for x64.

Reproducible: Always
Comment 1 Kyle Tirak 2007-09-25 17:53:18 UTC
This might be a bit tricky... according to http://connect.creativelabs.com/linux/Lists/Announcements/DispForm.aspx?ID=4&Source=http%3A%2F%2Fconnect%2Ecreativelabs%2Ecom%2Flinux%2Fdefault%2Easpx the driver source apparently doesn't compile with GCC > 4 at the moment. I'm hoping for this in portage as well, though, some time.
Comment 2 Kyle Tirak 2007-12-03 04:56:09 UTC
A howto for this driver using, making use of GCC 4+ is at: 

http://forums.gentoo.org/viewtopic-t-587921-highlight-xfi.html

I haven't gotten it to work yet, but some have. Might be used to create an ebuild in the future.
Comment 3 Richard Westwell 2008-08-23 14:19:25 UTC
Created attachment 163625 [details]
media-sound/creative-xifi/creative-xifi-1.18.ebuild

I've recently witten a new ebuild for the 2nd beta 1.18 release
so far I've not managed to get this to work (still problems with loading ctalsa)
but this might be of some use to someone else with different kernel configs
also it could be re-used for future releases

For info
the module depends are currently screwed up within the source, which means things have to be loaded within a particular order at runtime
the modules should be auto blacklisted within /etc/modprobe.conf
to prevent them from auto-loading at hot-plug or udev at boot in some random order
but just to be sure, run update-modules after the emerge to make sure /etc/modprobe.conf has been updated with the blacklist info

there's a basic script under /etc/init.d/ctsound that should load the modules in the right order / uses mknod (until we can patch for udev)
it's a strimed down version of the original creative ctsound script
however I'm still having problems with ctalsa myself so it's difficult to test

Note this is experimental, make sure you have another kernel setup within grub that you can boot to just in case
the blacklisting doesn't work for any reason
also when unmerging (emerge -C) the directory /lib/modules/<kernel version>/kernel/drivers/ssound
will need to be removed manually as emerge will likely not remove this directory
Comment 4 Richard Westwell 2008-08-23 14:20:02 UTC
Created attachment 163627 [details, diff]
files/XFiDrv_Kernel-1.patch
Comment 5 Richard Westwell 2008-08-23 14:20:20 UTC
Created attachment 163629 [details, diff]
files/XFiDrv_Gentoo-1.patch
Comment 6 Richard Westwell 2008-08-23 14:20:44 UTC
Created attachment 163630 [details]
files/ctalsa_blacklist
Comment 7 Richard Westwell 2008-08-23 14:21:02 UTC
Created attachment 163631 [details]
files/ctsound
Comment 8 Richard Westwell 2008-08-23 14:49:45 UTC
Created attachment 163634 [details]
media-sound/creative-xifi/creative-xifi-1.18-r1.ebuild

slight error in the original I missed
Comment 9 Richard Westwell 2008-08-23 17:07:35 UTC
Created attachment 163658 [details]
bug.message

this is just a copy of the bug I'm getting within dmesg and /var/log/messages
when loading ctalsa
even though the bug is generated it appears to be working with gentoo sources 2.6.23 at least
Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-09 13:32:40 UTC
xfi-drivers-1.00 in portage. Sync and test, please.
Comment 11 Kyle Tirak 2008-11-09 20:09:53 UTC
I can't test on on the platform since I don't have an 32-bit install to do so, but I believe the latest X-fi driver from Creative is supposed to work on 32-bit as well as 64-bit if you wanted to keyword it ~x86 as well.