How to configure for ABE->DMIC instead of PDM-UL (analog mic) - ANDROID

Hi All-

I am using OMAP4470 Android platform. Could some one please let me know how to configure platform to use DMIC instead of analog mic(current path).In our configuration we have only ONE DMIC.

I do have the correct pad config changes:

OMAP4_MUX(ABE_CLKS, OMAP_PIN_INPUT_PULLDOWN | OMAP_MUX_MODE0),
OMAP4_MUX(ABE_DMIC_CLK1, OMAP_PIN_OUTPUT | OMAP_MUX_MODE0),
OMAP4_MUX(ABE_DMIC_DIN1, OMAP_PIN_INPUT | OMAP_MUX_MODE0),
OMAP4_MUX(ABE_DMIC_DIN2, OMAP_PIN_INPUT | OMAP_MUX_MODE0),
OMAP4_MUX(ABE_DMIC_DIN3, OMAP_PIN_INPUT | OMAP_MUX_MODE0),

I have inserted lot of debug in code base and found that currently system is trying to use Analog mic.

Srinath

  • The pad configuration changes that I listed above are from dumping the debugfs of kenel/debug/omap_mux/board/core file..

  • In reply to Srinath Danavulapati:

    To change the audio path you don't need to change the muxing.

    The audio paths are set dynamically before open the the pcm. For a better understanding of the audio paths and the controls you can take a look to the audio driver arch: http://omappedia.com/wiki/Audio_Drive_Arch

    And then look for the available controls in the release you are using by running amixer or tinymix if you are in ICS or JB

  • In reply to Israel Cepeda:

    Thanks for the response ICe. I definitely take a look at the link that you mentioned above. I was able to quickly run >tinymix on the device (amixer didn't work). I am using Blaze4470-ICS Android. Here is the debug info. Do you see anything that stands out?

    shell@android:/ # tinymix                                                      
    Number of controls: 73
    ctl    type    num    name                                     value
    0    ENUM    1    DL1 Equalizer                            Flat response
    1    ENUM    1    DL2 Left Equalizer                       Flat response
    2    ENUM    1    DL2 Right Equalizer                      Flat response
    3    ENUM    1    Sidetone Equalizer                       Flat response
    4    ENUM    1    AMIC Equalizer                           High-pass 0dB
    5    ENUM    1    DMIC Equalizer                           High-pass 0dB
    6    INT    1    DL1 Media Playback Volume                118
    7    INT    1    DL1 Tones Playback Volume                0
    8    INT    1    DL1 Voice Playback Volume                120
    9    INT    1    DL1 Capture Playback Volume              0
    10    INT    1    VXREC Media Volume                       0
    11    INT    1    VXREC Tones Volume                       0
    12    INT    1    VXREC Voice DL Volume                    0
    13    INT    1    VXREC Voice UL Volume                    0
    14    INT    1    AUDUL Media Volume                       0
    15    INT    1    AUDUL Tones Volume                       0
    16    INT    1    AUDUL Voice UL Volume                    120
    17    INT    1    AUDUL Voice DL Volume                    0
    18    INT    1    SDT UL Volume                            101
    19    INT    1    SDT DL Volume                            120
    20    INT    2    DMIC1 UL Volume                          120 120
    21    INT    2    DMIC2 UL Volume                          120 120
    22    INT    2    DMIC3 UL Volume                          120 120
    23    INT    2    AMIC UL Volume                           135 135
    24    INT    2    BT UL Volume                             120 120
    25    BOOL    1    DL1 Mono Mixer                           Off
    26    BOOL    1    AUDUL Mono Mixer                         Off
    27    BOOL    1    DL1 MM_EXT Switch                        Off
    28    BOOL    1    DL1 BT_VX Switch                         Off
    29    BOOL    1    DL1 PDM_DL2 Switch                       On
    30    BOOL    1    DL1 PDM Switch                           Off
    31    BOOL    1    Sidetone Mixer Capture                   Off
    32    BOOL    1    Sidetone Mixer Playback                  On
    33    BOOL    1    Capture Mixer Tones                      Off
    34    BOOL    1    Capture Mixer Voice Playback             Off
    35    BOOL    1    Capture Mixer Voice Capture              Off
    36    BOOL    1    Capture Mixer Media Playback             Off
    37    BOOL    1    Voice Capture Mixer Tones Playback       Off
    38    BOOL    1    Voice Capture Mixer Media Playback       Off
    39    BOOL    1    Voice Capture Mixer Capture              Off
    40    BOOL    1    DL1 Mixer Tones                          Off
    41    BOOL    1    DL1 Mixer Voice                          Off
    42    BOOL    1    DL1 Mixer Capture                        Off
    43    BOOL    1    DL1 Mixer Multimedia                     On
    44    ENUM    1    MUX_VX1                                  None
    45    ENUM    1    MUX_VX0                                  None
    46    ENUM    1    MUX_UL11                                 AMic0
    47    ENUM    1    MUX_UL10                                 AMic0
    48    ENUM    1    MUX_UL07                                 None
    49    ENUM    1    MUX_UL06                                 None
    50    ENUM    1    MUX_UL05                                 None
    51    ENUM    1    MUX_UL04                                 None
    52    ENUM    1    MUX_UL03                                 None
    53    ENUM    1    MUX_UL02                                 None
    54    ENUM    1    MUX_UL01                                 None
    55    ENUM    1    MUX_UL00                                 None
    56    INT    2    Capture Preamplifier Volume              1 1
    57    INT    2    Capture Volume                           4 4
    58    INT    2    Aux FM Volume                            3 3
    59    INT    2    Headset Playback Volume                  15 15
    60    INT    2    Handsfree Playback Volume                26 26
    61    INT    1    Earphone Playback Volume                 14
    62    ENUM    1    Headset Power Mode                       Low-Power
    63    BOOL    1    Earphone Playback Switch                 Off
    64    BOOL    1    Aux Right Playback Switch                Off
    65    BOOL    1    Aux Left Playback Switch                 Off
    66    ENUM    1    Headset Right Playback                   Off
    67    ENUM    1    Headset Left Playback                    Off
    68    ENUM    1    Handsfree Right Playback                 Off
    69    ENUM    1    Handsfree Left Playback                  Off
    70    ENUM    1    Analog Right Capture Route               Off
    71    ENUM    1    Analog Left Capture Route                Main Mic
    72    ENUM    1    TWL6040 Power Mode                       Low-Power

    Test method: I am using the sound recorder application to record voice into the device and then play back. Please see the attached "dmesg" debug for serial port. I have started blaze and opened sound recorder app and then tried to record and then close the app. I have lot of my debug messages with prefix "SRINATH" in the file.

    I appreciate if you can let me know what is not set up correctly.

  • In reply to Srinath Danavulapati:

    I am not sure if you got the attached document in my previous post. Hence copy/pasting here. I apologize if this is duplication as I am new to this forum..

    <6>[    0.000000] Initializing cgroup subsys cpu
    <5>[    0.000000] Linux version 3.0.21-00003-OMAP-Android+ (sdanavulapati@sdanavulapati-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #48 SMP PREEMPT Mon Sep 24 17:29:14 CDT 2012
    <4>[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    <4>[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    <4>[    0.000000] Machine: OMAP4 blaze board
    <6>[    0.000000] android_display: setting default resolution 480*800, bpp=4
    <6>[    0.000000] android_display: tiler1d 12288000
    <6>[    0.000000] android_display: setting fb0.vram to 3276800
    <6>[    0.000000] android_display: setting vram to 3276800
    <6>[    0.000000] android_display: ion carveouts: 115343360 tiler2d, 6553600 nonsecure
    <6>[    0.000000] omap_ion_init: id=2 [ba300000-bfd00000] size=5a00000
    <6>[    0.000000] omap_ion_init: id=1 [aca40000-b3a00000] size=6fc0000
    <6>[    0.000000] omap_ion_init: id=3 [ac400000-aca40000] size=640000
    <6>[    0.000000] omap_ion_init: id=0 [aca40000-aca40000] size=0
    <6>[    0.000000] omap_ion_init: id=4 [aca40000-aca40000] size=0
    <6>[    0.000000] Reserving 10485760 bytes SDRAM for VRAM
    <4>[    0.000000] Memory policy: ECC disabled, Data cache writealloc
    <6>[    0.000000] OMAP4470 ES1.0
    <6>[    0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0xd000
    <7>[    0.000000] On node 0 totalpages: 163840
    <7>[    0.000000] free_area_init_node: node 0, pgdat c081e240, node_mem_map c1029000
    <7>[    0.000000]   Normal zone: 1536 pages used for memmap
    <7>[    0.000000]   Normal zone: 0 pages reserved
    <7>[    0.000000]   Normal zone: 162304 pages, LIFO batch:31
    <4>[    0.000000]   HighMem zone: 512 pages exceeds realsize 0
    <6>[    0.000000] PERCPU: Embedded 7 pages/cpu @c1834000 s7072 r8192 d13408 u32768
    <7>[    0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096
    <7>[    0.000000] pcpu-alloc: [0] 0 [0] 1  
    <4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 162304
    <5>[    0.000000] Kernel command line: console=ttyO3,115200n8 mem=456M@0x80000000 mem=512M@0xA0000000 init=/init vram=10M omapfb.vram=0:4M androidboot.console=ttyO3 androidboot.serialno=014E64F10D01600D androidboot.bootloader=U-Boot_1.1.4-gbb9f0949-dirty
    <6>[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    <6>[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    <6>[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    <6>[    0.000000] Memory: 456MB 184MB = 640MB total
    <5>[    0.000000] Memory: 636892k/636892k available, 354340k reserved, 0K highmem
    <5>[    0.000000] Virtual kernel memory layout:
    <5>[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    <5>[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    <5>[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    <5>[    0.000000]     vmalloc : 0xf0800000 - 0xf8000000   ( 120 MB)
    <5>[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    <5>[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    <5>[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    <5>[    0.000000]       .init : 0xc0008000 - 0xc004c000   ( 272 kB)
    <5>[    0.000000]       .text : 0xc004c000 - 0xc07b4000   (7584 kB)
    <5>[    0.000000]       .data : 0xc07b4000 - 0xc081eda0   ( 428 kB)
    <5>[    0.000000]        .bss : 0xc081edc4 - 0xc096f190   (1345 kB)
    <6>[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    <6>[    0.000000] Preemptible hierarchical RCU implementation.
    <6>[    0.000000] NR_IRQS:410
    <4>[    0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
    <6>[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
    <6>[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    <6>[    0.000030] Calibrating delay loop... 1590.23 BogoMIPS (lpj=6213632)
    <6>[    0.007873] pid_max: default: 32768 minimum: 301
    <6>[    0.031555] Mount-cache hash table entries: 512
    <6>[    0.031555] Initializing cgroup subsys debug
    <6>[    0.031555] Initializing cgroup subsys cpuacct
    <6>[    0.032226] Initializing cgroup subsys freezer
    <6>[    0.032226] CPU: Testing write buffer coherency: ok
    <6>[    0.032714] L310 cache controller enabled
    <6>[    0.032745] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x5e470000, Cache size: 1048576 B
    <4>[    0.110870] CPU1: Booted secondary processor
    <6>[    0.110870] Brought up 2 CPUs
    <6>[    0.181213] SMP: Total of 2 processors activated (3188.82 BogoMIPS).
    <4>[    0.181396] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw
    <4>[    0.184143] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_instr
    <4>[    0.184143] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_1
    <4>[    0.184173] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_2
    <4>[    0.184173] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe
    <4>[    0.184173] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg
    <4>[    0.184204] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
    <4>[    0.184204] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
    <4>[    0.184204] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for mpu_private
    <4>[    0.184234] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for sl2if
    <4>[    0.184295] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for thermal_sensor
    <4>[    0.184295] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for usbhs_ohci
    <4>[    0.184356] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for usbhs_ehci
    <4>[    0.184356] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
    <4>[    0.184356] omap_hwmod: l4_div_ck: missing clockdomain for l4_div_ck.
    <3>[    0.188995] _omap4_module_wait_ready: Timeout waiting for module enable (mcpdm_fck: clkctrl = 0x30002)
    <4>[    0.189544] omap_hwmod: mcpdm: cannot be enabled (3)
    <6>[    0.194610] print_constraints: dummy:  
    <6>[    0.194610] NET: Registered protocol family 16
    <6>[    0.194610] GPMC revision 6.0
    <6>[    0.195343] EMIF0 is enabled with IRQ142
    <6>[    0.195343] EMIF1 is enabled with IRQ143
    <6>[    0.196441] Last reset was warm software reset (PRM_RSTST=0x2)
    <6>[    0.196441]  
    <6>[    0.196655] OMAP GPIO hardware version 0.1
    <3>[    0.197875] SRINATH: omap_4430sdp_int entered:
    <6>[    0.198425] omap_mux_init: Add partition: #1: core, flags: 2
    <6>[    0.198425] omap_mux_init: Add partition: #2: wkup, flags: 2
    <3>[    0.200408] omap_mux_get_by_name: Could not find signal uart1_cts.uart1_cts
    <3>[    0.200988] omap_hwmod_mux_init: Could not allocate device mux entry
    <6>[    0.201995] SRINATH EXECUTING ELSE PART
    <4>[    0.201995] ------------[ cut here ]------------
    <4>[    0.202026] WARNING: at drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x58/0x114()
    <4>[    0.202026] autorequest GPIO-157
    <4>[    0.202056] Modules linked in:
    <4>[    0.202056] Backtrace:  
    <4>[    0.202056] [<c0057224>] (dump_backtrace+0x0/0x110) from [<c05f3754>] (dump_stack+0x18/0x1c)
    <4>[    0.202056]  r6:00000065 r5:c027386c r4:eb441ee0 r3:eb440000
    <4>[    0.202148] [<c05f373c>] (dump_stack+0x0/0x1c) from [<c00a04f8>] (warn_slowpath_common+0x5c/0x6c)
    <4>[    0.202148] [<c00a049c>] (warn_slowpath_common+0x0/0x6c) from [<c00a05ac>] (warn_slowpath_fmt+0x38/0x40)
    <4>[    0.202178]  r8:0000009d r7:00000000 r6:c084e73c r5:eb488e90 r4:c084e740
    <4>[    0.202178] r3:00000009
    <4>[    0.202178] [<c00a0574>] (warn_slowpath_fmt+0x0/0x40) from [<c027386c>] (gpio_ensure_requested+0x58/0x114)
    <4>[    0.202239]  r3:0000009d r2:c073e4ac
    <4>[    0.202239] [<c0273814>] (gpio_ensure_requested+0x0/0x114) from [<c0273aa4>] (gpio_direction_output+0x94/0x11c)
    <4>[    0.202270] [<c0273a10>] (gpio_direction_output+0x0/0x11c) from [<c0017c3c>] (blaze_modem_init+0x48/0x5c)
    <4>[    0.202301] [<c0017bf4>] (blaze_modem_init+0x0/0x5c) from [<c0017670>] (omap_4430sdp_init+0x3dc/0x6f8)
    <4>[    0.202301]  r5:00000000 r4:c0044eac
    <4>[    0.202331] [<c0017294>] (omap_4430sdp_init+0x0/0x6f8) from [<c000b598>] (customize_machine+0x28/0x30)
    <4>[    0.202331]  r6:00000000 r5:c003da14 r4:c081ede0
    <4>[    0.202362] [<c000b570>] (customize_machine+0x0/0x30) from [<c004c628>] (do_one_initcall+0x3c/0x18c)
    <4>[    0.202392] [<c004c5ec>] (do_one_initcall+0x0/0x18c) from [<c00083e4>] (kernel_init+0xb0/0x13c)
    <4>[    0.202392]  r9:00000000 r8:00000000 r7:00000013 r6:c00a4e0c r5:c003da14
    <4>[    0.202423] r4:c003d048
    <4>[    0.202423] [<c0008334>] (kernel_init+0x0/0x13c) from [<c00a4e0c>] (do_exit+0x0/0x720)
    <4>[    0.202423]  r5:c0008334 r4:00000000
    <4>[    0.202484] ---[ end trace 1b75b31a2719ed1c ]---
    <6>[    0.202514] Update PAD for modem connection
    <3>[    0.202606] omap_mux_get_by_name: Could not find signal abe_mcbcp2_clkx.abe_mcbsp2_clkx
    <3>[    0.203582] omap_mux_get_by_name: Could not find signal gpmc_ncs5.gpio_122
    <6>[    0.204589] omap_disp_led_init: Configuring as one display LED
    <7>[    0.204620] omap-mcbsp omap-mcbsp.1: Initializing OMAP McBSP (1).
    <7>[    0.328186] omap-mcbsp omap-mcbsp.2: Initializing OMAP McBSP (2).
    <7>[    0.328186] omap-mcbsp omap-mcbsp.3: Initializing OMAP McBSP (3).
    <7>[    0.328186] omap-mcbsp omap-mcbsp.4: Initializing OMAP McBSP (4).
    <6>[    0.329101] HSI: skipping omap_device registration
    <6>[    0.329101] OMAP DMA hardware revision 0.0
    <3>[    0.329589] omap_rproc_get_pool: dsp - no carveout memory is available at all
    <4>[    0.329589] omap_rproc_get_pool: ipu - carveout memory is unavailable: 0x0, 0x0
    <6>[    0.337768] bio: create slab <bio-0> at 0
    <6>[    0.338104] print_constraints: vwl1271: 1800 mV  
    <4>[    0.338104] i2c-core: driver [twl] using legacy suspend method
    <4>[    0.338775] i2c-core: driver [twl] using legacy resume method
    <5>[    0.338775] SCSI subsystem initialized
    <6>[    0.339874] usbcore: registered new interface driver usbfs
    <6>[    0.339874] usbcore: registered new interface driver hub
    <6>[    0.340301] usbcore: registered new device driver usb
    <6>[    0.340911] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    <4>[    0.341491] Skipping twl internal clock init and using bootloader value (unknown osc rate)
    <6>[    0.342987] twl6030: PIH (irq 39) chaining IRQs 368..387
    <6>[    0.345062] print_constraints: LDOUSB: 3300 mV normal standby
    <6>[    1.157684] PC detected
    <6>[    1.158233] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
    <6>[    1.159667] print_constraints: VANA: 2100 mV normal standby
    <6>[    1.160308] print_constraints: CLK32KG:  
    <6>[    1.160980] print_constraints: CLK32KAUDIO:  
    <6>[    1.161712] print_constraints: SYSEN:  
    <6>[    1.162780] print_constraints: REGEN1:  
    <6>[    1.163238] print_constraints: LDO5: 1200 <--> 3000 mV at 1800 mV normal standby
    <6>[    1.164001] print_constraints: LDO1: 1800 <--> 2500 mV at 1900 mV normal standby
    <6>[    1.164733] print_constraints: LDO7: 1200 <--> 2900 mV at 1800 mV normal standby
    <6>[    1.165588] print_constraints: LDO6: 1800 mV normal standby
    <6>[    1.166656] print_constraints: LDOLN: 1800 mV normal standby
    <6>[    1.167053] print_constraints: LDO2: 1000 <--> 3000 mV at 2800 mV normal standby
    <6>[    1.167724] print_constraints: LDO4: 2800 mV normal standby
    <6>[    1.168548] print_constraints: LDO3: 1000 <--> 3000 mV at 1200 mV normal standby
    <6>[    1.168548] print_constraints: VOUT: 4075 <--> 4950 mV at 3825 mV normal standby
    <6>[    1.169677] tps6130x 1-0033: Revision 5
    <6>[    1.170349] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    <6>[    1.170562] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
    <6>[    1.170928] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz
    <6>[    1.171417] omap-rproc omap-rproc.0: dsp is available
    <6>[    1.171417] omap-rproc omap-rproc.1: ipu is available
    <6>[    1.171417] Advanced Linux Sound Architecture Driver Version 1.0.24.
    <6>[    1.171417] Bluetooth: Core ver 2.16
    <6>[    1.171417] NET: Registered protocol family 31
    <6>[    1.172698] Bluetooth: HCI device and connection manager initialized
    <6>[    1.172698] Bluetooth: HCI socket layer initialized
    <6>[    1.172698] Bluetooth: L2CAP socket layer initialized
    <6>[    1.172729] Bluetooth: SCO socket layer initialized
    <6>[    1.172760] Switching to clocksource 32k_counter
    <6>[    1.173339] Switched to NOHz mode on CPU #0
    <6>[    1.173370] Switched to NOHz mode on CPU #1
    <6>[    1.174682] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host)
    <7>[    1.474975] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    <7>[    1.475006] musb-hdrc: MHDRC RTL version 2.0  
    <7>[    1.475006] musb-hdrc: setup fifo_mode 4
    <7>[    1.475036] musb-hdrc: 28/31 max ep, 16384/16384 memory
    <6>[    1.475036] musb-hdrc musb-hdrc: USB OTG mode controller at fc0ab000 using DMA, IRQ 124
    <6>[    1.475524] NET: Registered protocol family 2
    <6>[    1.475524] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    <6>[    1.475524] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    <6>[    1.475524] TCP bind hash table entries: 65536 (order: 8, 1572864 bytes)
    <6>[    1.479797] TCP: Hash tables configured (established 131072 bind 65536)
    <6>[    1.481323] TCP reno registered
    <6>[    1.481323] UDP hash table entries: 512 (order: 3, 32768 bytes)
    <6>[    1.481414] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    <6>[    1.481414] NET: Registered protocol family 1
    <6>[    1.482330] RPC: Registered named UNIX socket transport module.
    <6>[    1.482330] RPC: Registered udp transport module.
    <6>[    1.482360] RPC: Registered tcp transport module.
    <6>[    1.482360] RPC: Registered tcp NFSv4.1 backchannel transport module.
    <6>[    1.482360] Trying to unpack rootfs image as initramfs...
    <6>[    1.485473] Freeing initrd memory: 160K
    <4>[    2.102813] omap_init_opp_table: no hwmod or odev for hsi, [22] cannot add OPPs.
    <4>[    2.102813] omap_init_opp_table: no hwmod or odev for hsi, [23] cannot add OPPs.
    <6>[    2.611236] ram_console: got buffer at a0000000, size 200000
    <6>[    2.611236] ram_console: found existing buffer, size 46321, start 46321
    <6>[    2.722747] console [ram-1] enabled
    <6>[    2.722747] omap-iommu omap-iommu.0: ducati registered
    <6>[    2.722747] omap-iommu omap-iommu.1: tesla registered
    <6>[    2.729675] ashmem: initialized
    <6>[    2.737091] fuse init (API version 7.16)
    <6>[    2.737091] msgmni has been set to 1244
    <6>[    2.738372] Registering char device tf_driver (122:0)
    <6>[    2.738372] SMCAG01.06.0 D    
    <6>[    2.740264] io scheduler noop registered
    <6>[    2.740264] io scheduler deadline registered
    <6>[    2.740264] io scheduler cfq registered (default)
    <6>[    2.740722] start plist test
    <6>[    2.745849] end plist test
    <6>[    2.746948] OMAP DSS rev 4.1
    <4>[    2.748321] LCD: START PROBE ***************************************
    <4>[    2.748596] LCD: END PROBE ***************************************
    <6>[    2.748596] dsscomp: initializing.
    <7>[    2.748596] misc dsscomp: display0=tianma-tm040ydhp05
    <6>[    2.748596] misc dsscomp: found 1 displays and 4 overlays, WB overlay 1
    <3>[    2.749633] could not allocate slot
    <6>[    2.750061] omap-rproc omap-rproc.1: powering up ipu
    <6>[    2.750305] virtio_rpmsg_bus virtio0: rpmsg backend virtproc probed successfully
    <6>[    2.751098] virtio_rpmsg_bus virtio1: rpmsg backend virtproc probed successfully
    <6>[    2.751098] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
    <6>[    2.752288] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
    <6>[    2.752471] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
    <6>[    2.753112] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
    <6>[    4.207336] console [ttyO3] enabled
    <6>[    4.211517] omap_ion_probe: adding heap secure_input of type 2 with ba300000@5a00000
    <6>[    4.220520] omap_ion_probe: adding heap tiler of type 4 with aca40000@6fc0000
    <6>[    4.228546] omap_ion_probe: adding heap nonsecure_tiler of type 4 with ac400000@640000
    <6>[    4.237426] omap_ion_probe: adding heap system of type 0 with aca40000@0
    <6>[    4.244903] omap_ion_probe: adding heap tiler_reservation of type 5 with aca40000@0
    <6>[    4.258911] brd: module loaded
    <6>[    4.266174] loop: module loaded
    <6>[    4.269714] (stk) :sysfs entries created
    <6>[    4.274291] (stk) : debugfs entries created  
    <6>[    4.284454] ks8851 spi1.0: message enable is 0
    <3>[    4.292938] ks8851 spi1.0: failed to read device ID
    <6>[    4.298400] PPP generic driver version 2.4.2
    <6>[    4.298400] PPP Deflate Compression module registered
    <6>[    4.309112] PPP BSD Compression module registered
    <6>[    4.315002] PPP MPPE Compression module registered
    <6>[    4.320434] NET: Registered protocol family 24
    <6>[    4.327239] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    <7>[    4.334564] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
    <7>[    4.341156] ehci-omap ehci-omap.0: failed to get ehci port0 regulator
    <7>[    4.348632] ehci-omap ehci-omap.0: reset hcs_params 0x1313 dbg=0 cc=1 pcc=3 ordered ports=3
    <7>[    4.355407] ehci-omap ehci-omap.0: reset hcc_params 20016 thresh 1 uframes 256/512/1024 park LPM
    <6>[    4.367584] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    <7>[    4.373931] drivers/usb/core/inode.c: creating file 'devices'
    <7>[    4.373931] drivers/usb/core/inode.c: creating file '001'
    <6>[    4.386383] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    <7>[    4.394683] ehci-omap ehci-omap.0: park 0
    <7>[    4.394683] ehci-omap ehci-omap.0: support lpm
    <6>[    4.399200] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
    <7>[    4.399200] ehci-omap ehci-omap.0: reset command 0080b02  park=3 ithresh=8 period=1024 Reset HALT
    <7>[    4.420318] ehci-omap ehci-omap.0: init command 0010005 (park)=0 ithresh=1 period=512 RUN
    <6>[    4.456878] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    <7>[    4.463409] usb usb1: default language 0x0409
    <7>[    4.463409] usb usb1: udev 1, busnum 1, minor = 0
    <6>[    4.473480] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    <6>[    4.481048] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    <6>[    4.489074] usb usb1: Product: OMAP-EHCI Host Controller
    <6>[    4.494964] usb usb1: Manufacturer: Linux 3.0.21-00003-OMAP-Android+ ehci_hcd
    <6>[    4.502899] usb usb1: SerialNumber: ehci-omap.0
    <7>[    4.502899] usb usb1: usb_probe_device
    <7>[    4.512542] usb usb1: configuration #1 chosen from 1 choice
    <7>[    4.512542] usb usb1: adding 1-0:1.0 (config #1, interface 0)
    <7>[    4.525299] hub 1-0:1.0: usb_probe_interface
    <7>[    4.525299] hub 1-0:1.0: usb_probe_interface - got id
    <6>[    4.525299] hub 1-0:1.0: USB hub found
    <6>[    4.525299] hub 1-0:1.0: 3 ports detected
    <7>[    4.544342] hub 1-0:1.0: standalone hub
    <7>[    4.548614] hub 1-0:1.0: individual port power switching
    <7>[    4.554565] hub 1-0:1.0: individual port over-current protection
    <7>[    4.554565] hub 1-0:1.0: power on to power good time: 20ms
    <7>[    4.554565] hub 1-0:1.0: local power source is good
    <7>[    4.572753] hub 1-0:1.0: enabling power on all ports
    <7>[    4.572753] drivers/usb/core/inode.c: creating file '001'
    <7>[    4.584655] ehci-omap ehci-omap.0: ...powerup ports...
    <7>[    4.710662] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
    <6>[    4.710784] usbcore: registered new interface driver cdc_acm
    <6>[    4.710784] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    <6>[    4.710784] Initializing USB Mass Storage driver...
    <6>[    4.710784] usbcore: registered new interface driver usb-storage
    <6>[    4.710906] USB Mass Storage support registered.
    <6>[    5.012664] android_usb gadget: Mass Storage Function, version: 2009/09/11
    <6>[    5.012664] android_usb gadget: Number of LUNs=1
    <6>[    5.025421]  lun0: LUN: removable file: (no medium)
    <6>[    5.031036] android_usb gadget: android_usb ready
    <6>[    5.031036] musb-hdrc musb-hdrc: MUSB HDRC host driver
    <7>[    5.041992] drivers/usb/core/inode.c: creating file '002'
    <6>[    5.048034] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
    <7>[    5.048034] musb-hdrc musb-hdrc: supports USB remote wakeup
    <7>[    5.062316] usb usb2: default language 0x0409
    <7>[    5.067199] usb usb2: udev 1, busnum 2, minor = 128
    <6>[    5.072601] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    <6>[    5.072601] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    <6>[    5.088195] usb usb2: Product: MUSB HDRC host driver
    <6>[    5.088195] usb usb2: Manufacturer: Linux 3.0.21-00003-OMAP-Android+ musb-hcd
    <6>[    5.088195] usb usb2: SerialNumber: musb-hdrc
    <7>[    5.101623] usb usb2: usb_probe_device
    <7>[    5.110900] usb usb2: configuration #1 chosen from 1 choice
    <7>[    5.117126] usb usb2: adding 2-0:1.0 (config #1, interface 0)
    <7>[    5.123657] hub 2-0:1.0: usb_probe_interface
    <7>[    5.128479] hub 2-0:1.0: usb_probe_interface - got id
    <6>[    5.134094] hub 2-0:1.0: USB hub found
    <6>[    5.134094] hub 2-0:1.0: 1 port detected
    <7>[    5.134094] hub 2-0:1.0: standalone hub
    <7>[    5.142700] hub 2-0:1.0: individual port power switching
    <7>[    5.152893] hub 2-0:1.0: no over-current protection
    <7>[    5.158294] hub 2-0:1.0: Single TT
    <7>[    5.162109] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
    <7>[    5.162109] hub 2-0:1.0: power on to power good time: 10ms
    <7>[    5.175323] hub 2-0:1.0: 200mA bus power budget for each child
    <7>[    5.181762] hub 2-0:1.0: local power source is good
    <7>[    5.187164] hub 2-0:1.0: enabling power on all ports
    <7>[    5.492462] drivers/usb/core/inode.c: creating file '001'
    <7>[    5.498687] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
    <6>[    5.498718] mousedev: PS/2 mouse device common for all mice
    <6>[    5.498992] input: omap4-keypad as /devices/platform/omap/omap4-keypad/input/input0
    <6>[    5.499816] sx8651 4-0049: sx8651_probe()
    <4>[    5.499816] sx_init_ts:
    <4>[    5.499877] sx8651 gpio = 1, irq = 161,161
    <6>[    5.499877] input: SX8651 Touchscreen as /devices/virtual/input/input1
    <6>[    5.538482] sx8651 4-0049: registered with irq (161)
    <3>[    5.545104] bh1780 3-0029: i2c_smbus_read_byte_data failed error -121             Register (PART ID)
    <4>[    5.554412] bh1780: probe of 3-0029 failed with error -121
    <4>[    5.560852] bmp085: probe of 4-0077 failed with error -121
    <6>[    5.560852] twl6030_pwrbutton_probe: Enter
    <6>[    5.572540] input: twl6030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl6030_pwrbutton/input/input2
    <4>[    5.585357] hmc5843: probe of 4-001e failed with error -121
    <6>[    5.591552] sfh7741_probe: Proximity sensor
    <6>[    5.596343] input: sfh7741 as /devices/platform/sfh7741.1/input/input3
    <6>[    5.607116] using rtc device, twl_rtc, for alarms
    <6>[    5.607116] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    <6>[    5.619750] i2c /dev entries driver
    <6>[    5.619750] lirc_dev: IR Remote Control driver registered, major 249  
    <6>[    5.619750] IR NEC protocol handler initialized
    <6>[    5.636474] IR RC5(x) protocol handler initialized
    <6>[    5.641815] IR RC6 protocol handler initialized
    <6>[    5.641815] IR JVC protocol handler initialized
    <6>[    5.641815] IR Sony protocol handler initialized
    <6>[    5.651916] IR RC5 (streamzap) protocol handler initialized
    <6>[    5.663238] IR LIRC bridge handler initialized
    <6>[    5.668182] Linux video capture interface: v2.00
    <6>[    5.673522] dmm: probe base: fd300000, irq 145
    <3>[    5.680847] bq2415x_charger 1-006a: i2c_write failed to transfer all messages
    <3>[    5.688812] bq2415x_charger 1-006a: chip not present at address 6a
    <4>[    5.688812] bq2415x_charger: probe of 1-006a failed with error -22
    <6>[    5.778564] twl6030_bci twl6030_bci: Battery Voltage at Bootup is 4276 mV
    <4>[    5.797485] lm75: probe of 3-0048 failed with error -121
    <6>[    5.807189] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    <6>[    5.815368] device-mapper: uevent: version 1.0.3
    <6>[    5.820556] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
    <6>[    5.820556] Bluetooth: HCI UART driver ver 2.2
    <6>[    5.835205] Bluetooth: HCI H4 protocol initialized
    <6>[    5.835205] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    <6>[    5.848754] (stc): st_register(2)
    <6>[    5.848754] (stc):  chnl_id list empty :2
    <6>[    5.856903] cpuidle: using governor ladder
    <6>[    5.856933] cpuidle: using governor menu
    <6>[    5.865905] (stk) : st_kim_start
    <7>[    5.873199] Registered led device: omap4:green:debug0
    <7>[    5.879394] Registered led device: omap4:green:debug1
    <7>[    5.885101] Registered led device: omap4:green:debug2
    <4>[    5.891113] leds-gpio: probe of leds-gpio failed with error -16
    <7>[    5.898284] Registered led device: omap4:green:chrg
    <6>[    5.903991] omap4430_sdp_display_probe:Enter
    <7>[    5.908721] Registered led device: lcd-backlight
    <6>[    5.914367] omap4430_sdp_display_probe:Exit
    <6>[    5.919036] omap4430_keypad_led_probe:Enter
    <7>[    5.923858] Registered led device: keyboard-backlight
    <6>[    5.933105] omap4430_keypad_led_probe:Exit
    <6>[    5.939605] usbcore: registered new interface driver usbhid
    <6>[    5.945861] usbhid: USB HID core driver
    <6>[    5.954559] logger: created 256K log 'log_main'
    <6>[    5.959655] logger: created 256K log 'log_events'
    <6>[    5.965026] logger: created 256K log 'log_radio'
    <6>[    5.970245] logger: created 256K log 'log_system'
    <6>[    5.975189] (stk) :ldisc_install = 1
    <3>[    5.981719] thermal_sensor_set_temp: no cooling agents for domain cpu
    <3>[    5.989105] omap_report_temp:thermal_sensor_set_temp reports error
    <3>[    5.996124] thermal_sensor_set_temp: no cooling agents for domain cpu
    <6>[    6.003387] omap_temp_sensor omap_temp_sensor.0: omap_ondie_sensor : 'omap_temp_sensor'
    <3>[    6.003417] thermal_sensor_set_temp: no cooling agents for domain cpu
    <6>[    6.006195] mmc0: new high speed DDR MMC card at address 0001
    <6>[    6.025756] mmcblk0: mmc0:0001 SEM08G 7.39 GiB  
    <4>[    6.025848] i2c-core: driver [tmp102_temp_sensor] using legacy suspend method
    <4>[    6.025848] i2c-core: driver [tmp102_temp_sensor] using legacy resume method
    <6>[    6.046691] mmcblk0boot0: mmc0:0001 SEM08G partition 1 2.00 MiB
    <6>[    6.053466] mmcblk0boot1: mmc0:0001 SEM08G partition 2 2.00 MiB
    <6>[    6.062164] tmp102_temp_sensor 4-0048: initialized
    <3>[    6.068511] OMAPRPC: Registration of OMAPRPC rpmsg service returned 0!
    <6>[    6.076782] OMAP HSI: HSI driver version 0.4.3
    <3>[    6.082214] OMAP HSI: Platform DRIVER register FAILED: -19
    <4>[    6.088409] Alternate GPT is invalid, using primary GPT.
    <6>[    6.094390]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
    <6>[    6.100341] usbcore: registered new interface driver snd-usb-audio
    <6>[    6.111419]  mmcblk0boot1: unknown partition table
    <6>[    6.111602] SDP4430 SoC init
    <6>[    6.121826]  mmcblk0boot0: unknown partition table
    <6>[    6.156463] asoc: null-codec-dai <-> MultiMedia1 mapping ok
    <6>[    6.163848] asoc: null-codec-dai <-> MultiMedia2 mapping ok
    <6>[    6.171508] asoc: null-codec-dai <-> Voice mapping ok
    <6>[    6.181549] asoc: null-codec-dai <-> Tones mapping ok
    <6>[    6.188476] asoc: null-codec-dai <-> Vibra mapping ok
    <6>[    6.195129] asoc: null-codec-dai <-> MODEM mapping ok
    <6>[    6.212249] asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
    <6>[    6.228607] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    <6>[    6.243865] asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
    <6>[    6.260131] asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
    <4>[    6.275634] twl6040-codec twl6040-codec: ASoC: Failed to create Aux/FM Stereo In debugfs file
    <6>[    6.298889] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
    <6>[    6.305419] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
    <6>[    6.321655] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
    <6>[    6.332733] asoc: twl6040-vib <-> mcpdm-vib mapping ok
    <6>[    6.339385] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    <6>[    6.346466] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    <6>[    6.353881] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    <6>[    6.361053] asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
    <6>[    6.367767] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
    <6>[    6.375091] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
    <6>[    6.385650] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
    <4>[    6.392456] mmc2: card claims to support voltages below the defined range. These will be ignored.
    <6>[    6.402923] asoc: null-codec-dai <-> omap-abe-vxrec-dai mapping ok
    <6>[    6.412231] input: SDP4430 Headset Jack as /devices/platform/soc-audio/sound/card0/input4
    <6>[    6.423828] ALSA device list:
    <6>[    6.427154]   #0: TI OMAP4 Board
    <6>[    6.430908] GACT probability NOT on
    <6>[    6.434814] Mirror/redirect action on
    <6>[    6.438934] u32 classifier
    <6>[    6.442016]     Actions configured
    <6>[    6.445831] Netfilter messages via NETLINK v0.30.
    <6>[    6.451141] nf_conntrack version 0.5.0 (9953 buckets, 39812 max)
    <6>[    6.459075] ctnetlink v0.93: registering with nfnetlink.
    <6>[    6.465026] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
    <6>[    6.472778] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
    <4>[    6.480194] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
    <6>[    6.486602] xt_time: kernel timezone is -0000
    <6>[    6.494140] mmc2: new SDIO card at address 0001
    <6>[    6.500091] ip_tables: (C) 2000-2006 Netfilter Core Team
    <6>[    6.506225] arp_tables: (C) 2002 David S. Miller
    <6>[    6.511474] TCP cubic registered
    <6>[    6.515747] NET: Registered protocol family 10
    <6>[    6.526763] Mobile IPv6
    <6>[    6.529602] ip6_tables: (C) 2000-2006 Netfilter Core Team
    <6>[    6.535949] IPv6 over IPv4 tunneling driver
    <6>[    6.546691] NET: Registered protocol family 17
    <6>[    6.551727] NET: Registered protocol family 15
    <5>[    6.556945] Bridge firewalling registered
    <6>[    6.561492] Bluetooth: RFCOMM TTY layer initialized
    <6>[    6.566986] Bluetooth: RFCOMM socket layer initialized
    <6>[    6.572753] Bluetooth: RFCOMM ver 1.11
    <6>[    6.576965] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    <6>[    6.582855] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    <6>[    6.589569] NET: Registered protocol family 35
    <6>[    6.594909] NET: Registered protocol family 37
    <6>[    6.599853] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    <6>[    6.608459] ThumbEE CPU extension supported.
    <5>[    6.613250] Registering SWP/SWPB emulation handler
    <6>[    6.622253] Reprogramming LPDDR2 timings to 400000000 Hz
    <4>[    6.628326] sr_init: No PMIC hook to init smartreflex
    <6>[    6.634185] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    <6>[    6.642944] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    <6>[    6.651641] smartreflex smartreflex.2: omap_sr_probe: SmartReflex driver initialized
    <6>[    6.660583] SmartReflex class 1.5 driver: initialized (86400000ms)
    <6>[    6.668212] omap_cpu_thermal_manager:sensor 31800 avg sensor 0 pcb  
    <6>[    6.675048] 0, delta 1898 hot spot 33698
    <6>[    6.679656] omap_cpu_thermal_manager: hot spot temp 33698 - going into safe zone
    <3>[    6.687927] Power Management for TI OMAP4.
    <6>[    6.692535] sr_class1p5_calib_work: mpu: Calibration complete: Voltage Nominal=1200000Calib=1190080 margin=0
    <6>[    6.703643] OMAP4 PM: Static dependency added between MPUSS and DUCATI <-> L4_PER/CFG and L3_1.
    <6>[    6.722473] clock: disabling unused clocks to save power
    <6>[    6.785919] cannot apply mgr(lcd) on inactive device
    <4>[    6.791778] omapfb omapfb: failed to apply dispc config
    <6>[    6.797760] cannot apply mgr(tv) on inactive device
    <4>[    6.803527] omapfb omapfb: failed to apply dispc config
    <4>[    6.809478] sr_class1p5_calib_work: iva Stop sampling: Voltage Nominal=950000 samples=0
    <6>[    6.818664] cannot apply mgr(lcd2) on inactive device
    <4>[    6.824523] omapfb omapfb: failed to apply dispc config
    <4>[    6.830810] sr_class1p5_calib_work: iva Vsafe 962200 > Vnom 950000. 0[0] margin onvnom 950000 curr_v=962200
    <6>[    6.842437] sr_class1p5_calib_work: iva: Calibration complete: Voltage Nominal=950000Calib=962200 margin=0
    <7>[    6.993347] hub 1-0:1.0: hub_suspend
    <7>[    6.997467] usb usb1: bus auto-suspend
    <4>[    7.001159] sr_class1p5_calib_work: core Stop sampling: Voltage Nominal=962000 samples=0
    <4>[    7.001220] sr_class1p5_calib_work: core Vsafe 962200 > Vnom 962000. 0[0] margin onvnom 962000 curr_v=962200
    <6>[    7.001251] sr_class1p5_calib_work: core: Calibration complete: Voltage Nominal=962000Calib=962200 margin=0
    <4>[    7.001281] sr_class1p5_calib_work: mpu Stop sampling: Voltage Nominal=1025000 samples=0
    <4>[    7.001342] sr_class1p5_calib_work: mpu Vsafe 1025500 > Vnom 1025000. 0[0] margin onvnom 1025000 curr_v=1025500
    <6>[    7.001342] sr_class1p5_calib_work: mpu: Calibration complete: Voltage Nominal=1025000Calib=1025500 margin=0
    <7>[    7.065124] ehci-omap ehci-omap.0: ehci_omap_bus_suspend
    <7>[    7.070983] ehci-omap ehci-omap.0: suspend root hub
    <3>[    7.077331] Invalid Device Structure
    <3>[    7.126159] (stk) :ldisc installation timeout
    <6>[    7.131011] (stk) :ldisc_install = 0
    <7>[    7.993377] hub 2-0:1.0: hub_suspend
    <7>[    7.997802] usb usb2: bus auto-suspend
    <3>[    8.290222] (stk) : timed out waiting for ldisc to be un-installed
    <6>[    8.402404] (stk) :ldisc_install = 1tm040ydhp05_set_update_mode: mode = 1
    <6>[    8.412628] twl_rtc twl_rtc: setting system clock to 2012-09-25 15:26:27 UTC (1348586787)
    <6>[    8.421997] Freeing init memory: 272K
    <4>[    8.429229] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
    <6>[    8.454254] sr_class1p5_calib_work: mpu: Calibration complete: Voltage Nominal=1375000Calib=1202740 margin=0
    <6>[    8.530181] keychord: using input dev omap4-keypad for fevent
    <6>[    8.536560] sr_class1p5_calib_work: mpu: Calibration complete: Voltage Nominal=1380000Calib=1304020 margin=0
    <6>[    8.579223] sr_class1p5_calib_work: core: Calibration complete: Voltage Nominal=1125000Calib=1114120 margin=0
    <6>[    8.601623] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
    <6>[    8.620819] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
    <6>[    8.635284] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
    <6>[    8.653717] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
    <6>[    8.955444] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 6609400
    <3>[    8.964447] init: cannot find '/system/bin/setup_fs', disabling 'setup_fs'
    <3>[    8.994812] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
    <4>[    9.016632] omap_hwmod: ipu: failed to hardreset
    <6>[    9.031219] omap-rproc omap-rproc.1: remote processor ipu is now up
    <3>[    9.043426] android_usb: already disabled
    <6>[    9.047760] omap_rpmsg_mbox_callback: received echo reply from ipu !
    <6>[    9.054870] mtp_bind_config
    <6>[    9.058044] adb_bind_config
    <6>[    9.061340] omap_rpmsg_mbox_callback: received echo reply from ipu !
    <6>[    9.061859] warning: `adbd' uses 32-bit capabilities (legacy support in use)
    <6>[    9.062011] adb_open
    <6>[    9.078643] rpmsg_omx rpmsg-omx0: new OMX connection srv channel: 1024 -> 60!
    <6>[    9.086517] omap_rpmsg_mbox_callback: received echo reply from ipu !
    <6>[    9.093322] omap_rpmsg_mbox_callback: received echo reply from ipu !
    <6>[    9.154724] (stc): st_tty_open
    <6>[    9.158233] (stk) :line discipline installed
    <6>[    9.164001] (stk) :TIInit_7.2.31.bts
    <6>[    9.193939] rpmsg_omx rpmsg-omx1: new OMX connection srv channel: 1024 -> 60!
    <6>[    9.281951] PVR: PVRCore_Init
    <6>[    9.286560] PVR: PVRSRVDriverProbe(pDevice=eb4ae800)
    <6>[    9.293090] PVR: SGX register base: 0x56000000
    <6>[    9.298889] PVR: SGX register size: 65535
    <6>[    9.304229] PVR: SGX IRQ: 53
    <6>[    9.308471] PVR: EnableSystemClocks: Enabling System Clocks
    <6>[    9.316558] PVR: PVRCore_Init: major device 246
    <7>[    9.342803] omaplfb: OMAPLFBInitIonOmap: Device 0: Requesting 2 TILER 2D framebuffers
    <6>[    9.391784] android_work: sent uevent USB_STATE=CONNECTED
    <6>[    9.398071] android_work: sent uevent USB_STATE=DISCONNECTED
    <6>[    9.460937] PVR: Installing MISR with cookie bf038e90
    <6>[    9.470458] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie eb5d1700
    <6>[    9.487670] PVR: OSUnMapPhysToLin: unmapping 65535 bytes from f0be0000
    <6>[    9.494812] PVR: SysFinalise: Version string: SGX revision = 1.1.2
    <6>[    9.537109] android_work: sent uevent USB_STATE=CONNECTED
    <6>[    9.543914] android_usb gadget: high speed config #1: android
    <6>[    9.551147] android_work: sent uevent USB_STATE=CONFIGURED
    <6>[    9.616363] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
    <6>[    9.640563] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
    <4>[    9.991973] misc dsscomp: [ea032000] ignoring set failure -22
    <3>[   10.026062] Invalid Device Structure
    <6>[   10.052703] (stc): add_channel_to_table: id 2
    <6>[   10.052703] (stc): st_register(3)
    <6>[   10.052703] (stc): add_channel_to_table: id 3
    <6>[   10.052703] (stc): st_register(4)
    <6>[   10.052703] (stc): add_channel_to_table: id 4
    <6>[   12.097259] (stc): remove_channel_from_table: id 2
    <6>[   12.102508] (stc): remove_channel_from_table: id 3
    <6>[   12.108367] (stc): remove_channel_from_table: id 4
    <6>[   12.125305] (stc):  all chnl_ids unregistered
    <6>[   12.130126] (stk) :ldisc_install = 0
    <6>[   12.135467] (stc): st_tty_close
    <6>[   20.527160] request_suspend_state: wakeup (3->0) at 20518249515 (2012-09-25 15:26:39.604431154 UTC)
    <3>[   20.659149] init: no such service 'dhcpcd_:-h android-49833d628c502b53 '
    <6>[   20.703521] acc_open
    <6>[   20.705963] acc_release
    <7>[   20.971588] usb usb2: usb auto-resume
    <7>[   20.993408] hub 2-0:1.0: hub_resume
    <7>[   20.997253] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
    <7>[   20.997375] usb usb1: usb auto-resume
    <7>[   20.997375] ehci-omap ehci-omap.0: ehci_omap_bus_resume
    <7>[   21.045715] hub 2-0:1.0: hub_suspend
    <7>[   21.049682] usb usb2: bus auto-suspend
    <7>[   21.055847] ehci-omap ehci-omap.0: resume root hub
    <7>[   21.118316] hub 1-0:1.0: hub_resume
    <7>[   21.123474] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
    <7>[   21.140991] hub 1-0:1.0: hub_suspend
    <7>[   21.145416] usb usb1: bus auto-suspend
    <7>[   21.154449] ehci-omap ehci-omap.0: ehci_omap_bus_suspend
    <7>[   21.170501] ehci-omap ehci-omap.0: suspend root hub
    <6>[   21.711303] mtp_open
    <3>[   26.718627] read rx: 2678 lowered width_treshold: 2703
    <3>[   26.724273] read ry: 2373 lowered height_treshold: 2398
    <3>[   26.731292] read ry: 2371 lowered height_treshold: 2396
    <3>[   26.743988] read rx: 2672 lowered width_treshold: 2697
    <3>[   26.749969] read ry: 2366 lowered height_treshold: 2391
    <3>[   26.820861] read ry: 2359 lowered height_treshold: 2384
    <3>[   26.859191] read rx: 2670 lowered width_treshold: 2695
    <3>[   26.973846] read rx: 2669 lowered width_treshold: 2694
    <7>[   27.290557] omap-abe-dai omap-abe-dai: omap_abe_dai_startup: MultiMedia1 LP
    <7>[   27.304687] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_params: MultiMedia1 LP
    <7>[   27.321624] omap-abe-dai omap-abe-dai: omap_abe_dai_prepare: MultiMedia1 LP
    <7>[   27.330444] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 1
    <7>[   27.339385]  SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
    <7>[   27.345977]  PDM-DL2: mute_be: mcpdm-dl2 0
    <7>[   27.350463]  PDM-DL2: enable_be_port: mcpdm-dl2 0
    <7>[   27.355621]  PDM-DL2: SRINATH: Enable_be_port() entered
    <7>[   27.361572]  PDM-DL2: unmute_be: mcpdm-dl2 0
    <7>[   27.366210]  SDP4430 Media LP: enable_fe_port: MultiMedia1 LP 0
    <7>[   27.372833]  SDP4430 Media LP: unmute_fe_port: MultiMedia1 LP 0
    <7>[   27.379272]  SDP4430 Media LP: mute_fe_port_playback: unmute FE SDP4430 Media LP
    <3>[   34.817321] read rx: 2668 lowered width_treshold: 2693
    <7>[   35.601440] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 0
    <7>[   35.610351]  SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
    <7>[   35.617004]  SDP4430 Media LP: mute_fe_port: MultiMedia1 LP 0
    <7>[   35.623260]  SDP4430 Media LP: mute_fe_port_playback: mute FE SDP4430 Media LP
    <7>[   35.631225]  SDP4430 Media LP: disable_fe_port: MultiMedia1 LP 0
    <7>[   35.637878]  PDM-DL2: mute_be: mcpdm-dl2 0
    <7>[   35.642395]  PDM-DL2: disable_be_port: mcpdm-dl2 0
    <7>[   35.647949] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_free: MultiMedia1 LP
    <7>[   35.668945] omap-abe-dai omap-abe-dai: omap_abe_dai_shutdown: MultiMedia1 LP
    <3>[   37.826477] read rx: 2664 lowered width_treshold: 2689
    <7>[   38.250457] omap-abe-dai omap-abe-dai: omap_abe_dai_startup: MultiMedia2
    <7>[   38.263732] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_params: MultiMedia2
    <7>[   38.441070] omap-abe-dai omap-abe-dai: omap_abe_dai_prepare: MultiMedia2
    <7>[   38.450042] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia2 cmd 1
    <7>[   38.458679]  SDP4430 Media Capture: SRINATH capture_trigger: MultiMedia2 1
    <7>[   38.466217]  SDP4430 Media Capture: SRINATH MUTE_BE is calledcapture_trigger: MultiMedia2 1
    <7>[   38.475372]  PDM-UL1: mute_be: mcpdm-ul1 1
    <7>[   38.479858]  PDM-UL1: SRINATH: mute_be() else part stream is NOT SNDRV_PCM_STREAM_PLAYBACK (test for AMIC)
    <7>[   38.490447]  PDM-UL1: SRINATH: mute_be() OMAP_ABE_DAI_PDM_UL Why are we coming here? this is AMIC path
    <7>[   38.500610]  PDM-UL1: enable_be_port: mcpdm-ul1 1
    <7>[   38.505767]  PDM-UL1: SRINATH: Enable_be_port() entered
    <7>[   38.511718]  SDP4430 Media Capture: enable_fe_port: MultiMedia2 1
    <7>[   38.518432]  SDP4430 Media Capture: unmute_fe_port: MultiMedia2 1
    <7>[   38.525115]  SDP4430 Media Capture: mute_fe_port_capture: unmute FE SDP4430 Media Capture
    <7>[   38.534057]  SDP4430 Media Capture: SRINATH UNMUTE_BE is calledcapture_trigger: MultiMedia2 1
    <7>[   38.543273]  PDM-UL1: unmute_be: mcpdm-ul1 1
    <7>[   38.550018] omap-abe-dai omap-abe-dai: omap_abe_dai_startup: MultiMedia1 LP
    <7>[   38.563537] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_params: MultiMedia1 LP
    <7>[   38.580139] omap-abe-dai omap-abe-dai: omap_abe_dai_prepare: MultiMedia1 LP
    <7>[   38.589233] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 1
    <7>[   38.597900]  SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
    <7>[   38.604553]  PDM-DL2: mute_be: mcpdm-dl2 0
    <7>[   38.609039]  PDM-DL2: enable_be_port: mcpdm-dl2 0
    <7>[   38.614196]  PDM-DL2: SRINATH: Enable_be_port() entered
    <7>[   38.620147]  PDM-DL2: unmute_be: mcpdm-dl2 0
    <7>[   38.624816]  SDP4430 Media LP: enable_fe_port: MultiMedia1 LP 0
    <7>[   38.631408]  SDP4430 Media LP: unmute_fe_port: MultiMedia1 LP 0
    <7>[   38.637847]  SDP4430 Media LP: mute_fe_port_playback: unmute FE SDP4430 Media LP
    <7>[   41.658081] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 0
    <7>[   41.667297]  SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
    <7>[   41.674133]  SDP4430 Media LP: mute_fe_port: MultiMedia1 LP 0
    <7>[   41.680664]  SDP4430 Media LP: mute_fe_port_playback: mute FE SDP4430 Media LP
    <7>[   41.688720]  SDP4430 Media LP: disable_fe_port: MultiMedia1 LP 0
    <7>[   41.695678]  PDM-DL2: mute_be: mcpdm-dl2 0
    <7>[   41.700317]  PDM-DL2: disable_be_port: mcpdm-dl2 0
    <7>[   41.709533] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_free: MultiMedia1 LP
    <7>[   41.738616] omap-abe-dai omap-abe-dai: omap_abe_dai_shutdown: MultiMedia1 LP
    <7>[   63.735443] omap-abe-dai omap-abe-dai: omap_abe_dai_startup: MultiMedia1 LP
    <7>[   63.750000] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_params: MultiMedia1 LP
    <7>[   63.758850] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia2 cmd 0
    <7>[   63.767730]  SDP4430 Media Capture: SRINATH capture_trigger: MultiMedia2 1
    <7>[   63.775451]  SDP4430 Media Capture: mute_fe_port: MultiMedia2 1
    <7>[   63.782073]  SDP4430 Media Capture: mute_fe_port_capture: mute FE SDP4430 Media Capture
    <7>[   63.791076]  SDP4430 Media Capture: disable_fe_port: MultiMedia2 1
    <7>[   63.798065]  PDM-UL1: mute_be: mcpdm-ul1 1
    <7>[   63.802825]  PDM-UL1: SRINATH: mute_be() else part stream is NOT SNDRV_PCM_STREAM_PLAYBACK (test for AMIC)
    <7>[   63.813659]  PDM-UL1: SRINATH: mute_be() OMAP_ABE_DAI_PDM_UL Why are we coming here? this is AMIC path
    <7>[   63.823974]  PDM-UL1: disable_be_port: mcpdm-ul1 1
    <7>[   63.836120] omap-abe-dai omap-abe-dai: omap_abe_dai_prepare: MultiMedia1 LP
    <7>[   63.846038] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 1
    <7>[   63.851287] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_free: MultiMedia2
    <7>[   63.862335]  SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
    <7>[   63.869018]  PDM-DL2: mute_be: mcpdm-dl2 0
    <7>[   63.873626]  PDM-DL2: enable_be_port: mcpdm-dl2 0
    <7>[   63.878753]  PDM-DL2: SRINATH: Enable_be_port() entered
    <7>[   63.884826]  PDM-DL2: unmute_be: mcpdm-dl2 0
    <7>[   63.889526]  SDP4430 Media LP: enable_fe_port: MultiMedia1 LP 0
    <7>[   63.896148]  SDP4430 Media LP: unmute_fe_port: MultiMedia1 LP 0
    <7>[   63.902709]  SDP4430 Media LP: mute_fe_port_playback: unmute FE SDP4430 Media LP
    <7>[   63.913360] omap-abe-dai omap-abe-dai: omap_abe_dai_shutdown: MultiMedia2
    <7>[   68.729003] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 0
    <7>[   68.738311]  SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
    <7>[   68.745269]  SDP4430 Media LP: mute_fe_port: MultiMedia1 LP 0
    <7>[   68.751708]  SDP4430 Media LP: mute_fe_port_playback: mute FE SDP4430 Media LP
    <7>[   68.759918]  SDP4430 Media LP: disable_fe_port: MultiMedia1 LP 0
    <7>[   68.766693]  PDM-DL2: mute_be: mcpdm-dl2 0
    <7>[   68.771484]  PDM-DL2: disable_be_port: mcpdm-dl2 0
    <7>[   68.777282] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_free: MultiMedia1 LP
    <7>[   68.802337] omap-abe-dai omap-abe-dai: omap_abe_dai_shutdown: MultiMedia1 LP

  • In reply to Srinath Danavulapati:

    Clarification: amixer was used in android versions before ICS.

    I am not familiar with the recorder application, but you can test it at driver level ie by running:

    # tinymix 46 1

    # tinymix 47 2

    # tinycap /data/dmiccap.wav -D 0 -d 1 -c 2 -r 48000

    The first two commands are routing the dmic1_UL audio path in the crossbar to go to MM_UL2, then with the application start recording from MM_UL2.

  • In reply to Israel Cepeda:

    thank you for the clarification. I tried your commands and created dmiccap.wav file. I wasn't able to play this on Ubuntu m/c and hence I pulled it onto my windows m/c and able to play it using VLC media player. I was able to hear my recording (test 1,2,3....). Also while creating this recording, I saw debug messages that I had on dmic driver.

    I believe this test confirms that the dmic driver and hardware are working properly provided paths are set correctly.

     I still need to figure out where and how to set up this path correctly in the code base at run time. one use case is while I am in a voice call not sure how to set this path. Do you know where in the code base we set this path to use dmic instead of analog. I know you mentioned it happens at run time. Who does this at run time?

    I am new to Android and Audio subsystem. Hence some of my questions might sound dumb:-)

    Srinath

  • In reply to Srinath Danavulapati:

    I have changed some mapping between BE and FE in sdp4430.c file to static struct snd_soc_dai_link sdp4430_dai[] = {} so that MM-UL2 uses DMIC UL 1 and below is the serial log. Does this looks good?

    <6>[    6.018005] asoc: null-codec-dai <-> MultiMedia1 mapping ok
    <6>[    6.025390] asoc: null-codec-dai <-> MultiMedia2 mapping ok
    <6>[    6.033294] asoc: null-codec-dai <-> Voice mapping ok
    <6>[    6.040039] asoc: null-codec-dai <-> Tones mapping ok
    <6>[    6.046783] asoc: null-codec-dai <-> Vibra mapping ok
    <6>[    6.053253] asoc: null-codec-dai <-> MODEM mapping ok
    <6>[    6.060699] asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
    <6>[    6.070861] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    <6>[    6.078430] asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
    <6>[    6.096069] asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
    <6>[    6.134826] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
    <6>[    6.149810] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
    <6>[    6.157104] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
    <6>[    6.173248] asoc: twl6040-vib <-> mcpdm-vib mapping ok
    <6>[    6.188903] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    <6>[    6.204528] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    <6>[    6.211608] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    <6>[    6.222564] asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
    <6>[    6.229248] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
    <6>[    6.235656] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
    <6>[    6.242980] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
    <6>[    6.250518] asoc: null-codec-dai <-> omap-abe-vxrec-dai mapping ok

  • In reply to Srinath Danavulapati:

    No problem, here we are to help.

    The file where all the paths are set are in mydroid/device/ti/common-open/audio/audio_hw.c, there you can change the logic to set the dmic instead of the amic.

    About the change you mentioned, the log seems ok, but there is not need to change something there, because that array declares the FE and BE ports and how they can connect, so MM_UL2 can connect with several ports, not only DMIC1_UL. Indeed in the previuos capture example I post it is using that path to record.

    I think you are mixing the kernel driver arch with the configurations you can do at userspace.

  • In reply to Israel Cepeda:

    Thank you ICe (hope you this how you would like to be called. If not pls let me know:-)). I really appreciate your help here..

    I am currently looking into audio_hw.c file and I do see references to amic. Trying to understand the logic first before I go ahead and change it. On the other hand please do let me know if you have any code samples or some one has already done this kind of pathing on blaze or some other platform. I will quickly try to do.

     

    Srinath

  • In reply to Srinath Danavulapati:

    ICe,

    Do you know how can I create a mp3 file using tinycap? I was able to create wave file per your previous instructions below

    root@android:/ # tinymix 46 1
    root@android:/ # tinymix 47 2
    root@android:/ # tinycap /sdcard/Download/srinath.mp3 -D 0 -d 1 -c 2 -r 48000

    Srinath