Sound Problem

I’ve been attempting to get sound working on my 11.0 installation and I’m having difficulty getting it to work correctly.

I have been reading through the troubleshooting document ‘SDB:AudioTroubleshooting’ on the WIki, without a whole lot of luck.

I know I have the right device installed through YaST.

82801H (ICH8 Family) HD Audio Controller

And that version of ALSA I have installed supports my onboard, Realtek ALC888.

alsa-1.0.16-39.1
alsa-utils-1.0.16-35.1
alsa-firmware-1.0.16-24.1

I have also added the specific model to my ‘/etc/modprobe.d/sound’ file

options snd slots=snd-hda-intel model=6stack-dig enable=1 index=0 position_fix=1

u1Nb.q5IQ1HohpkC:82801H (ICH8 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

Since I only use USB Headphones I thought that I may need to install something for that. So I found a few comments regarding the ‘Generic USB Sound’ device in YaST. Unfortuantely I can’t seem to get it to install through YaST.

An error occurred during the installation of
USB Audio
The kernel module snd-usb-audio for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parametres.

Any idea how I can get around this?

Cheers :slight_smile:

Indeed, this could be headphone related. Still, I recommend you change your /etc/modprobe.d/sound file to:

options snd slots=snd-hda-intel 
# u1Nb.q5IQ1HohpkC:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=6stack-dig enable=1 index=0 position_fix=1

And see if that helps. You will need to restart alsa with:su -c ‘rcalsasound restart’ and then test your audio. I propose that change to the file as there is a bug with openSUSE-11 in that it does not aways accept the syntax suggested in the audio troubleshooting guide.

Thanks for the reply Oldcpu. :slight_smile:

Unfortuantely that didn’t seem to be the problem. I’m wondering if I would have more luck disabling the onboard sound on my 965P-DS3P and installing an old Creative Audigy I have sitting around.

Disabling the onboard sound is definitely one approach that can be adopted. You could try disabling the onboard sound and working your way through the openSUSE audio troubleshooting guide:
SDB:AudioTroubleshooting - openSUSE

If that doesn’t work for you, then we will need more information:

If after trying the audio troubleshooting guide, you still do not have sound then we will need more information on your Dell Studio 15 in order to help with sound … ie …with your PC connected to the internet, please start by copy and pasting the following diagnostic script into a gnome-terminal or konsole with your PC connected to the internet:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

and when prompted for a password enter your root password. Please try to accurately estimate the number of jacks/plug you have when asked (for example, I have 3 i/o sound jacks on my PC), and when the script is complete it will give you a URL. Please post that URL on this thread.

Also, in addition to the above, please copy and paste the following commands one line at a time into a gnome-terminal / konsole and paste here the output of these commands:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Are you using gnome or kde? and if openSUSE-11, which kde version?

I note that USB devices sometimes require a .asoundrc file to be created. I do not have a USB device (hence I have no experience with this) although I may be able to point you in the right direction if such a file is necessary.

Apologies about the reference to “Dell Studio 15” . Thats a copy and paste error. Still please run the scripts and the commands given.

sometimes the solution lies where we don’t expect it.

does sound work when you are logged in as root?
if not, stop reading further!

if so, check your user account.

here we go:

log in as root
go yast2
security and users
user and group management
select your login account
select edit
a window opens: “existing local users”
select tab details
in the right hand window check whether audio is ticked.

if it was not ticked, tick it !!

try again, logging in with your ordinary user account!

good luck

> does sound work when you are logged in as root?

never never log into Gnome, KDE or other GUI as root…
for why see: http://tinyurl.com/6ry6yd

> log in as root
> go yast2

no, please…do NOT log into KDE/Gnome as root to use YaST2’s gui…

instead log in as yourself (a regular user) and click to launch YaST,
it will AUTOMATICALLY ask you for the root password and then you can
do all those things you mentioned

just logging into KDE/Gnome as root and moving around, looking at
stuff, trying the sound and etc is enough to mysteriously mess up stuff…

really.


see caveat: http://tinyurl.com/6aagco
DenverD (Linux Counter 282315) via NNTP, Thunderbird 2.0.0.14, KDE
3.5.7, SUSE Linux 10.3, 2.6.22.18-0.2-default #1 SMP i686 athlon

i have a soundblaster audigy LS CA0106 audio device
also i have a nvidia hda soundcard onboard.
both devices does not give sound,

i have multiple post’s on the linuxquestions forum
Opensuse 11 No Alsa at gstreamer - LinuxQuestions.org

and also reinstalled my opensuse 11 system,

/sbin/yast2 sound configures the soundcards on your system,

when pulseaudio is connected i get some other screen at yast2 sound so i unplugged pulseaudio, this was afther installation the standart soundsystem???

i unplugged/disconnected pulseaudio and get the good config screen at yast2 sound

here i configured my soundcard but still no sound,
it supposed to that screen to give me my sound back i remember from opensuse 10.2 and 10.3 but it doesn’t

also when i reboot my system and go to /sbin/yast2 sound
it sais not configured again,???

alsaconf also totaly configures my soundcard but again no sound,

the only option for me to get any output of my soundcard at version 11 is to go to ossdriver open sound system.,
this configures my soundcard in a way my mic is directly connected to my output,
so i have microphone output hearable but further the same,
NO SOUND.

Not sure if this is relevant but looking under ‘Sound’ in System Settings it recognises my HDA Intel (ALC888 Analog) and below it is ‘Logitech USB Headset (USB Audio)’ but it’s greyed out.

I’m sure this is because ‘USB Audio Generic’ would not install through YaST. Is there any way I can find out what the problem was that prevented it from installing, ie: a log file for YaST?.

I was looking through /var/log/YaST2/y2log. And really all of interest I could find was:

2008-09-24 10:59:37 <1> linux-x6ed(4654) [YCP] Sound.ycp:1156 Modprobe commands: “/sbin/modprobe -C /dev/null snd-hda-intel enable=1 model=6stack-dig position_fix=1”, “/sbin/modprobe -C /dev/null snd-usb-audio “]
2008-09-24 10:59:37 <1> linux-x6ed(4654) [YCP] sound/volume_routines.ycp:164 modprobe commands:”/sbin/modprobe -C /dev/null snd-hda-intel enable=1 model=6stack-dig position_fix=1”, "/sbin/modprobe -C /dev/null snd-usb-audio "]
2008-09-24 10:59:38 <3> linux-x6ed(4654) [bash] ShellCommand.cc(shellcommand):78 FATAL: Module snd_usb_audio not found.
2008-09-24 10:59:38 <3> linux-x6ed(4654) [YCP] sound/volume_routines.ycp:181 /sbin/modprobe error output:
FATAL: Module snd_usb_audio not found.

