Микрофон

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску

Настройка микрофона описана тут: http://ac100.grandou.net/mixer_settings#recording_sound_from_integrated_dmic

Утсарело (outdated)

<marvin24_DT> stuw__, I disassabled the webcam
<marvin24_DT> there is clearly a mic there
On 12/10/2011 10:09 AM, Leon Romanovsky wrote:
> Hi All,
> We are trying to understand, if internal microphone is available in AC100.
>
> According to specifications, there is internal microphone:
> Specifications:
> AndroidTM 2.1 NVIDIA® TegraTM 250 Mobile Processor (1GH, ARM) RAM: 512
> MB DDR2 (333 MHz) 8GB flash storage (NAND) 25.7cm (10.1”) TruBrite®
> display with LED backlight, 1,024 x 600 pixels Bluetooth 2.1 +EDR*,
> WLAN (802.11 b/g/n), Mobile Broadband 1 x USB 2.0, 1x Mini USB, Card
> Reader (SD, MMC), Audio out/Mic in combo socket, HDMI® 1.3 MP webcam
> with integrated microphone Location based switchable desktop Toshiba
> Home Menu, a customisable desktop with widgets and shortcuts Size:
> 262mm x 190mm x 14 / 21mm Weight: starting at 870g
>
> According to schematics, the internal microphone is not connected:
> http://www.go-gddq.com/upload/2011-07/11072617361523.pdf
>
> Did anyone use internal microphone under android?
Internal mics are often digital (DMIC) rather than analog; you could try
that out. It's possible that you'd also need to turn on a voltage
regulator to use it; some of our reference boards work that way (same
regulator as for the webcam in our case)

http://julkinen.salaliitto.com/ac100/logs/ac100.41.txt

19:12   ogra_ had accidentially an external mic work while playing with alsamixer and the phone headset plugged in
19:12   >>> [email protected]
19:12 < ogra_> but never the internal one
[20:45:05] <gildean> yes, it's a four-headed minijack
 [20:45:48] <gildean> the first part of the plug is mic+ the second is hpr+ then hpl+ and last the ground
 [20:47:00] <gildean> so both the normal headphone plug and the longer headset-plug work but the mic should be activated only with the latter

leonro нашел интереснейший патч: http://mailman.alsa-project.org/pipermail/alsa-devel/2009-March/015698.html

Скорее всего надо включать оба итема, перед тем, как пробовать внутренний или внешний микрофон.

Simple mixer control 'Left Capture Mix Mic1',0
  Capabilities: cswitch cswitch-joined penum
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Left Capture Mix Mic2',0
  Capabilities: cswitch cswitch-joined penum
  Capture channels: Mono
  Mono: Capture [off]
leon@ssd:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: tegraalc5632 [tegra-alc5632], device 0: ALC5632 PCM alc5632-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
leon@ssd:~$ arecord -L
default
    Playback/recording through the PulseAudio sound server
pulse
    Playback/recording through the PulseAudio sound server
dmix:CARD=tegraalc5632,DEV=0
    tegra-alc5632, 
    Direct sample mixing device
dsnoop:CARD=tegraalc5632,DEV=0
    tegra-alc5632, 
    Direct sample snooping device
hw:CARD=tegraalc5632,DEV=0
    tegra-alc5632, 
    Direct hardware device without any conversions
plughw:CARD=tegraalc5632,DEV=0
    tegra-alc5632, 
    Hardware device with all software conversions
leon@ssd:~$