Headphones work but laptop internal speaker doesn't

Hey.

I have a little problem with my laptop. When I plug in the headphones the sound works like a charm. Everything is ok, but I wonder why there are problems with the internal speaker ? It shouldn’t be muted or switched off ? Is it an ALSA problem ? I appreciate any help…

My laptop is HP 6735s FU374ES and soundcard Ati SBx00 Azalia (as seen in Yast).

It could be you audio configuration, … it could be your driver … I don’t know. Can you provide more information ? Please, to provide more information, with your PC connected to the internet copy and paste the following into a gnome-terminal or konsole:

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

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following into a gnome-terminal or konsole and post the output here.rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Are you using gnome? kde3? kde4?

Once I have that information, I believe I may be able to provide helpful recommendation(s).

He are the information you requested:

tsalsa.txt - nopaste.com (beta)

turgon@linux-7yw3:~> rpm -qa | grep alsa
alsa-plugins-pulse-1.0.16-57.1
alsa-utils-1.0.16-35.1
alsa-plugins-1.0.16-57.1
alsa-oss-1.0.15-48.1
alsa-firmware-1.0.16-24.1
alsa-1.0.16-39.1
alsa-oss-32bit-1.0.15-48.1
turgon@linux-7yw3:~> rpm -qa | grep pulse
alsa-plugins-pulse-1.0.16-57.1
libpulse0-0.9.10-26.5
pulseaudio-esound-compat-0.9.10-26.5
libpulse0-32bit-0.9.10-26.5
libpulsecore4-0.9.10-26.5
pulseaudio-0.9.10-26.5
turgon@linux-7yw3:~> rpm -q libasound2
libasound2-1.0.16-39.1
turgon@linux-7yw3:~> uname -a
Linux linux-7yw3 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 GNU/Linux
turgon@linux-7yw3:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

5Dex.0Ep7wYQzpXA:SBx00 Azalia

alias snd-card-0 snd-hda-intel
turgon@linux-7yw3:~>

I am using kde4.

OK, so sound is not muted when you plug in headphones …

The script tells me you are using an AD1984A. Your mixer settings as reported by the script appear to be fine.

I note for alsa-1.0.16 there are no model option settings in the ALSA-Configuration.txt for the AD1984A. But in alsa-1.0.18 there are model options for the AD1984A. Doing a search on the alsa site for the AD1984A also gives me this hit: Search results - AlsaProject which suggests improved support was introduced with 1.0.17 of alsa. I note there are rpms for 1.0.18 alsa and hence I recommend you update to 1.0.18.

You can do that, with your PC connected to the internet, open a konsole and type “su” (no quotes - enter root password when prompted for a password) and then copy and paste the following 6 zypper commands to update to 1.0.18 of alsa:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/ multimedia
zypper install alsa-driver-kmp-default
zypper rr multimedia

Then restart your PC. Test your sound and your speaker muting when headsets inserted. If it still does not work, then you can try, with that new alsa version, to modify your /etc/modprobe.d/sound file. I note the ALSA-Configuration.txt file for 1.0.18 of alsa has this for the AD1984A.

	AD1884A / AD1883 / AD1984A / AD1984B
	  desktop	3-stack desktop (default)
	  laptop	laptop with HP jack sensing
	  mobile	mobile devices with HP jack sensing
	  thinkpad	Lenovo Thinkpad X300

So we can insert a custom line to your /etc/modprobe.d/sound file.

so edit that file, adding a line at the end, changing it to:

options snd slots=snd-hda-intel
# 5Dex.0Ep7wYQzpXA:SBx00 Azalia
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=laptop

Then restart your sound with su -c ‘rcalsasound restart’ and test your sound and your speaker behaviour when a headphone is inserted. If there is no change in the behavior, then try a different option other than “laptop”. … ie you can also try desktop, mobile or thinkpad (one at a time, restarting alsa and retesting your speaker/headphone behaviour after each change).

Hopefully one of those will work. Good luck!