Does “FATAL: Module snd_usb_audio not found” mean that it’s looking for a previously installed module called ‘snd_usb_audio’ or does it mean the YaST installer cannot find ‘snd_usb_audio’ to install?.

Many audigy users have mis-configured their mixer. Please read and apply this how-to: [Solution] Creative Audigy 1/2 + 11.0 + KDE/GNOME + ALSA - openSUSE Forums](http://forums.opensuse.org/hardware/386773-solution-creative-audigy-1-2-11-0-kde-gnome-alsa.html)

Do you still have alsa-firmware installed ?

I also typically have installed alsa-plugins and alsa-oss, although I do not believe that is relevant to your problem. IMHO its more likely you need to configure your sound for your USB sound device.

According to RPM I have alsa-firmware installed

alsa-1.0.16-39.1
alsa-utils-1.0.16-35.1
alsa-firmware-1.0.16-24.1

I’ve tried to manually configure it through YaST -> Hardware -> Sound - > Add -> USB Audio (Generic). However I always get the error:

2008-09-25 22:04:47 <1> linux-x6ed(3898) [YCP] sound/routines.ycp:764 modname: snd-usb-audio
2008-09-25 22:04:47 <1> linux-x6ed(3898) [YCP] sound/routines.ycp:765 mod_name: snd_usb_audio
2008-09-25 22:04:47 <1> linux-x6ed(3898) [YCP] sound/routines.ycp:766 get_running_cards: $“name”:“HDA Intel”, “number”:0]]
2008-09-25 22:04:47 <1> linux-x6ed(3898) [YCP] sound/routines.ycp:767 card_id: 1
2008-09-25 22:04:47 <1> linux-x6ed(3898) [YCP] sound/routines.ycp:768 /proc cards: 0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9200000 irq 22
2008-09-25 22:04:47 <1> linux-x6ed(3898) [YCP] sound/volume.ycp:331 result of the extra attempt: The kernel module snd-usb-audio for sound support
could not be loaded. This can be caused by incorrect
module parameters, including invalid IO or IRQ parameters.

2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] Sound.ycp:1063 Default module parameters: $“model”:$“descr”:“Use the given board model.”], “position_fix”:$“allows”:"{{0,auto},{1,none},{2,posbuf},{3,fifo}}", “default”:“0”, “descr”:“Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size).”, “dialog”:“check”], “single_cmd”:$“allows”:"{{0,Disabled},{1,Enabled}}", “default”:“0”, “descr”:“Use single command to communicate with codecs (for debugging only).”, “dialog”:“check”]]
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] Sound.ycp:1066 options: “enable”, “index”, “model”, “position_fix”]
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] Sound.ycp:1067 module options: $“enable”:“1”, “index”:“0”, “model”:“6stack-dig”, “position_fix”:“1”]]
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] Sound.ycp:1116 collected options: $“enable”:“1”, “index”:“0”, “model”:“6stack-dig”, “position_fix”:“1”]
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] Sound.ycp:1156 Modprobe commands: “/sbin/modprobe -C /dev/null snd-hda-intel enable=1 model=6stack-dig position_fix=1”]
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] sound/volume_routines.ycp:164 modprobe commands:"/sbin/modprobe -C /dev/null snd-hda-intel enable=1 model=6stack-dig position_fix=1"]
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] clients/sound.ycp:595 Sound module finished
2008-09-25 22:05:13 <1> linux-x6ed(3898) [YCP] clients/sound.ycp:596 ----------------------------------------

How else could I install the drivers for USB audio?

Cheers :slight_smile:

Did you try typing in a gnome-terminal or konsole:su -c alsaconf
Also, I assume you are using the sound test from the audio troubleshooting guide? Please keep using that sound test all the time … ie …speaker-test -Dplug:front -c2 -l5 -twav

How else? I can’t say until you provide the information I asked for previous. I quote:

Sorry :slight_smile:

Paste Link: tsalsa.txt - nopaste.com (beta)

rpm -qa | grep alsa

alsa-utils-1.0.16-35.1
alsa-1.0.16-39.1
alsa-plugins-1.0.16-57.1
alsa-firmware-1.0.16-24.1
alsa-devel-1.0.16-39.1
alsa-oss-1.0.15-48.1

rpm -qa | grep pulse

No output from this command

rpm -q libasound2

libasound2-1.0.16-39.1

uname -a

Linux linux-x6ed 2.6.25.16-0.1-pae #1 SMP 2008-08-21 00:34:25 +0200 i686 i686 i386 GNU/Linux

cat /etc/modprobe.d/sound

options snd-hda-intel model=6stack-dig enable=1 index=0 position_fix=1

And I tried su -c alsaconf but it doesn’t seem to allow me to setup a new device, just to reconfigure the existing HDA Intel.

Thanks :slight_smile:

Thanks for the script output. This part is strange:

Lspci info:         
              00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)        

Alsa driver:         
Alsa lib: 1.0.16        
Alsa utils: 1.0.16        

Alsa modules:        
                

Snd/soundcore:         
      soundcore              24264  0         

Alsa cards:         


Codec: 

It detects your existing motherboard ( ? ) audio, but nothing else. And there is no indication that your alsa driver is recognized.

Can you reboot, and then immediately after a reboot type:dmesg > dmesg.txtand open up dmesg.txt with a text editor, and copy and paste that output to a pastebin site such as http://pastebin.ca](http://nopaste.com/p/a3mHN8wlH) and submit it and post the URL it provides here (dmesg.txt is too big to post here directly).

Also, with your usb headphones plugged in, please type in a gnome-terminal or konsole: ** lsusb**
You will need usbutils installed for that to work. Please post the output here that is specific to your headphones.

Pastebin for Dmesg
pastebin - collaborative debugging tool

lsusb output

Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 045e:0053 Microsoft Corp. Optical Mouse
Bus 001 Device 002: ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Thanks again :slight_smile:

I see some entries for your audio in that file:

#usb 1-1: configuration #1 chosen from 1 choice
#usb 1-1: New USB device found, idVendor=046d, idProduct=0a02
#usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
#usb 1-1: Product: Logitech USB Headset
#usb 1-1: Manufacturer: Logitech

input: Logitech Logitech USB Headset as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.3/input/input2
input,hidraw0: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:1a.0-1

hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj. 

The last entry is not good, as it suggests there is some problem with your hda-intel sound. It suggests a bad position adjust. I then recall you put “position_fix=1” into your /etc/modprobe.d/sound file. What was your reasoning for that? I also note you have applied the option “model=6stack-dig” … What was your reasoning for that?

If you do wish to try those with openSUSE-11.0, try a different syntax. ie in your /etc/modprobe.d/sound file, try instead:

options snd slots=snd-hda-intel  position_fix=1
# u1Nb.q5IQ1HohpkC:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=6stack-dig enable=1 index=0 

and either reboot to test your sound, or restart your audio with su -c ‘rcalsasound restart’ and then test your headset with the audio test: speaker-test -Dplug:front -c2 -l5 -twav also try that test with root permissions in case you also have a permissions problem: su -c ‘speaker-test -Dplug:front -c2 -l5 -twav’

This is your headset, but as noted, upon boot it is also identified in your dmesg.

Your USB headset was not identified in the script file, so one possibility that I was going to suggest trying, was to create a custom /home/username/.asoundrc file:

       pcm.usb-audio {
          type hw
          card 1
       }
       
       ctl.usb-audio {
          type hw
          card 1
       } 

Assigning your USB device to card-1. But based on the information you provided, I don’t think that will work so I do not recommend this.