LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-01-2013, 08:21 PM   #1
aplusguy333
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Rep: Reputation: Disabled
Creative Labs SoundBlaster not working on Ubuntu 12.04


I have a Creative SoundBlaster X-FI sound card (Model # SB0460) that works great in Windows XP (after installing the Windows device driver), so I know there are no defects in the card. However, I am having an extremely hard time trying to get it to work in Ubuntu 12.04. Actually, I started with Ubuntu 10.10, and liked that version much better than the current versions. Since 10.10 was no longer supported, I had to move on to a newer version, and thinking it would be best to I had the most recent version, which is 13.04, I downloaded and installed that version, not realizing that support on it would be very short term. I had trouble at first trying to get my sound card to work, and I believe the commands that made it work were 'make' and 'make install' on the command line of the Terminal Window (from the README file in the unzipped files in the driver download, which is 'XFiDrv_Linux_Public_US_1.00.tar.gz'). I copied the sound driver zipped file to the /dev/snd directory, which is the directory where it worked before. The website I got the driver download from is 'www.mxdatarecovery.net/driversdownload/creative-labs-sb0460-model-sound.html'. Since I wanted the long term support (LTS), I decided to download and install 12.04. Using the 'make' and 'make install' commands again, I got it working in my first installation of 12.04.
However, I needed to make the LAMP (Apache, MySQL, PHP, & PHPMyAdmin) work to successfully work on my website. But I tried a method of installation I got from a website, and never could get it to work. I then tried the simple 'apt-get-install <Program Name>' method, and could not get PHP to work. It seemed to me that my 12.04 installation was too messed up from the initial load of the LAMP installation that I would not be able to undo the 'damage', so I decided to re-install 12.04 again, which I did.
Before installing the sound card driver, I checked to be sure 12.04 recognized my card. On the Terminal command line, I input 'alsamixer', and got the display of that program. I noticed that the first vertical bar (Master) and the last vertical bar (Digital) had '46<>46' underneath it, where all of the other bars had '100<>100>' beneath them. Also, the first and last vertical bars had only green coloring in them that went only about half-way up the bars, and all the other vertical bars had white up to about 35% of those bars, and then red coloring up to about 15% of those other bars near the top of those bars. That did not seem right to me; I think they should all show '100<>100' underneath the vertical bars. Also, when I pressed F6 to select the sound card, and selected 'Creative X-FL', then pressed Enter, quit the program, and then went back into it, the selection went back to the 'default' selection. So it wasn't retaining my card selection. Then I tried inputting 'lspci | grep audio' at the Terminal command line, and it returned '03:00.0 Multimedia audio controller: Creative Labs SB X-Fi'; so it recognized my sound card – good feedback.
Then very strange events began to happen. Whereas the 'make' and 'make install' worked on the previous 12.04 installation, it produced error messages on this installation, as follows:

root@user-System-Product-Name:/dev/snd/XFiDrv_Linux_Public_US_1.00# make
make -C /lib/modules/3.5.0-23-generic/build M=/dev/snd/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-23-generic'
LD /dev/snd/XFiDrv_Linux_Public_US_1.00/built-in.o
CC [M] /dev/snd/XFiDrv_Linux_Public_US_1.00/xfi.o
/dev/snd/XFiDrv_Linux_Public_US_1.00/xfi.c:14:26: fatal error: sound/driver.h: No such file or directory
compilation terminated.
make[2]: *** [/dev/snd/XFiDrv_Linux_Public_US_1.00/xfi.o] Error 1
make[1]: *** [_module_/dev/snd/XFiDrv_Linux_Public_US_1.00] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-23-generic'
make: *** [all] Error 2

root@user-System-Product-Name:/dev/snd/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

The error seems to start with the 'make' command being unable to find 'sound/driver.h', and then with the 'make install' command being unable to find the 'ctxfi.ko' file. And when I do a 'find' on the entire Ubuntu disk, these files are not there. But I can see where they are called from the 'Makefile' file from the unzipped driver file. Should some other programs be run first to supply these files? So many questions – with no answers that work. There has to be a cause and effect relationship that will make this work, but I have been unable to find what works.
Then when I log off or shut down, and then reboot back into Ubuntu, the sound driver files are no longer there; they are automatically deleted, and that has happened several times since I have been trying to resolve this problem for quite a while now. THAT SHOULD NOT HAPPEN UNLESS I DELETE THEM!!! In addition, the permissions on the /dev/snd directories change, and I have to 'chmod' them at the Terminal to be able to copy the sound driver over again. Up to this point, 12.04 has proven to me to be much more unreliable than 10.10.
The bottom line is that if no one can help me resolve this soon, I will strongly be considering trying a different Linux, perhaps Red Hat/Fedora, CentOS, or any other I choose after doing more research. If one of you have a good recommendation for a different Linux, I would appreciate your response.
As a related side note, I feel quite disgusted with being forced to stop using Ubuntu 10.10 since it was more reliable, and much easier and much more user friendly than 12.04 or 13.04. 10.10 was similar to Windows XP, which in my experience, has been the most user friendly version of Windows, whereas I feel Windows 7 was a poor choice on Microsoft's part, and was, in my opinion, not near as user friendly as XP. It wouldn't be so bad to move to more recent versions, but the Ubuntu developers have tried to mimic Windows 7, which I feel was a very unfortunate decision for Ubuntu users.
Any competent and reliable help on this problem will be greatly appreciated.

aplusguy333

Last edited by aplusguy333; 06-01-2013 at 08:26 PM.
 
Old 06-02-2013, 04:13 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
XFiDrv_Linux_Public_US_1.00.tar.gz is a 2008 and probably shouldnt be used, even if you can get it to work-

Quote:
Take note of the following:

THIS IS AN UNSUPPORTED DRIVER. There is no technical support for this driver.
We recommend that only experienced users install this driver. Do not install this driver on a system used to perform critical tasks.
http://us.creative.com/support/downl...g=XFiDrv_Linux

The X-Fi should work with the alsa drivers in current supported linux distrobutions.

I cant remember what the offical way to play with mixer settings in ubuntu is (because ubuntu uses pulseaudio) but if I recall correctly lauching with 'sudo alsamixer' shold make any changes you made to alsamixer 'stick'.

The white/green/red colours in alsamixer are standard. 46<>46 means that particular slider is set to 46% (left and right) of a possible 100. Its best not to set all sliders to 100%, its more likely to give you audio distortion.

IMO unity is not canonical trying to mimic Win7, its more like gnome 3 or maybe macOS/iOS. If you want a desktop that is simpler and more windows like, try KDE, XFCE or maybe even LXDE.

It is possible to install those desktops in ubuntu 12.04, but they will have less support length. Debian is the closest overall to ubuntu (since ubuntu is based on debian), and moving to debian or another debian based distro would be easier than moving to Red Hat (and you shouldnt use Red Hat unless you are paying for it), CentOS (which is just a free in cost 'debranded' version of Red Hat) or Fedora (which is a testing distro for Red Hat, tends to be pretty 'cutting edge' with short support length)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creative Labs 5.1 Live Soundcard not working. Tiepo Linux - Hardware 4 01-11-2007 07:16 AM
Getting a Creative Labs Audigy 2 Value working with 5.1? Dougal SUSE / openSUSE 5 02-09-2006 03:09 PM
Creative Labs Soundblaster Live (Value) EMU10K1X-DBQ and Fedora 2 Jody_Butt Linux - Hardware 2 06-15-2004 11:12 PM
Creative Labs Soundblaster Awe64 Gold Duke_Newrise Linux - Hardware 1 08-24-2003 02:03 PM
RedHat 8.0 & Creative Labs SoundBlaster Live! FUXC Linux - Newbie 1 03-20-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration