Sound from speakers okay but no headphone

Hi All;

I get sound from my speakers but not from my headphones. When headphones are plugged in the speakers are muted. In the mixer, all sliders are at 100%. Headphones were tested and worked on another system. Here is some information about my system.

root@laptop= /home/tom # lspci

(snip)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
(snip)

root@laptop= /home/tom # uname -a

Linux laptop 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux

root@laptop= /home/tom # rpm -qa "*alsa*"

alsa-1.0.23-2.12.x86_64
alsa-tools-1.0.23-1.8.x86_64
alsa-utils-1.0.23-1.8.x86_64
alsa-plugins-32bit-1.0.23-1.9.x86_64
alsa-firmware-1.0.23-1.2.noarch
alsa-oss-1.0.17-29.2.x86_64
alsa-oss-32bit-1.0.17-29.2.x86_64
alsa-plugins-1.0.23-1.9.x86_64

root@laptop= /home/tom # rpm -qa "*pulse*"

libpulse0-0.9.21-10.1.1.x86_64
libpulse-mainloop-glib0-0.9.21-10.1.1.x86_64
libxine1-pulse-1.1.19-2.pm.48.13.x86_64

root@laptop= /home/tom # rpm -q libasound2

libasound2-1.0.23-2.12.x86_64

root@laptop= /home/tom # cat /etc/modprobe.d/50-sound.conf

options snd slots=snd-hda-intel

u1Nb.Nz15uUWYSoD:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

links to sound configuration

ImageBam - Fast, Free Image Hosting and Photo Sharing
ImageBam - Fast, Free Image Hosting and Photo Sharing

Dell Studio 1745

Thanks for any replies, Tom

Have you installed the alsamixer?

I appear to have a similar audio device to yours:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
cat /etc/modprobe.d/50-sound.conf

options snd slots=snd-hda-intel
# u1Nb.kXwNWe4doZB:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

In KMix mixer do you have a separate Headphones channel that is unmuted?

I notice you haven’t applied the latest kernel update to 2.6.34.7-0.7-desktop. Any special reason?

Another difference with mine, is in your System Settings>Multimedia>Device Preference tab, for Music my top device line says “HDA Intel (ALC269 Analog)”.

Also, ALC269 is the correct codec for my device. It mostly works including headphones. However I know, having installed a newer but (so far) stable kernel-desktop that my device has not been fully detected/supported by the standard 11.3 kernel/alsa driver.

If you haven’t already, I recommend you run the “alsa-info” script as per the advice given in the welcome sticky at the top of this multimedia sub-forum, and also run through the SDB:Audio troubleshooting - openSUSE guide on the wiki. :wink:

Hi Consused; My /etc/modprobe.d/50-sound.conf is identical to yours except for the commented numbers. Also, my 11.3 installation has been updated (including kernel) as of this morning but no change. I know that the headphones are good since I plugged them into my wifes computer and they worked fine.

For some reason the alsa-info.sh file is not on my system as shown below and I have not been able to find it in the 11.3 repos. Do you have a link to it?

root@laptop= /home/tom # rpm -qa *alsa*
gmerlin-alsamixer-0.4.3-0.pm.4.2.x86_64
alsa-1.0.23-2.12.x86_64
alsa-tools-1.0.23-1.8.x86_64
alsamixergui-0.9.0rc1-746.1.x86_64
alsa-utils-1.0.23-1.8.x86_64
gmerlin-alsamixer-debuginfo-0.4.3-0.pm.4.2.x86_64
alsa-plugins-32bit-1.0.23-1.9.x86_64
alsa-firmware-1.0.23-1.2.noarch
alsa-oss-1.0.17-29.2.x86_64
alsa-oss-32bit-1.0.17-29.2.x86_64
alsa-plugins-1.0.23-1.9.x86_64
root@laptop= /home/tom # ll /usr/sbin/alsa*
-rwxr-xr-x 1 root root 35K 2010-07-05 13:03 /usr/sbin/alsaconf*
-rwxr-xr-x 1 root root 88K 2010-07-05 13:03 /usr/sbin/alsactl*
-rwxr-xr-x 1 root root 423 2010-07-05 06:08 /usr/sbin/alsa-init*
root@laptop= /home/tom # ll /usr/bin/alsa*
-rwxr-xr-x 1 root root 64K 2010-07-05 13:03 /usr/bin/alsamixer*
-rwxr-xr-x 1 root root 54K 2010-07-05 06:31 /usr/bin/alsamixergui*
root@laptop= /home/tom # ll /bin/alsa*
ls: cannot access /bin/alsa*: No such file or directory
root@laptop= /home/tom # ll /sbin/alsa*
ls: cannot access /sbin/alsa*: No such file or directory

I’m wondering if something was physically damaged in this laptop since Win 7 doesn’t even see the sound device but I’m leery of opening the case up

Thanks, Tom

Hi @tommyttt

The “rpm -q” command searches for rpm packages but not scripts! The file /usr/sbin/alsa-info.sh is installed by the alsa package (see YaST>Software Management, search on alsa, highlight alsa package and view under File List tab). To execute it, find and follow the directions in the forum sticky, precisely. You will need to run it twice, first as root (su -) to update script, then as normal user for the output. :wink:

Did the laptop come with W7 pre-installed?

It appears you are running the script wrong. Copy and paste this into a terminal:

/usr/sbin/alsa-info.sh 

You need to be connected to the internet when you run the script.

There are pix here showing you how to run the script:
Welcome to multimedia sub-area

Hi Oldcpu & Consused; As a perusal of my previous post will show, alsa-info.sh WAS NOT installed! And I did copy & paste the code oldcpu showed with these results:

root@laptop= /home/tom # /usr/sbin/alsa-info.sh
bash: /usr/sbin/alsa-info.sh: No such file or directory

Since alsa did not install the info script, where can I get it? Or should I just uninstall alsa completely and re-install it?

Thanks, Tom

@tommtttt, My apology, I didn’t look at the rest of the output after the rpm -qa. May I suggest that you place a blank line between the output of multiple commands enclosed by a single pair of “code” tags, for easier reading.

Before deciding on reinstalling alsa, please post output of

zypper lr -d

Re your comment

I’m wondering if something was physically damaged in this laptop since Win 7 doesn’t even see the sound device

Did you install W7 or was it pre-installed when you got the laptop?

If the script is not installed, then your install is corrupted. Because the script is installed by default with all alsa versions commencing with 1.0.17 of alsa, and your rpms indicate 1.0.23 of alsa.

This suggests to me a corrupted installation of alsa, and possibly even of openSUSE.

As a bare minimum I recommend you force a re-install of all your alsa applications.

Hi Consused & Oldcpu; Win 7 was pre-loaded on the laptop but I had to re-install from Dell supplied media including the drivers. Also, here are the results of “zypper lr -d”:

tom@laptop= /home/tom $ zypper lr -d
# | Alias                               | Name                                | Enabled | Refresh | Priority | Type   | URI                                                             | Service
--+-------------------------------------+-------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------+--------
1 | Packman_repo                        | Packman repo                        | Yes     | Yes     |   93     | rpm-md | http://packman.unixheads.com/suse/11.3/                         |        
2 | Updates for openSUSE 11.3 11.3-1.82 | Updates for openSUSE 11.3 11.3-1.82 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.3/                       |        
3 | VLC_repo                            | VLC repo                            | No      | No      |   96     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.3/                 |        
4 | openSUSE-11.3 11.3-1.82             | openSUSE-11.3 11.3-1.82             | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/sr0                                         |        
5 | repo-debug                          | openSUSE-11.3-Debug                 | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.3/repo/oss/  |        
6 | repo-non-oss                        | openSUSE-11.3-Non-Oss               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.3/repo/non-oss/    |        
7 | repo-oss                            | openSUSE-11.3-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.3/repo/oss/        |        
8 | repo-source                         | openSUSE-11.3-Source                | No      | No      |   99     | NONE   | http://download.opensuse.org/source/distribution/11.3/repo/oss/ | 

I will delete alsa from the lappie tomorrow and re-install it.

Thank you gentlemen.

Tom

You do not have to delete.

Just go to YaST > Software > Software Management, and do a search for the character sequence ‘alsa’ and mark every application with ‘alsa’ sequence in the rpm name to be re-installed. The rpm will be downloaded again, and installed again replacing the old version.

If you try to delete first you could run into all sorts of nasty dependencies.

@tommyttt, thanks for latest info.

WRT repos nothing major, although you can set Refresh = No for #6 & #7 since these are static i.e. not updated. Also disable #4 the original install CD/DVD, as it’s superseded by #6 & #7.

Make sure that Packman’s unixhead mirror is receiving regular updates, as there have been past comments in the forum about a couple of mirrors falling behind. It could affect your gmerlin-alsa* package(s) for example.

Do you recall if the “preloaded” W7 ever properly detected your sound device?