LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-10-2010, 10:55 AM   #1
adrian2009
Member
 
Registered: May 2009
Posts: 40

Rep: Reputation: 15
Audio output only on headphones on laptop


I want to make the audio available only on my headset and to turn the laptop speakers off. In windows, when i plug in the headphones, the speakers automatically turn off and audio is output only on the heads but that's not the case with slackware. I was looking in alsamixer and the audio and video configuration, but no success. Is there any way to do this and how ?
 
Old 10-10-2010, 11:39 AM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 886

Rep: Reputation: 78
Just a thought:
Have you tried
Kmenu>applications>multimedia>mixer> select controls?
 
Old 10-10-2010, 01:53 PM   #3
adrian2009
Member
 
Registered: May 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Yes but it doesn't show headphones or smth - there are only master,pcm,microphone and mic 1.
 
Old 10-12-2010, 12:25 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,464

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
What is the make and model of laptop?
Please post the output of '/sbin/lspci' so that we can see the audio chipset.

I suspect that you have an Intel chip that may require a model option to the snd-hda-intel kernel module to enable correct operation of the headphones.
 
Old 10-14-2010, 06:44 PM   #5
adrian2009
Member
 
Registered: May 2009
Posts: 40

Original Poster
Rep: Reputation: 15
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: ATI Technologies Inc Device 68e0
01:00.1 Audio device: ATI Technologies Inc Device aa68
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
05:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
05:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80)
05:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
05:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 80)
05:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

This is the output of lspci.
 
Old 10-14-2010, 08:07 PM   #6
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
This was happening with my EEEpc aswell. Plugging in the headphones did not disable the internal speakers.

Upgrading to a newer kernel version fixed this problem.
 
Old 10-14-2010, 08:38 PM   #7
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,464

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
The problem you describe with the Intel 5 Series chip was supposedly fixed in alsa 1.0.23 as supplied in Slackware-13.1

You have not supplied a make and model of laptop, but I am guessing that it is a Dell model.

You can setup a file /etc/modprobe.d/snd-hda-intel.conf and include a specific model. See /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt for alternatives.

Code:
options snd-hda-intel model=dell-m6
 
Old 10-15-2010, 02:57 AM   #8
soorya_agni
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Talking

Editing /etc/modprobe.d/sound.conf to include
options snd-hda-intel model=dell-m6
will get the things working
 
Old 10-15-2010, 07:15 AM   #9
adrian2009
Member
 
Registered: May 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks a lot for your answers, but it's not a DELL model - it's ASUS. Also i tried putting model=dell-m6 but it's not working.
 
Old 10-15-2010, 08:37 AM   #10
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,464

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
ASUS make a lot of laptops. What is your particular model?
 
Old 10-15-2010, 11:50 AM   #11
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 500

Rep: Reputation: 37
I have a Asus two and the same problem.
The solution was this line in sound.conf
Quote:
options snd-hda-intel model=auto
When I rebooted the laptop was fine again.

This happened to my when I updated the BIOS of the laptop.
 
Old 10-17-2010, 08:42 AM   #12
adrian2009
Member
 
Registered: May 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks a lot for your support and your replies, but I have another problem now. I tried reinstalling the alsa driver and now it doesn't get any sound from the headphones, the external speakers or whatever I plug in into the jack. I don't know what to do, I had the newest version of alsa and I just downloaded the same from the alsa web site and build it. I don't know what to do now if someone has any idea about solving the issue I would be very grateful.
 
  


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
No audio output to the jack of my Laptop running7 Linux - Software 2 03-12-2007 01:57 PM
No audio output from headphone jack in a Fujitsu N3410 laptop nigham Linux - Hardware 4 08-14-2006 04:03 PM
Soundcard output set to headphones upon boot rather than laptop speakers tim_programer Linux - Laptop and Netbook 1 08-09-2006 05:02 PM
no audio on Headphones d4harvey Linux - Laptop and Netbook 5 10-21-2005 10:22 AM
Core 4 audio through headphones only keithmcd Fedora 5 08-05-2005 12:19 AM


All times are GMT -5. The time now is 01:24 PM.

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