LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-17-2010, 12:14 AM   #1
matt1123
LQ Newbie
 
Registered: Oct 2010
Distribution: Debian, openSUSE
Posts: 12

Rep: Reputation: 0
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)
 
Old 10-17-2010, 12:38 AM   #2
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Posts: 119

Rep: Reputation: 32
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).
 
Old 10-17-2010, 12:39 AM   #3
matt1123
LQ Newbie
 
Registered: Oct 2010
Distribution: Debian, openSUSE
Posts: 12

Original Poster
Rep: Reputation: 0
My laptop doesn't have an HDMI port
 
Old 10-17-2010, 06:12 AM   #4
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Posts: 119

Rep: Reputation: 32
Quote:
Originally Posted by matt1123 View Post
My laptop doesn't have an HDMI port
Still have a look at the audio devices.
 
Old 10-17-2010, 06:32 AM   #5
ifranklin
Member
 
Registered: May 2010
Location: Nairobi, Kenya
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 3
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.
 
Old 10-17-2010, 02:38 PM   #6
matt1123
LQ Newbie
 
Registered: Oct 2010
Distribution: Debian, openSUSE
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Heard in external headphones but not in internal speakers of laptop @skm3nt Linux - Newbie 8 08-28-2010 07:26 PM
Internal Speakers Don't shut off When Connecting Headphones skipjackrc4 Linux - Laptop and Netbook 17 08-21-2009 07:29 AM
plugging in headphones or speakers doesn't disable my laptop's built in speakers moljac024 Linux - Software 11 02-18-2009 09:24 AM
Audio from inbuilt monitor speakers does not mute on plugging in headphones aru11f11 Linux - Newbie 1 09-26-2008 05:46 AM
USB Headphones & OnBoard Audio/Speakers MIRV Linux - Hardware 0 02-27-2008 03:25 AM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration