LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No audio from internal speakers but headphones work (https://www.linuxquestions.org/questions/linux-hardware-18/no-audio-from-internal-speakers-but-headphones-work-838589/)

matt1123 10-17-2010 12:14 AM

No audio from internal speakers but headphones work
 
I am using Debian Squeeze. When I try to play audio no sound comes out of my laptop speakers, but when I plug in my headphones they work.

lspci:
Code:

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)


A.Thyssen 10-17-2010 12:38 AM

I found this type of problem to be cause by the sound device selection. Specifically its selection between internal speakers and HDMI sound.

This was for my laptop, which had these extra capabilities.

I have not solve the problem completely myself, but at least I have it working (most of the time).

matt1123 10-17-2010 12:39 AM

My laptop doesn't have an HDMI port

A.Thyssen 10-17-2010 06:12 AM

Quote:

Originally Posted by matt1123 (Post 4130072)
My laptop doesn't have an HDMI port

Still have a look at the audio devices.

ifranklin 10-17-2010 06:32 AM

On my HP Compaq 6730b the laptop speakers had no sound, after the installation of Ubuntu 8.10 alpha5 2.6.27-2-generic. The only way I could hear sound was when I plugged in my headphones. After reading the Wiki on how to install Intel soundcards, it still didn't work, but now all works fine. Here is my solution (first steps are from Intel soundcard Wiki):
1. finding out what kind of soundcard i have in my laptop

cat /proc/asound/cards

0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0x98900000 irq 17
2.finding out the codec-type

head -n 1 /proc/asound/card0/codec*

==> /proc/asound/card0/codec#0 <==
Codec: Analog Devices AD1984A
==> /proc/asound/card0/codec#1 <==
Codec: LSI ID 1040
3.with the information above, searching for the soundchip

zless /usr/share/doc/alsa-base/driver/ALSA-Configuration.txt.gz

4. editing "/etc/modprobe.d/alsa-base" and adding in my case

options snd-hda-intel model=mobile

after that I still had no sound from my speakers, but the final step solved all that
5. editing "/etc/modprobe.d/options" and adding in my case

options snd-hda-intel model=mobile

6.reboot

Now not only do my laptop speakers have sound, but also mute if I plug in my headphones.

matt1123 10-17-2010 02:38 PM

I could not find the correct model in /usr/share/doc/alsa-base/driver/HD-Audio-Models.txt.gz

cat /proc/asound/cards
Code:


0 [SB            ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xd0400000 irq 16

head -n 1 /proc/asound/card0/codec*
Code:

Codec: Realtek ID 270


All times are GMT -5. The time now is 06:50 PM.