LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-08-2007, 08:28 PM   #1
margaf77
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu Feisty Fawn
Posts: 18

Rep: Reputation: 0
Problem with sound in Ubuntu


Hi Im using Ubuntu Feisty Fawn and Im having a problem I hope someone here can help out with. Just so you know Im a noob to linux but have been around PCs since the DOS days, jeez I still have an Atari 1200xl collecting dust in a closet, so Im not afraid to tinker but this is just driving me nuts.

My soundcard is an Audigy 4.

I had working sound in all system sounds and multimedia apps (xmms, totem, rhythmbox) and now I dont. When I test them (login, logout, warning, etc) in sound options, nothing. And now I only get sound from amarok and vlc.

I have tried purging the drivers with info from this link http://ubuntuforums.org/showthread.php?t=205449 and reinstalling them but still the problem persists. I tried running alsamixer and got this error:

Quote:
ALSA lib control.c:875:(snd_ctl_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_ctl_pulse.so

alsamixer: function snd_ctl_open failed for default: No such file or directory
In xmms I get an error box that says:

Quote:
Couldn't open audio.

Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard.
What could be blocking the sound card? If this is it at all how would I check?

Also when I use gedit from the command prompt to edit I get the following. I also included the command I used (nothing special just figured Id put it there).


Quote:
XXXX@XXXX-desktop:~/.mozilla-thunderbird$ gedit profiles.ini

ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so

Ive gotten sound to work in the apps by changing the sound from alsa to oss in everything in System > Pref > Sound > Device tab but I still get the above error and I have no system sounds except the drum sound when the username screen comes up, but not the startup sound I used to get after typing my username /password and logging in.

Is it possible to not use alsa at all and just use OSS or are they interconnected?

Last edited by margaf77; 07-08-2007 at 11:16 PM.
 
Old 07-09-2007, 07:43 PM   #2
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Quote:
ALSA lib control.c:875snd_ctl_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
Have you checked if you really have this file ? Maybe, you just need to clean up all the alsa* files (backup before you do) and reinstall alsa.

I'd suggest going for ALSA as, ALSA has the best sound support in linux. As far as OSS is concerned, it depends upon if you are using the OSS modules or the OSS emulation provided by ALSA in which case it again depends on ALSA libs.
 
Old 07-09-2007, 11:55 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 132Reputation: 132
Are you sure alsa is loaded at all? I had something similar running Debian; it turned out that an update had caused some confusion and the system started using OSS instead of alsa after that. Just click on the speaker icon on the menu bar, select Volume Control and verify which is actually running. The .so error message would seem to suggest that alsa really isn't loaded.
 
Old 07-10-2007, 12:28 AM   #4
margaf77
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu Feisty Fawn
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kevkim55
Have you checked if you really have this file ? Maybe, you just need to clean up all the alsa* files (backup before you do) and reinstall alsa.

I'd suggest going for ALSA as, ALSA has the best sound support in linux. As far as OSS is concerned, it depends upon if you are using the OSS modules or the OSS emulation provided by ALSA in which case it again depends on ALSA libs.
Thanks so much for answering my post, Im desperate and as much as I dont want to Ive contemplated abandoning Ubuntu and sticking to XP, which I really dont want to do.

I cant find the file or directory its looking for. I wish I had a way to completely remove ALSA and start from scratch. I tried
Code:
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
but this also removes gdm and ubuntu-desktop.

When I
Code:
sudo apt-get install gdm ubuntu-desktop
it reinstalls everything I purged not just gdm and ubuntu-desktop.

I also think there is a problem with ESD which I think is causing my problem of no system sounds.

I played with it today trying to get it working and had no luck. I did run ALSA-INFO and have the output if you can make heads or tails of it.

The output is here:
http://pastebin.ca/611791

How would I cleanup all the alsa files? and being so new to Linux what should I use to back up? I am running a dual boot with XP on one SATA hard drive and Ubuntu FF on an IDE drive.

I thought about reinstalling ubuntu completely but dont want to do that because there are somethings I have just the way I want them, like sharing my thunderbird email profile between XP and Ubuntu on a FAT32 part and a few other things I just dont want to have to do over.
 
Old 07-10-2007, 12:32 AM   #5
margaf77
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu Feisty Fawn
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73
Are you sure alsa is loaded at all? I had something similar running Debian; it turned out that an update had caused some confusion and the system started using OSS instead of alsa after that. Just click on the speaker icon on the menu bar, select Volume Control and verify which is actually running. The .so error message would seem to suggest that alsa really isn't loaded.

Thank you as well for taking the time to read and respond to my post. If you need anything else to help me troubleshoot this let me know.

I opened the volume control and it says in the title bar Audigy 4 [SB0610] (Alsa mixer)

Also here is a copy of the output of ALSA-INFO

The script uploaded it here.
http://pastebin.ca/611791
 
Old 07-10-2007, 03:09 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 132Reputation: 132
Can you do

lsmod

as root and verify whether the modules for your audio device are really loaded?

If not, try

modprobe [module name(s)]

and see whether it makes a difference.

Btw, I see you removed some stuff but did you actually inspect alsa-lib(s) as well? I do seem to recall such a thing exists - and it's vital.

Last edited by jay73; 07-10-2007 at 03:11 PM.
 
Old 07-10-2007, 04:27 PM   #7
margaf77
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu Feisty Fawn
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73
Can you do

lsmod

as root and verify whether the modules for your audio device are really loaded?

If not, try

modprobe [module name(s)]

and see whether it makes a difference.

Btw, I see you removed some stuff but did you actually inspect alsa-lib(s) as well? I do seem to recall such a thing exists - and it's vital.

I see them there and Ive tried modprobe and still no working properly. I decided to bite the bullet and reinstall completely and set everything up again. Im pretty close to just saying forget it to linux altogether. But Im going to see if it happens again on a new install.
 
Old 07-12-2007, 07:32 PM   #8
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
I missed your responses as I didn't come online until today.

I see you are going to resinstall ubuntu. Come back and post if you could get sound working.

If you haven't started reinstall, may be you could post the contents of your log. Post the output of "lsmod" and "locate alsa".

In either case you might find these guides useful.

http://www.alsa-project.org/alsa-doc...module=emu10k1
https://help.ubuntu.com/community/HdaIntelSoundHowto

The second HOWTO is for Intel HDA, still the instructions for installing and configuring alsa can be used for your setup. You just need to mind what is necessary for your soundcard, the information for which is available on the first link I've provided.

Let us know if you could get things working.
 
Old 07-13-2007, 03:10 PM   #9
jack67
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Just picked up this thread and don't know if you have tried this: When I upgraded to Feisty I found I had no sound (it had worked fine previously). After much frustration I found the following: If you single click on the speaker icon you get a single volume control, BUT if you DOUBLE click on the same icon a window opens displaying multiple volume controls and mute/unmute icons. You can add additional controls by selecting EDIT=>Preferences. In my case I discovered that PCM was muted. When I unmuted it, my sound was fine. Hope maybe this helps.

Jack
 
Old 07-14-2007, 01:20 AM   #10
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
It may also help to run alsaconf as root.... assuming that it is being loaded, it may not be set up with the correct driver, and alsaconf will fix that
 
Old 07-14-2007, 02:28 PM   #11
margaf77
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu Feisty Fawn
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks to all for the help. I reinstalled and it works now. Now to figure out why I freeze completely when playing video. Damn ATI drivers
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Problem with Ubuntu 7.04 Mr.Smith Ubuntu 1 07-08-2007 12:28 PM
Problem with sound firefox in ubuntu 6.10 (Flash(Youtube)) javierfut Linux - General 2 12-15-2006 09:19 AM
Sound problem with Powerbook running Ubuntu n.b.r. Linux - Laptop and Netbook 0 06-08-2006 04:47 PM
sound problem in ubuntu p-man Linux - Hardware 1 05-14-2006 04:26 PM
Ubuntu sound problem drzile Linux - Hardware 1 03-22-2005 05:08 AM

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

All times are GMT -5. The time now is 06:49 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