LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 11-19-2009, 01:04 PM   #1
Endoro
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Rep: Reputation: 0
Sound stops working (creative x-fi)


I have a Creative x-fi sound card. I'm using the "official" linux driver from creative's website. The problem is that the sound sometimes doesn't work. I have to restart the computer or even uninstall and install again to make it work. But sometimes it works fine. Any ideas? I have not yet found a pattern in when it works and when it doesn't.
 
Old 11-19-2009, 03:26 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,985

Rep: Reputation: 274Reputation: 274Reputation: 274
What distro?

When things are not working, have you made sure you are not muted? Look at the mixer settings.

Do you have Pulse Audio running?

Have you checked to see if the driver is loaded when it fails?
 
Old 11-20-2009, 01:57 AM   #3
Endoro
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Slackware 12.2. I'm new to linux so I'm not sure where to find certain things How can I see if the driver is loaded? What is pulse audio? How do I find the mixer?
 
Old 11-20-2009, 09:56 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,985

Rep: Reputation: 274Reputation: 274Reputation: 274
Quote:
How can I see if the driver is loaded?
Open a konsole. It may be called different things, depending on what is installed, it looks like a dos command prompt. In that window, type the following command, without quotes, just what is between the quotes.
'/sbin/lsmod | grep snd' If the driver is loaded, you will get a some lines outputed. It will look like this:

Quote:
/sbin/lsmod | grep snd
snd_hda_codec_realtek 194144 1
snd_hda_intel 25064 2
snd_hda_codec 68284 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6880 1 snd_hda_codec
snd_seq_dummy 2464 0
snd_seq_oss 29504 0
snd_seq_midi_event 6812 1 snd_seq_oss
snd_seq 48912 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6728 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37504 0
snd_pcm 74496 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 20932 2 snd_seq,snd_pcm
snd_mixer_oss 14428 1 snd_pcm_oss
snd 56516 15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_p cm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 6976 1 snd
snd_page_alloc 8708 2 snd_hda_intel,snd_pcm
If you don't get any output, then there is no driver loaded.

Quote:
What is pulse audio?
Pulse audio is a sound server. It fits in between the sound card and driver, and the output. It allows more than one application to use the sound system at a time.

Quote:
How do I find the mixer?
Different ways, first try clicking on the start button, the one that shows you the installed applications. Usually there is a section for sound. It will be listed there. From a command prompt you can try 'alsamixer' or 'kmix'. If either is installed it will start. If none are installed, you will need to install one.

Last, it helps to know what sound hardware you have. In a konsole run the command '/sbin/lspci'. this will list the hardware installed on the PCI bus. Cut and paste the results here.
 
Old 11-23-2009, 03:20 PM   #5
Endoro
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I think I've found the problem. I have two soundcards (creative x-fi and M-audio delta 1010). I'm currently only using creative, but I think that linux sometimes uses the m-audio driver. How can I choose which driver to use?
 
Old 11-23-2009, 03:43 PM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,985

Rep: Reputation: 274Reputation: 274Reputation: 274
If there is one sound card you do not want to use, you can deactivate it in the BIOS. When you first turn the system on, there is a plain text message on the screen usually that tells you what key to hit to enter the BIOS setup program. It is there for a short period of time, so you may have to boot more than once to see it.

The other way is to unload the driver for the sound card not being used. Then edit the startup scripts to stop the driver from loading on another boot. In order to know the driver by name, open a konsile, run the command 'lsmod'. Some lines may run off the screen, you can modify the command 'lsmod | less' ( with the less command ) the screen will fill, then press the space bar to see one more line at a time. Once you know the name of the driver, you can remove it with the command 'modprobe -r modulename'. Then you can run a test to see if that resolves any problems you are having.

This is Slackware, so we'll have to try and find out what script causes the modules to load. This is done differently on different distros.
 
Old 11-24-2009, 02:07 AM   #7
Endoro
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I searched the forum and solved the problem in another way. I blacklisted the other soundcard in /etc/modprobe.d/blacklist. It's seems to work fine.
 
Old 11-24-2009, 09:00 AM   #8
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,985

Rep: Reputation: 274Reputation: 274Reputation: 274
Good stuff, thats what I like about linux, lots of ways to fix things...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Feisty - Sound was working, but mysteriously stops working after reboot. woodsy934 Linux - Software 7 07-04-2011 06:39 PM
Sound not working on creative SBLive 5.1 with Knoppix v4.0 cris Linux - Hardware 3 11-16-2005 06:00 AM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 01:02 PM
Creative Sound Card not working. ShaanAli Solaris / OpenSolaris 3 08-13-2004 07:30 AM
Creative labs SB Live! Sound not working dai Linux - Hardware 26 08-18-2002 03:08 PM


All times are GMT -5. The time now is 05:48 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration