No sound from headphones in opensuse 11.3

Hi, I have a DELL LATITUDE E5510 with opensuse 11.3 (32 bits) and i’m having the same issue with headphone jack and mic, and video streaming is not working… i’m able to watch youtube videos, but i can’t hear them.

Here i send some info about my case.

dsanchez@22219mg:~> rpm -qa '*alsa*'
alsa-utils-1.0.23-1.8.i586
alsa-plugins-1.0.23-1.9.i586
alsa-oss-1.0.17-29.2.i586
alsa-1.0.24.1-18.pm.23.1.i586
dsanchez@22219mg:~> rpm -qa '*pulse*'
libpulse-mainloop-glib0-0.9.21-10.3.1.i586
libpulse0-0.9.21-10.3.1.i586
libxine1-pulse-1.1.19-50.19.i586
dsanchez@22219mg:~> rpm -q libasound2
libasound2-1.0.23-2.12.i586
dsanchez@22219mg:~> uname -a
Linux 22219mg 2.6.34.10-0.2-desktop #1 SMP PREEMPT 2011-07-20 18:48:56 +0200 i686 i686 i386 GNU/Linux
dsanchez@22219mg:~> cat /etc/modprobe.d/50-sound.conf

options snd slots=snd-hda-intel
# u1Nb.Z7pnHeLHVn0:5 Series/3400 Series Chipset High Definition Audio
alias snd-card-0 snd-hda-intel

Here is my alsa info http://www.alsa-project.org/db/?f=f8...051df727944e8a

I need a little bit of help with this issue.

Thanks in advance.

That link is broken. I think you meant this: http://www.alsa-project.org/db/?f=f8044acf4ba95dd036a3bdfeac051df727944e8a

Yes, that’s the correct link… A copy+paste error.
Sorry

Thx

According to that diagnostic script, one reason you have no sound is you have the PC’s PCM control at 0% volume playback. That is GUARANTEED to ensure no sound.
Code:

Simple mixer control ‘PCM’,0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] -51.00dB]
Front Right: Playback 0 [0%] -51.00dB]

When playing a media file in your browser (or any application) check that setting . Even if you had it set before, check it again.

In order to reply that post , at the moment i’ve executed the alsa-info script that was muted, but it didn’t change anything if is 100%. I have already made that test.

It is IMPORTANT that PCM is not at 0%. If one looks at the diagnostic script, to check the audio configuration, it is clear there can be no sound with PCM at 0%. It is NOT clear that you tested with PCM at 100%. ie when running the script, try to do so in a representative configuration. :slight_smile:

Now you state no sound in YouTube. Do you get sound elsewhere? IF not, what apps did you try.

I note this from the script:


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
**card 0**: Intel [HDA Intel], **device 0**: STAC92xx Analog [STAC92xx [b]Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], **device 3**: INTEL HDMI 0 [INTEL[b] HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**card 0**: Intel [HDA Intel], **device 7:** INTEL HDMI 1 [INTEL [b]HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

From that its clear that your PC audio devices are: hw:0,0 (analog audio), hw:0,3 (HDMI audio), hw:0,7 (hdmi audio) . I assume you are NOT trying the HDMI but you are trying the analog audio. If so, did you try something simple like:


aplay -D hw:0,0 test.wav

where ‘test.wav’ is a file that you need to provide to test.

Or try to put random noise through your speakers with :


speaker-test -D hw:0,0 -c 2

where I assumed 2 channels (with ’ -c 2 ’ ). Your PC config may be different. That should put noise alternating between speakers.

Did you check YaST > hardware > sound to ensure your sound device is configured properly ?

I assume you are using KDE. What sound backend have you selected in phonon ? gstreamer ? xine ? vlc ? And are you using the Packman packaged version of those ?

Youtube works ok, so streaming is working perfectly. I think it could be PCM off what makes the difference there.

I’m using analog sound.

speaker-test works ok.

In yast says

"Index │ Card Model"
"0       │ 5 Series/3400 Series Chipset High Definition Audio "

5 Series/3400 Series Chipset High Definition Audio                                                                                                                                             │  
  │                                                                                                                                                                                               │  
  │ *  Configured as sound card number 0                                                                                                                                                          │  
  │ *  Driver snd-hda-intel  

I’m using kde desktop.

""What sound backend have you selected in phonon ? gstreamer ? xine ? vlc ? And are you using the Packman packaged version of those ? “”
I’m now using vlc with alsa audio output selected and analog device , and i don’t really know if i’m using the packman version.

In Amarok, the Configure Option of Phonon is selected with XINE backend and with deinterlacing method of use_vo_driver.

I hope this will help

Thanks

The sound is only not working in headphones.

With headphones in, the sound stops correctly from speakers, but it didn’t come out from headphones.

I think, that’s the only issue right now.

Thanks

Ok thats good news. So sound works there now.

Thats also good news.

You can easily tell the version by looking in YaST. Or simply type:


rpm -qi vlc

and look under Vendor. If it says Packman, you are using a Packman packaged version.

In Amarok, the Configure Option of Phonon is selected with XINE backend and with deinterlacing method of use_vo_driver.

ok, and sound also works in your speakers in Amarok ? Do you have the packman packaged libxine1 installed ? (its superior to the SuSE-GmbH packaged version).

Hmm … thats not so easy to solve. I see no volume control for headphones in your mixer. I note your PC’s hardware audio codec is an IDT 92HD81B1X5. I note from the alsa documentation (which is on your openSUSE in addition to being on mine) in the HD-Audio-Models.txt file for version 1.0.22 ( and also in 1.0.23 and 1.0.24 on my PCs) of alsa and there was no entry for a 92HD81 (only entries for the 92HD71B* , 92HD73* , and 92HD83* ). That’s not encouraging.

Hence I see only 2 possible solutions …

(1) update your openSUSE-11.3’s alsa version from 1.0.22 to a cutting edge 1.0.24 packaged by an alsa sound developer (but not yet released). This alsa sound developer is also an openSUSE sound packager. I wrote a guide here how to do that update: SDB:Alsa-update - openSUSE be careful in doing the update. > 50% of users fail when following that guide as it is not written sufficient for newbs (unfortunately I’ve lost touch with my inner newb and am unable to improve on that guide). Be certain to install alsa-driver-kmp-desktop for the 2.6.34.10-0.2-desktop kernel, in addition to updating alsa-utils, alsa-plugins, alsa-oss, alsa, and libasound2. If the version numbers you have for those apps don’t change after updating, then you failed to update. I know, thats obvious, but you would be amazed how many users claim they updated (and they did not) or claimed their version was the latest version (and it was not).

(2) If that fails then you need to write a bug report. Guidance is here: openSUSE:Submitting bug reports - openSUSE You can use your openSUSE forum user name and password when logging on to bugzilla. Attach to the bug report the /tmp/alsa-info.txt file you get by running:


/usr/sbin/alsa-info.sh --no-upload

and do NOT bother referencing this thread as the alsa-developer/SuSE-GmbH packager will REFUSE to read a forum thread. So you MUST have all salient information in the bug report. Pay attention to the bug report and provide information when requested by the SuSE-GmbH sound packager. Be certain to CLEAR the ‘NEED INFO’ flag on the bug report after you answer the question the packager may have. That is important.

Good luck.

I have already REINSTALLED the system in SPANISH and everything works just FINE.

Thanks a lot for your help.

Please close thread.

Glad to read its working !