LinuxQuestions.org
Register a domain and help support LQ
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 02-14-2010, 08:30 PM   #1
rdagold
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Rep: Reputation: 2
Sound Input NOT working [Latitude E6500] [snd-hda-intel]


So, I have a Dell Latitude E6500 laptop and I have installed Slackware 13.0:
Quote:
[rdagold@slack13 ~]$ uname -a
Linux mhq 2.6.29.6 #3 SMP Mon Dec 7 15:01:06 CST 2009 x86_64 Intel(R) Core(TM) 2 Duo CPU T9600@2.80GHz GenuineIntel GNU/Linux
Everything is just fine, except that I am completely unable to record audio, either using the built-in microphone or an external one. I can do this under Windows 7, which was installed in the laptop by Dell.

Audio output is ok, both for the built-in speakers and the external headset. I can listen to my mp3 in mpd/ncmpcpp and watch (HD) movies at youtube, for example.

However, as I have already mentioned, audio input is not ok. Following advice I found at Archlinux, Ubuntu and Suse forums, I have run alsaconf and I changed /etc/modprobe.d/sound:

Quote:
[rdagold@slack13 ~]$ cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1
I have then tried to record sound using sox (rec) and arecord applications. Both of them returned perfectly (and annoyingly) clean WAV files. I've also given Ekiga a try but it didn't work either, as expected.

Afterwards, I have tried several different alsamixer configurations for my capture devices and tried to record sound both via the builtin microphone and via an external one. It was all to no avail. Here are two screenshots of (rather obvious testing) configurations that I attempted:

1)http://tinyurl.com/yb8wb33
2)http://tinyurl.com/yepnxw6

In case you prefer, here is the output of amixer:

Quote:
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 126 [99%] [0.75dB] [on]
Front Right: Playback 126 [99%] [0.75dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [on]
Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [22.50dB] [off]
Front Right: Capture 15 [100%] [22.50dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [22.50dB] [off]
Front Right: Capture 15 [100%] [22.50dB] [off]
Simple mixer control 'Analog Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Analog Loopback',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DAC0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [12.00dB] [off]
Front Right: Capture 31 [100%] [12.00dB] [off]
Simple mixer control 'DAC1',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [12.00dB] [off]
Front Right: Capture 31 [100%] [12.00dB] [off]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 120 [100%] [30.00dB]
Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Digital Input Source',0
Capabilities: enum
Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
Item0: 'Analog Inputs'
Simple mixer control 'Import0 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [12.00dB] [off]
Front Right: Capture 31 [100%] [12.00dB] [off]
Simple mixer control 'Import1 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [12.00dB] [off]
Front Right: Capture 31 [100%] [12.00dB] [off]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic'
Item0: 'Front Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic'
Item0: 'Front Mic'
Simple mixer control 'Mux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 3 [100%] [30.00dB]
Front Right: Capture 3 [100%] [30.00dB]
Simple mixer control 'Mux',1
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 3 [100%] [30.00dB]
Front Right: Capture 3 [100%] [30.00dB]
It is worth to note that the codec to be used is correctly assigned (IDT 92HD71B7X):

Quote:
[rdagold@slack13 ~]$ cat /proc/asound/card0/codec#* | grep Codec
Codec: IDT 92HD71B7X
Finally, maybe I should add that the currently installed alsa packages in the system are:

Quote:
[rdagold@slack13 ~]$ ls /var/log/packages/ | grep alsa
alsa-lib-1.0.18-x86_64-2
alsa-oss-1.0.17-x86_64-1
alsa-utils-1.0.18-x86_64-2
I hope to have included all relevant information. I feel quite lost on what to try next. Thank you all in advance for any help/suggestions/orientation you may be able to provide me!
 
Old 02-15-2010, 01:20 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,373

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
get hda-analyswer from the alsa site.
 
Old 02-15-2010, 02:23 PM   #3
rdagold
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
get hda-analyswer from the alsa site.
Thanks for the hint!

I still don't have any success when I try to record something but I feel I am getting close somehow

Here is some more information on my system, in case some of you find important.

Output of lspci -vvnn
Quote:
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
Subsystem: Dell Device [1028:024f]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 21
Region 0: Memory at f6fdc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
Output of alsa-info.sh: http://pastebin.com/f214a29fa

Last edited by rdagold; 02-15-2010 at 02:44 PM.
 
Old 02-15-2010, 06:23 PM   #4
rdagold
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Original Poster
Rep: Reputation: 2
I removed the (ancient) slackware alsa packages and I have just compiled (and installed) the latest stable version (1.0.22.1) of alsa-lib, alsa-utils and alsa-driver available at alsa-project.org.

Things look better now, although the problem remains. In fact, I am unable to change two of the values through amixer.


Current amixer output:

Quote:
[rdagold@slack13 ~]$ amixer | grep Capture
Simple mixer control 'Capture',0
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [22.50dB] [off]
Front Right: Capture 15 [100%] [22.50dB] [off]

Simple mixer control 'Capture',1
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [22.50dB] [off]
Front Right: Capture 15 [100%] [22.50dB] [off]

Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 3 [100%] [30.00dB]
Front Right: Capture 3 [100%] [30.00dB]
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 3 [100%] [30.00dB]
Front Right: Capture 3 [100%] [30.00dB]
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 3 [100%] [30.00dB]
Front Right: Capture 3 [100%] [30.00dB]
(full amixer output: http://pastebin.com/f2c4203e1)


Current alsamixer screenshots:

1)http://tinyurl.com/yhbnsba
2)http://tinyurl.com/yznqv6s
 
Old 02-16-2010, 05:37 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,373

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
What I did with hda-analyser was open it in gui, unmute every pin, and set all volumes at half mast. Then I went intyo alsamixer and sorted things by ear. Try that.
 
Old 02-16-2010, 09:43 AM   #6
rdagold
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
What I did with hda-analyser was open it in gui, unmute every pin, and set all volumes at half mast. Then I went intyo alsamixer and sorted things by ear. Try that.
It worked. Thank you a lot. How can i add the tag [SOLVED] to the title of the thread?

Thanks.
 
Old 02-17-2010, 03:02 AM   #7
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,373

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Quote:
Originally Posted by rdagold View Post
It worked. Thank you a lot. How can i add the tag [SOLVED] to the title of the thread?

Thanks.
There's some doo-dah on the page you see when you're logged in as the OP. On the left, IIRC, but it could be in thread tools. Or you can just edit the first post, go advanced, and edit the subject.
 
  


Reply

Tags
alsa, audio, dell, ekiga, latitude, lspci, microphone, record, recording, slackware, sndhdaintel, sound, x8664


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 snd-hda-intel mickeyboa Fedora 5 12-21-2009 04:16 PM
Sound I/O Control with snd-hda-intel Snocrash Linux - Hardware 1 03-24-2008 09:04 PM
No Sound on SuSE 10 - snd-hda-intel rizhun Linux - Hardware 13 03-10-2007 08:46 AM
no sound after resume2 (snd-hda-intel)? khokho solomi Linux - Laptop and Netbook 4 01-26-2007 02:20 AM
snd-hda-intel - no sound Laen Slackware 3 11-12-2006 01:07 PM


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