Wednesday, August 19, 2009

DKMS Configuration for Creative X-Fi Linux Driver

I've been a bit annoyed lately by having to recompile/reinstall the kernel module for my Creative X-Fi soundcard every time Ubuntu updates the kernel. Thinking it should be possible to automate this process, I recalled seeing something about compiling and installing modules (nvidia and vbox) every time a kernel is booted for the first time. Surely enough, there's DKMS! DKMS stands for Dynamic Kernel Module Support, and will basically compile and install kernel modules automatically every time the kernel is updated, keeping things consistent and easy to use for the end user. Following is how to set it up for the X-Fi driver.
  1. If you don't have DKMS installed, install it. You know best how to do so for your system :)
  2. Download the source from Creative's support site. At the time of this writing, I get a file called XFiDrv_Linux_Public_US_1.00.tar.gz. If you get a different file, make a note of the version, which will be used in the next step.
  3. As root, extract the contents of the archive to /usr/src/ctxfi-1.00. DKMS is a bit peculiar about location/structure, so help yourself out and go by the flow, which is to use /usr/src/<module>-<version> as the main directory for the module's source code. To clarify; /usr/src/ctxfi-1.00 should contain a bunch of source files and a Makefile.
  4. Create a file /usr/src/ctxfi-1.00/dkms.conf with the following contents:
  5. Now all you need to do (if I recall correctly) is to add the module to DKMS by issuing this command: dkms add -m ctxfi -v 1.00
Okay, that should be it. The next time you boot a new kernel, you shouldn't have to manually compile/install the X-Fi driver.


  1. Casinos Near Penn National Race Track - Mapyro
    Explore other Casinos 서귀포 출장샵 Near 여주 출장안마 Penn 서산 출장안마 National Race Track in Wilkes 계룡 출장마사지 Barre, PA. See 안성 출장마사지 what restaurants are available and see activity.

  2. JOKER123 | Casino Review, Ratings & Offers
    Check out JOKER123. We review the air jordan 18 retro racer blue sports most reliable site authentic air jordan 18 retro varsity red for online great air jordan 18 retro yellow casino games. air jordan 18 retro toro mens sneakers online store Play and jordan 18 white royal blue from my site win real money. Rating: 4.8 · ‎6 votes

  3. If this is the case, it's imperative that you just speak with customer support and allow them to know might be} playing anonymously. Some operators will enable the follow while others will void any winnings if you don't have|you don't have} specific permission to make use of a VPN, TOR, or one other masking gadget. Most online providers will gladly assist you to set your individual wager limits and a few proactive websites have a facility built-in, so find a way to|you probably can} restrict yourself without engaging with one other particular person. E-Wallets like Skrill and Neteller present players with essentially the most flexibility. Bitcoin deposits can now be out there for play instantly via a special integrated gateway, so players wouldn't have to wait for 3 or more confirmations. The funds can be found the second the transaction seems on the blockchain.