You are not logged in.

#1 2010-06-14 00:40:41

bdjnk
Member
Registered: 2009-08-24
Posts: 78

[Solved] Samsung NC10 Microphone

The built in microphone on my NC10 appeared to not be functioning under Linux. So I have been investigating.

Alsamixer shows that the mic levels are all unmuted and reasonably set.

cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf0340000 irq 27

arecord -l

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

arecord -d 6 /tmp/test-mic.wav

Recording WAVE '/tmp/test-mic.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

I make some noise.

aplay /tmp/test-mic.wav

Playing WAVE '/tmp/test-mic.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

But no sound plays.

lsmod | grep snd

snd_hda_codec_realtek   186046  1
snd_seq_dummy           1067  0
snd_seq_oss            24984  0
snd_seq_midi_event      4484  1 snd_seq_oss
snd_seq                41656  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4349  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_intel          19249  0
snd_pcm_oss            33442  0
snd_hda_codec          59723  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4752  1 snd_hda_codec
snd_mixer_oss          14356  1 snd_pcm_oss
snd_pcm                57767  3 snd_hda_intel,snd_pcm_oss,snd_hda_codec
snd_timer              15629  2 snd_seq,snd_pcm
snd                    42562  11 snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_hda_codec,snd_hwdep,snd_mixer_oss,snd_pcm,snd_timer
soundcore               5017  1 snd
snd_page_alloc          5873  2 snd_hda_intel,snd_pcm

/etc/rc.conf

MODULES=(... !snd_intel8x0m !pcspkr !snd-pcsp ...)

I've been searching but I can't work out how to proceed and figure out the issue. Any suggestions are greatly appreciated.

Last edited by bdjnk (2010-06-14 15:23:43)

Offline

#2 2010-06-14 01:18:47

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [Solved] Samsung NC10 Microphone

You have a hda intel what you probably can do is try different 'model' options. And when testing dont trust your ears/speaker, output the record to the stdout and look at the raw data.

EDIT link to model list http://www.kernel.org/doc/Documentation … Models.txt

Last edited by kazuo (2010-06-14 01:20:38)

Offline

#3 2010-06-14 04:46:15

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [Solved] Samsung NC10 Microphone

Thanks kazuo, for pointing out the info on specifying models. Here is the current situation:

possibly relevant modules in /etc/rc.conf

MODULES=(... !snd_intel8x0m !pcspkr !snd-pcsp !snd_pcm_oss !snd_mixer_oss !snd_seq_oss ...)

/etc/modprobe.d/modprobe.conf now has the line

options snd-hda-intel model=samsung-nc10

not sure if this is right but

arecord -d 6 /tmp/test-mic.wav > /etc/results.txt

creates a completely empty results.txt and a 47 KB test-mic.wav

while

aplay /etc/test-mic.wav

continues to mock me with silence.

Edit: Oh, and I forgot to mention the discovery that when I turn up both the Capture and Int Mic levels in alsamixer, I can get sound straight in the microphone and out the speakers.

Last edited by bdjnk (2010-06-14 04:57:51)

Offline

#4 2010-06-30 20:34:00

nwillet
Member
Registered: 2010-06-01
Posts: 9

Re: [Solved] Samsung NC10 Microphone

I'm having what I think might be similar problems with the internal mic on a Toshiba nb305. This thread is marked as solved but I don't see mention of a working solution...

@bdjink If you solved your mic problem, what did you do to get it working?

Offline

#5 2010-07-02 06:59:59

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [Solved] Samsung NC10 Microphone

I can't actually recall, except that the settings I listed above are the ones I still have, but now the microphone works... It may have been an update of some relevant component that finally got everything working, I don't know.

My only advice is to take all the likely steps, possibly one at a time, and make sure the levels are decent and capture is enabled in alsamixer when you test things. Beyond that my expertise is limited.

Offline

Board footer

Powered by FluxBB