LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-18-2009, 07:00 PM   #1
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Rep: Reputation: 18
Ubuntu 9.04 No Sound


This is an extra hint for people experience loss of sound after an Ubuntu upgrade

There is an apparent conflict between Alsa and Pulse Audio. A number of pages will advise disabling Pulse Audio and only enabling Alsa and this worked for me.

Ubuntu seems to be pushing Pulse Audio which would be okay if it worked. Ubuntu is in my experience one of the best flavours but many some have to go to considerable trouble to get rid of Pulse

A handy little script called fixsound is

#!/bin/sh
# echo need to be root for this to work
killall pulseaudio
alsa force-reload

be sure to chmod 755 to be executable

If there is still no sound try running the alsa mixer GUI and make sure that the external amplifier is off.

If you don't like to sudo to root each time this C program may help.
Compile this code with C compiler

#include <stdio.h>
main( argc, argv, envp)
int argc;
char *argv, *envp;
{
setuid(0);
execv("/home/mydirectory/fixsound",argv);
}

chown the code setuid root so the permissions look like
-rwsr-xr-x and owned by root

and put a command to execute this program in your .profile in your home directory
 
Old 09-19-2009, 04:02 AM   #2
momist
LQ Newbie
 
Registered: Dec 2004
Location: Lancashire, UK
Posts: 17

Rep: Reputation: 1
Sound missing since recent Jaunty update

Hi everyone,

The fix suggested won't work for me. Please try to help if you can. After a recent update to my Jaunty system, I've lost all sound, including the drum roll at boot time.

I'm using an AMD 1600XP 32 bit processor on a much upgraded homebrew machine which has had the current hardware without sound troubles for a few years now. The machine can see the on-board C-Media AC'97 'soundcard', as revealed by "hwinfo --sound".
Code:
19: PCI 02.7: 0401 Multimedia audio controller                  
  [Created at pci.314]
  UDI: /org/freedesktop/Hal/devices/pci_1039_7012
  Unique ID: 1sCg.mUMDO85F5bB
  SysFS ID: /devices/pci0000:00/0000:00:02.7
  SysFS BusID: 0000:00:02.7
  Hardware Class: sound
  Model: "Silicon Integrated AC'97 Sound Controller"
  Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
  Device: pci 0x7012 "AC'97 Sound Controller"
  SubVendor: pci 0x13f6 "C-Media Electronics Inc"
  SubDevice: pci 0x0300 "ECS K7SOM+ motherboard"
  Revision: 0xa0
  Driver: "Intel ICH"
  Driver Modules: "snd_intel8x0"
  I/O Ports: 0xd800-0xd8ff (rw)
  I/O Ports: 0xd400-0xd43f (rw)
  IRQ: 11 (861840 events)
  Module Alias: "pci:v00001039d00007012sv000013F6sd00000300bc04sc01i00"
  Driver Info #0:
    Driver Status: snd_intel8x0 is active
    Driver Activation Cmd: "modprobe snd_intel8x0"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
and lspci -v
Code:
ian@***:~$ lspci -v
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
	Subsystem: C-Media Electronics Inc Device 0300
	Flags: bus master, medium devsel, latency 64, IRQ 11
	I/O ports at d800 [size=256]
	I/O ports at d400 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: Intel ICH
	Kernel modules: snd-intel8x0
I don't understand every part of these outputs, for instance what is meant by the Config Status line showing "cfg=new, avail=yes, need=no, active=unknown"?

I've read and re-read all the various threads in the Ubuntu forums about lost sound, and discovered all the variations on volume control and pulse-audio settings etc. The problem is that none of this software can see the soundcard, as aplay -l shows:
Code:
aplay: device_list:217: no soundcards found...
I've read extensively about /etc/modprobe.d/alsa-base.conf and tried editing this to make sure the correct codec is used, all to no avail.

My only option now seems to be to go back to the "image" of the Intrepid setup I was using until recently, and abandon Jaunty entirely. Before I do that, can anyone suggest something I haven't looked at yet?

Thanks

Ian
 
Old 09-20-2009, 11:53 AM   #3
momist
LQ Newbie
 
Registered: Dec 2004
Location: Lancashire, UK
Posts: 17

Rep: Reputation: 1
Quote:
Originally Posted by momist View Post
The fix suggested won't work for me.
<snip>
aplay -l shows:
Code:
aplay: device_list:217: no soundcards found...
My only option now seems to be to go back to the "image" of the Intrepid setup I was using until recently, and abandon Jaunty entirely. Before I do that, can anyone suggest something I haven't looked at yet?

Thanks

Ian
So, I didn't so that. Instead a complete clean install of Jaunty has cured the problem. Acres of work to re-install all the odd packages I've accumulated over the years, and weed out any that could possibly break the audio (gxmms etc.) and set up the repositories the way I need them, but it has cured the problem.

Ian
 
Old 09-20-2009, 12:41 PM   #4
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
I had the opposite problem with Kubuntu. Pulseaudio seemed to only be half installed, and every time I tried to use it the system would default back to the ALSA driver after hanging for a second or two. So I opened up Synaptic, installed the Pulseaudio package and about 10 dependencies and now it works perfectly every time.
 
  


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
Need sound Help for Sound problem In Ubuntu 6.06 Dapper Drake pikachoo Linux - Newbie 1 03-17-2009 03:37 AM
Ubuntu Breezy No Sound on Audigy Sound Card rjcmi Ubuntu 14 03-10-2009 11:19 PM
no Sound in ubuntu inbuilt sound blaster 24bit G1795X motherboard fanaticx Linux - Hardware 19 09-13-2008 06:58 AM
Ubuntu Studio - No sound in applications, but at the system level i can hear sound boyd98 Linux - General 2 06-21-2008 11:40 AM
Sound problems with ubuntu 4.1 and a realtek sound card linux-novice Linux - Newbie 1 02-18-2006 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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