LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-01-2007, 09:35 PM   #1
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Rep: Reputation: 0
Ubuntu Feisty - Sound was working, but mysteriously stops working after reboot.


Hi there...I'm running Ubuntu Feisty. I installed a fresh copy of Feisty a few months ago. When I installed, the sound worked great. "All of a sudden" the sound stopped working. The GNOME volume control shows a little "crossout" sign (like what's in front of a butt for a no smoking sign...you know) and you can't access the volume control. So I used this guide to try and diagnose the problem:

http://doc.gwos.org/index.php/Compre...olutions_Guide

Here's the output:

Code:
swoods@newcomb:~$ aplay -l
aplay: device_list:222: no soundcards found...
swoods@newcomb:~$ lspci -v

[NOTE: various devices omitted here...]

00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: ASUSTeK Computer Inc. Unknown device 810d
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at e800 [size=256]
        I/O ports at ee80 [size=64]
        Memory at febff800 (32-bit, non-prefetchable) [size=512]
        Memory at febff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

[...and here...]

swoods@newcomb:~$ sudo modprobe snd-intel8x0
swoods@newcomb:~$ aplay -l
aplay: device_list:222: no soundcards found...
I haven't recompiled ALSA because I figure it works already as packaged with Ubuntu.

I got fed up and tried reinstalling, but to no avail. It worked well for awhile, but then I rebooted and the sound didn't work. Maybe there's an error log somewhere? I tried looking in syslog, but...nothing....

Thanks in advance!
 
Old 06-02-2007, 01:58 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Look in dmesg (that is under /var). Have you tried running the command
alsaconf
from a terminal? I don't know whether this is still available on Ubuntu but it works well enough on Debian. You may need to install alsa-utils first.
 
Old 06-02-2007, 09:30 PM   #3
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the reply...

Tried alsaconf, doesn't work (probably not with ubuntu) ... apt-get doesn't find it.

Here's what I get when I try the dmesg:

Code:
swoods@newcomb:~$ sudo modprobe snd-intel8x0
swoods@newcomb:~$ dmesg | tail
[146257.283996] sda: assuming drive cache: write through
[146257.284014]  sda: sda1
[146337.785216] usb 5-5: USB disconnect, address 7
[146349.867910] SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
[146349.873540] sda: Write Protect is off
[146349.873550] sda: Mode Sense: 11 00 00 00
[146349.873554] sda: assuming drive cache: write through
[146349.876449]  sda: sda1
[153829.823776] ppdev0: registered pardevice
[153829.871916] ppdev0: unregistered pardevice
swoods@newcomb:~$ dmesg | grep snd
swoods@newcomb:~$ dmesg | grep intel
[   15.853939] intel_rng: FWH not detected
[   17.867474] intel8x0_measure_ac97_clock: measured 52160 usecs
[   17.867479] intel8x0: clocking to 48000
swoods@newcomb:~$ dmesg | grep 8x0
[   17.867474] intel8x0_measure_ac97_clock: measured 52160 usecs
[   17.867479] intel8x0: clocking to 48000
..check out those last two dmesg commands...is there something there? That's my sound card it's picking up, right?

Thanks again!

Edit: alsa-utils is already at the latest version according to APT
 
Old 06-03-2007, 05:04 AM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yes, it does look like the card is getting picked up.

Do you get sound running the liveCD?
 
Old 06-03-2007, 07:57 AM   #5
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Yep. LiveCD and initial Ubuntu install work fine. I tried thinking of all the changes I made between when it was working and when it didn't work, but I don't think I made any, really...I just rebooted. Perhaps something "took effect" on reboot.

Either way we should be able to diagnose it somehow.
 
Old 08-01-2007, 03:56 AM   #6
Tim J
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
I had this exact problem, and had also tried all the steps you mentioned. In my case, it turned out to be a permissions issue. For some reason, my user account wasn't in the "audio" group, so I didn't have the correct permissions to (I think) /dev/dsp.

Here's the steps I used to fix it:

Open /etc/group in an editor as root:
Code:
tim@nightcrawler$ sudo vim /etc/group
Then find the line that reads something like
Code:
audio:x:29:
And change it so it reads something like
Code:
audio:x:29:tim
(where tim is your username instead)

Then I logout/login again.

Hope this also fixes your problem
 
Old 09-09-2007, 01:00 PM   #7
clwhitt
LQ Newbie
 
Registered: Apr 2004
Location: Washougal, WA
Distribution: Ubuntu Hardy Heron (8.04)
Posts: 19

Rep: Reputation: 0
I was having essentially the same problem as Woodsy934, except mine came after I created other accounts. The parent account worked fine, but no sound on the child accounts. I ran across a suggestion to restart alsa-utils (sudo /etc/init.d/alsa-utils restart) and chmod the permissions to the sound directory(sudo chmod 666 /etc/snd/*). These worked fine, until I rebooted, then I would be back to the no sound icon on the volume control. I strongly suspected I had a permissions issue but had no idea how to resolve that issue on a permanent basis. Tim J's message gave me that answer, and now all the accounts now have sound.
Thanks Tim J!

Chuck
 
Old 07-04-2011, 07:39 PM   #8
AustinMarton
Member
 
Registered: May 2007
Location: New Zealand
Distribution: Fedora at home, Ubuntu 10.04 at work
Posts: 88

Rep: Reputation: 16
Talking Still works

I know this is an old thread but I was having intermittent sound problems on my HP EliteBook 8540p running Ubunutu 10.04 and Tim's solution of adding my account to the audio group in /etc/group seems to have fixed it.
 
  


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
eth0 stops working until reboot mijohnst Linux - Networking 12 08-17-2008 02:02 AM
Brother DCP-110C Printer not working on Ubuntu Feisty Cheater Linux - Hardware 20 08-22-2007 06:08 AM
Ethernet (Marvell Yukon) card stops working after reboot [FC4] AglaSyS Linux - Laptop and Netbook 8 01-24-2006 11:31 AM
Samba share stops working after reboot FunFactor100 Linux - Software 1 04-08-2005 11:41 PM
Network stops working after reboot balajipriya Linux - Networking 2 06-03-2004 11:49 PM


All times are GMT -5. The time now is 08:54 PM.

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