LinuxQuestions.org
Visit Jeremy's Blog.
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 10-21-2008, 10:38 PM   #1
Jetgunner
LQ Newbie
 
Registered: Oct 2008
Distribution: openSuse 10.3, 11.0
Posts: 1

Rep: Reputation: 0
Sound only works following speaker-test


I have installed openSUSE 11.0 on my desktop machine. On booting, the sound card does not seem to function. There are no system sounds and I cannot play any audio CDs, etc. However, if I start Yast and simply go into the sound configuration, or if I run speaker-test, the sound suddenly starts to function. Following speaker-test, CDs play, etc. I emphasize that I make no configuration changes, I simply run speaker-test and the sound starts to work. Can someone tell me what this process does that triggers the sound to start working? Below are some details.

Distro: openSUSE 11.0
Kernel: 2.6.25.16-0.1-default

When I run lspci, the following line outputs for the sound card:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller
(rev 02)

/etc/modprobe.d/sound contains the following lines:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

Output from lsmod | grep snd:

snd_pcm_oss 68992 0
snd_mixer_oss 35584 1 snd_pcm_oss
snd_seq 83600 0
snd_seq_device 26516 1 snd_seq
snd_hda_intel 497580 3
snd_pcm 115208 3 snd_pcm_oss,snd_hda_intel
snd_timer 45072 3 snd_seq,snd_pcm
snd_page_alloc 28688 2 snd_hda_intel,snd_pcm
snd_hwdep 28424 1 snd_hda_intel
snd 96248 12 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 26000 1 snd


Thank you in advance...
 
Old 10-31-2008, 07:46 AM   #2
cgtueno
Member
 
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50
October 31, 2008

Hi

I recommend that you take a look at
http://en.opensuse.org/SDB:AudioTroubleshooting

when you execute speaker-test
(speaker-test -Dplug:front -c2 -l5 -twav)
are you executing it as root or as a regular user ?

The reason I ask is that (according to the above documentation) if you are able to hear sound as root, but not as a regular user, then it may be related to a regular user permissions problem. (The regular user will have to be added to the "audio group").

ie. Running speaker-test as a regular user make work but the permissions are not updated, the fix is temporary, and the effect is lost when you logout of X and log back in again.

The procedure is documented in the above web page.

Be sure to logout of X and login again in order to check the persistence of the permission changes.

I hope that helps.

regards

Chris

Last edited by cgtueno; 10-31-2008 at 07:50 AM. Reason: added some extra comments for clarity
 
  


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
speaker-test error...what now? jw_wvu Debian 0 05-09-2006 10:08 PM
my sound works on boot and shutdown and on test but i cannot get a cdrom to play audi tbrownarcher Linux - Hardware 8 04-10-2006 03:49 PM
Linux Sound - Test works, but no mp3 players work wfernley Linux - Software 4 02-13-2006 09:37 AM
Sound not working in GNOME but sound card test works saravkrish Linux - Hardware 3 02-08-2006 11:03 AM
[sound] Alsa works, speaker doesn't BlackCell Linux - General 3 11-12-2003 04:28 PM

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

All times are GMT -5. The time now is 08:47 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
Open Source Consulting | Domain Registration