LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 04-25-2013, 05:48 AM   #1
mindbound
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Rep: Reputation: Disabled
External audio set detection issues on Alienware M17x R4


I can't seem to get working the automatic detection of headphones or external speakers being plugged in (i.e. sound output doesn't switch to headphones and remains on the built-in speakers) on my Alienware M17x R4 laptop (Arch Linux x64, kernel v3.8.7-1 at the time of writing this). As far as I understand, the problem might be with incorrect parameters being passed to snd_hda_intel (mine are options snd-hda-intel index=0 model=alienware) but I can't seem to find any answers as to what the correct ones may be and perhaps I'm thinking in the wrong direction to begin with. Thanks in advance for any suggestions. hints, or tips.
 
Old 04-26-2013, 02:15 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Quote:
Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 4 million posts to search it's possible the answer has been given.

lsmod is a command that will list (ls) the modules (mod) installed by the current running kernel.

Sound modules usually have the notation snd.

find a cli console to the shell and type,
Code:
lsmod | grep snd
Grep is a sorting app. grepping for snd will show us any lines that contain snd from the output of lsmod.

Paste the output here please.

It has a nVidia graphics card, maybe you need to disable sound through hdmi.

You can do this by adding this line to your /etc/modprobe.d/blacklist.conf (/etc/modprobe.d/blacklist-mga.conf on my Mageia (rpm) system).
Code:
blacklist snd_hda_codec_hdmi  #hda-nvidia-digital-stereo
Now after a reboot, or reload the modules anotherway (??), you should have sound from the snd_hda_intel module.

Check with lsmod and grep.

lspci will show more info on hardware devices, use v for verbose. like, lspci -vv.

pciids (web search) has a comprehensive list of devices to search.

But, IMHO, it will be the nvidia hdmi module blocking.

Last edited by GlennsPref; 04-26-2013 at 06:22 PM. Reason: spelling
 
Old 04-26-2013, 04:57 PM   #3
mindbound
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
There was indeed an active snd_hda_codec_hdmi module, which I blacklisted, but detecting when audio jack being plugged in and switching over to the new output still doesn't work (output through the internal speakers worked fine and keeps working).

Last edited by mindbound; 04-26-2013 at 04:59 PM.
 
Old 04-26-2013, 06:20 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Not real sure of laptops, power conserv. etc, but

The auto jack sense on my desktops works no matter what operating system (win7, win8, winxp, kubuntu, mint, mageia and Studio-13.37)....,

which leads me to think..... bios settings.

I believe you may pick 7.2 (5.1 on some) surround OR stereo,

you might need to decide over surround and (stereo) headphones.

Just a stab in the dark, not seeing your machine.

One more thing, dust and fluff in the 3.5mm sound socket, debri may stop the switch if it's mechanical.

Last edited by GlennsPref; 04-26-2013 at 06:32 PM.
 
Old 04-26-2013, 06:22 PM   #5
mindbound
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am rather sure it's neither BIOS nor dust in the socket since the jack detection works without any problems on Windows (I have a dual-boot setup, Windows 7/Arch Linux).
 
Old 04-26-2013, 06:29 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Post

Hmmm, OK. Do you know anybody else that has one?
 
Old 04-26-2013, 07:40 PM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Your laptop may be too new. Most reports I've just seen mention both alsa and kernel updates fixed the problem.

This is normal for new devices in the linux kernel. Bit behind, but getting there never the less.

I personally have delt with this kind of issue on my systems numerous times.

Persist, it will come.
 
1 members found this post helpful.
Old 04-26-2013, 07:46 PM   #8
mindbound
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
That might be actually the case. Let's see if the upcoming 3.9.x'es will bring any change.
 
Old 04-26-2013, 08:28 PM   #9
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Alas, Not here.

another module to look for...
Code:
snd-ctxfi
If so, you may load it by adding it's name to /etc/modprobe.preload.

tip, kernel module names, snd-intel-mod = snd_intel_mod.

That may apply to upper and lower case chars too, but not generally in the Linux file system (is case sensitive)

If I were you I would make a request on pciids website. That will probably flow through to the rest of the system.

look for pciid with lspci.

Take note and look for the module that matches at pciids website.

If your lappy is really new, you can disregard all the old docs. Cut's down on history research.

One last thing,
1. check pulse config for "sense"
2. Do you have jack (jackit, jackd, ...qjackctl) installed, it has "jack-sense" too.

If you have an external sound card, turn off the motherboard sound chip in bios, you'll still need the blacklist for the nvidia hdmi.

Untill the new module comes out.

All the best.
 
Old 06-17-2013, 02:37 PM   #10
robbiedobbie
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Did you find a solution to this problem? I'm having the same issues with Ubuntu and the latest Arch linux. I tried using the snd-ctxfi module and blacklisting the the nvidia hdmi. The normal audio works just fine. Only the headphonejack does not. The laptop is already 1 year old, so I don't think you can call it new. I've been searching for a solution for quite some time already...

Thank you in advance
 
  


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 sound fedora 12 Alienware M17x thelegendofando Linux - Hardware 3 01-25-2010 03:30 PM
Alienware m17x ubuntu karma 9.10 no sound - solved!!!! Jedbot5000 Linux - Hardware 1 01-04-2010 10:03 PM
Alienware M17x - no sound with most distros. IDT 92HD73C1X5 chip. Ethrem Linux - Laptop and Netbook 14 12-02-2009 04:16 AM
I have an alienware m15 laptop with a hd audio controller and there's no sound... trist007 Linux - Newbie 4 07-17-2008 03:49 PM
How to set-up automatic external hard drive detection (via Usb 2.0)? mtp Linux - Newbie 2 04-12-2006 02:38 AM


All times are GMT -5. The time now is 06:10 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