Yes! Yes! Yes! It started working after adding line into this /etc/modprobe.d/sound

Huge thanks oldcpu. I owe you a virtual beer or milk if you prefer. :slight_smile:

Fantastic! Congratulations.

Good idea! I’ll crack open a beer now in celebration! (and to relax on a saturday night, celebrating 1 week after my wife and I moved to a new apartment) :slight_smile:

Actually, I’m in the market for a new laptop. I was looking at an HP 6730S (in our local notebook PC store Notebook Shop - Aktuelle Notebook und Laptop Angebote ) earlier today (its a 15-minute walk away). The HP 6730s (which I assume is reasonably similar to your HP 6735s) looks pretty nice. Glad to read sound functions in a similar model (HP 6735S)

avallach0, I have a favour to ask of you … I have expanded my research (for a new laptop) to include the HP-6735S. Could you tell me what wireless chipset you have in your laptop?

You can do so by typing in a konsole or gnome-terminal:[INDENT]/sbin/lspci -nn[/INDENT]and post here the line for your wireless. If you can not identify that specific line, then please post the entire output.

Thanks!

Hi,
One more beer for you.

I’ve got 6735b and spent last week trying to figure out if it’s alsa or pulse audio to blame … thanks to you, I can now hear the music on speakers as well as on headphones.

Here’s what you asked:

hp:~ # /sbin/lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:01.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx) [1022:9602]
00:04.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) [1022:9604]
00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) [1022:9605]
00:07.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3) [1022:9607]
00:09.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 4) [1022:9608]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] [1002:4390]
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller [1002:4398]
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller [1002:4398]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration [1022:1300] (rev 40)
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Address Map [1022:1301]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h DRAM Controller [1022:1302]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control [1022:1303]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Link Control [1022:1304]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] [1002:9612]
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
0a:06.0 FireWire (IEEE 1394) [0c00]: Agere Systems FW323 [11c1:5811] (rev 70)

By the way, I would recommend 6735b. I have considered 6735s for a long time but “b” really brings a lot more and it’s not that much more expensive. Mine was around EUR 520 with Athlon 64 X2 QL-60 CPU, 4GB of RAM and 250 GB disk.

So far OpenSuse dual boots with Windows XP and I also have xen boot with XP and few other OSs as guests.

If you need any more info, just drop me a PM and I’ll be glad to do it for you.

Regards
Vladimir

Congratulations !

Thanks, that gives a bunch of neat detailed information (useful for investigating Linux compatibility) that one can not get off of a web site.

I know so little about networking/wireless, … It looks to me that the BCM7587M is your wired ethernet. I take it then you do not have wireless?

Its a nice looking laptop with good specs ! Thanks for the recommendation.

Ooops …
My mistake. It seems it was turned OFF when I run lspci. Here’s what I get now:

vladimir@hp:~> /sbin/lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:01.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx) [1022:9602]
00:04.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) [1022:9604]
00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) [1022:9605]
00:07.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3) [1022:9607]
00:09.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 4) [1022:9608]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] [1002:4390]
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller [1002:4398]
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller [1002:4398]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration [1022:1300] (rev 40)
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Address Map [1022:1301]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h DRAM Controller [1022:1302]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control [1022:1303]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Link Control [1022:1304]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] [1002:9612]
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
09:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
0a:06.0 FireWire (IEEE 1394) [0c00]: Agere Systems FW323 [11c1:5811] (rev 70)

So, it’s Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller.

Regards
Vlad

Neat. …

Did the broadcom driver/firmware (for Linux) work for you? Or did you have to use the ndiswrapper to get the wireless functioning under Linux?

I’m a bit disappointed with the openSUSE SDB/wiki pages, in that they have not been maintained for broadcom for the latest openSUSE versions (and latest broadcom wireless, as near as I can tell), although maybe I missed the page(s) when surfing.

To be honest, I did not even try it.

I bought this laptop to play/learn Xen and OpenVZ and did not even test wireless.