This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

audio interface problem

Other Parts Discussed in Thread: AM1808, OMAPL138, OMAP-L138, DA8XX

hi,

i am working in am1808 custom board.. developing audio interface.. 

using mcdk kernal image audio playing.

when i use tisdk omapl138 kernel its not playing error occuring.. 

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver retury
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned ey
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned ery
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directy
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:666: audio open error: No such file or directory

changes done in  mcdk  kernal file 

static struct i2c_board_info __initdata omapl138_lcdk_i2c_devices[] = {
{
//I2C_BOARD_INFO("tlv320aic3x", 0x18),
I2C_BOARD_INFO("wm8974", 0x1a),
},
};

static struct i2c_gpio_platform_data da850_gpio_i2c_pdata = {
.sda_pin = GPIO_TO_PIN(1, 4),
.scl_pin = GPIO_TO_PIN(1, 5),
.udelay = 2, /* 250 KHz */
};

static struct platform_device da850_gpio_i2c = {
.name = "i2c-gpio",
.id = 1,
.dev = {
.platform_data = &da850_gpio_i2c_pdata,
},
};

static void omapl138_lcdk_i2c_init(void)
{
int ret;
ret = davinci_cfg_reg_list(da850_i2c0_pins);
if (ret)
pr_warn("omapl138_lcdk_init: i2c0 mux setup failed: %d\n",
ret);

platform_device_register(&da850_gpio_i2c);

if (ret)
pr_warn("omapl138_lcdk_init: i2c0 registration failed: %d\n",
ret);
i2c_register_board_info(1, omapl138_lcdk_i2c_devices,
ARRAY_SIZE(omapl138_lcdk_i2c_devices));
}

/* Set up OMAP-L138 LCDK low-level McASP driver */
static u8 da850_iis_serializer_direction[] = {
INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, TX_MODE, RX_MODE, INACTIVE_MODE,
};

static struct snd_platform_data omapl138_lcdk_snd_data = {
.tx_dma_offset = 0x2000,
.rx_dma_offset = 0x2000,
.op_mode = DAVINCI_MCASP_IIS_MODE,
.num_serializer = ARRAY_SIZE(da850_iis_serializer_direction),
.tdm_slots = 2,
.serial_dir = da850_iis_serializer_direction,
.asp_chan_q = EVENTQ_0,
.version = MCASP_VERSION_2,
.txnumevt = 1,
.rxnumevt = 1,
};

static const short omapl138_lcdk_mcasp_pins[] __initconst = {
DA850_AHCLKX, DA850_ACLKX, DA850_AFSX,
DA850_AHCLKR, DA850_ACLKR, DA850_AFSR, DA850_AMUTE,
DA850_AXR_13, DA850_AXR_14,
-1
};

static void omapl138_lcdk_sound_init(void)
{
int ret;
ret = davinci_cfg_reg_list(omapl138_lcdk_mcasp_pins);
if (ret)
pr_warn("omapl138_lcdk_init: mcasp mux setup failed: %d\n",
ret);

da8xx_register_mcasp(0, &omapl138_lcdk_snd_data);
}

 i just done same in ti-sdk board file.. error occuring  .sda_pin undefined..  

please help me out how to configure audio ..

  • ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

    This means that the sound driver was not loaded successfully.
    Try looking in the system log for error messages.

  • ya  i found in log ..no soundcards found

     first time i am working in audio interfacing. .

    ..

    if i give below lines

    sound card will be found but i2c_0 pins (sda,scl) wont configured..

    static struct i2c_board_info __initdata omapl138_hawk_i2c_devices[] = {
    {

    I2C_BOARD_INFO("wm8974", 0x1a),
    },
    };

    static struct davinci_i2c_platform_data omapl138_hawk_i2c_0_pdata = {

    .bus_freq = 100, /* kHz */
    .bus_delay = 0, /* usec */
    }; 

    how to i configure previous lines(i2c gpio pins) with these above sound card detection lines..

    because both i2c0 pins and sound card should be enabled to get audio..

    kindly help me ..

    thanks in advance.. 

  • Hi Meena,

    Do you have any other I2C devices on the same I2C bus ?

    Able to see any activity on I2C bus while loading drivers ?

    Could you please attach you complete bootup log.

  • hi stalin,

     i changed linux 3.3 wm8974 file into my kernel 3.1.. now its playing.. 

    i have doubt that i2c pin is not configured. 

    my boot log.. 

    ���NAND: No NAND device found!!!
    0 MiB
    MMC: davinci: 0
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Net: Ethernet PHY: GENERIC @ 0x07
    DaVinci-EMAC
    Hit any key to stop autoboot: 0
    reading boot.scr

    ** Unable to read "boot.scr" from mmc 0:1 **
    reading uImage

    2069792 bytes read
    ## Booting kernel from Legacy Image at c0700000 ...
    Image Name: Linux-3.1.10
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2069728 Bytes = 2 MiB
    Load Address: c0008000
    Entry Point: c0008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 3.1.10 (marudham@marudham-desktop) (gcc version 4.5.3 20110311 (p4
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: AM18x/OMAP-L138 LCDK
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138/am18x variant 0x1
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=f
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 125748k/125748k available, 5324k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xff000000 - 0xffe00000 ( 14 MB)
    vmalloc : 0xc8800000 - 0xfea00000 ( 866 MB)
    lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    .text : 0xc0008000 - 0xc039f6b4 (3678 kB)
    .init : 0xc03a0000 - 0xc03c3000 ( 140 kB)
    .data : 0xc03c4000 - 0xc03eb5a0 ( 158 kB)
    .bss : 0xc03eb5c4 - 0xc040fa9c ( 146 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    NET: Registered protocol family 16
    EMAC: MII PHY configured

    ... audio i2c
    MATRIX_KEY :: configured the pinmux
    MATRIX_KEY :: configured the 5x4 matrix keypad#### SPI DEBUG : da850_spi1_gpio_s
    #### SPI DEBUG : SPI pinmux done ret = 0
    #### SPI DEBUG : da850_evm_init: SPI1 registration success: 0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Advanced Linux Sound Architecture Driver Version 1.0.24.
    Switching to clocksource timer0_1
    Switched to NOHz mode on CPU #0
    musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    msgmni has been set to 245
    io scheduler noop registered (default)
    da8xx_lcdc da8xx_lcdc.0: GLCD: Found VGA_Monitor panel
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    spi_davinci spi_davinci.1: DMA: supported
    spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
    spi_davinci spi_davinci.1: Controller at 0xfef0e000

    next sensor>>>>>>>>>>>>>
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[7]: device 0:07, driver unknown
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    ohci ohci.0: DA8xx OHCI
    ohci ohci.0: new USB bus registered, assigned bus number 1
    Waiting for USB PHY clock good...
    ohci ohci.0: irq 59, io mem 0x01e25000
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: DA8xx OHCI
    usb usb1: Manufacturer: Linux 3.1.10 ohci_hcd
    usb usb1: SerialNumber: ohci.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver uas
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbserial
    usbserial: USB Serial Driver core
    USB Serial support registered for cp210x
    usbcore: registered new interface driver cp210x
    cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
    USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
    USB Serial support registered for pl2303
    usbcore: registered new interface driver pl2303
    pl2303: Prolific PL2303 USB to serial adaptor driver
    input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    omap_rtc: RTC power up reset detected
    i2c /dev entries driver
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    LCDK HAWK board
    mmc0: new SD card at address 1234
    mmcblk0: mmc0:1234 SA02G 1.83 GiB
    mmcblk0: p1 p2 p3
    wm8974-codec 1-001a: asoc: failed to add dapm kcontrol Input PGA Aux Switch: -16
    wm8974-codec 1-001a: asoc: failed to add dapm kcontrol Speaker Mixer Line Bypas6
    asoc: wm8974-hifi <-> davinci-mcasp.0 mapping ok
    ALSA device list:
    #0: DA850/OMAP-L138 EVM
    TCP cubic registered
    NET: Registered protocol family 17
    davinci_emac davinci_emac.1: using random MAC addr: ce:43:3b:96:81:16
    console [netcon0] enabled
    netconsole: network logging started
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is red
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    Freeing init memory: 140K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    udevd (969): /proc/969/oom_adj is deprecated, please use /proc/969/oom_score_ad.
    EXT3-fs (mmcblk0p3): warning: maximal mount count reached, running e2fsck is red
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p3): using internal journal
    EXT3-fs (mmcblk0p3): recovery complete
    EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
    Remounting root file system...
    Caching udev devnodes
    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
    NET: Registered protocol family 10
    ALSA: Restoring mixer settings...
    Configuring network interfaces... Found hardware: "DA850_OMAP-L138" "" "" "" ""
    Hardware is initialized using a generic method
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #1 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #2 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #3 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #4 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #5 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #6 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #7 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #8 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #9 (No s)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #10 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #11 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #12 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #13 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #14 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #15 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #16 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #17 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #18 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #19 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #20 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #21 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #22 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #23 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #24 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #25 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #26 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #27 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #28 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #29 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #30 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #31 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #32 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #34 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #35 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #36 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #37 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #38 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #39 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #40 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #41 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #42 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #43 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #44 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #45 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #46 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #47 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #48 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #49 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #50 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #51 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #52 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #53 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #54 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #55 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #56 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #57 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #58 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #59 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #60 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #61 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #62 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #63 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #64 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #65 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #66 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #67 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #68 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #69 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #70 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #71 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #72 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #73 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #74 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #75 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #76 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #77 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #78 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #79 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #80 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #81 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #82 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #83 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #84 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #85 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #86 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #87 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #88 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #89 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #90 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #91 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #92 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #93 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #94 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #95 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #96 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #97 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #98 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #99 (No )
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #100 (No)
    /usr/sbin/alsactl: set_control:1267: failed to obtain info for control #101 (No)
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:07, id=7c0f1)
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    eth0 no wireless extensions.

    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    Tue Apr 10 20:52:00 UTC 2012
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Hardware abstraction layer hald
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting Lighttpd Web Server: lighttpd.
    2012-04-10 20:52:09: (log.c.166) server started
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
    binutils-symlinks
    binutils
    gdbserver

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org omapl138-lcdk ttyS2

    Arago 2011.09 omapl138-lcdk ttyS2

    omapl138-lcdk login: root
    root@omapl138-lcdk:~# cd /
    root@omapl138-lcdk:/# cd home
    root@omapl138-lcdk:/home# ls
    1?[=1?[ refresh-screen-1.0
    4[4 root
    Capture s83.83-%
    Demo testjune4
    ap3.6 testjune5
    nee_korinanal_vmusiq_com.wav
    root@omapl138-lcdk:/home# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: EVM [DA850/OMAP-L138 EVM], device 0: AIC3X wm8974-hifi-0 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    root@omapl138-lcdk:/home# aplay nee_korinanal_vmusiq_com.wav
    Playing WAVE 'nee_korinanal_vmusiq_com.wav' : Signed 16 bit Little Endian, Rateo

  • Hi Meena.

    1) You can compare the both linux board file and fins any differences are there related to I2C and audio.

    2) Confirm that you have done I2C pinmuxing and not using any SPI_CS6 & 7, GPIO1_4 and 1_5 etc.,

  • in da850.c and mux.h  i2co pins (gpio 1(4&5)) is configured.. but in board file i dint give pins.. 

    why i got these error

    wm8974-codec 1-001a: asoc: failed to add dapm kcontrol Input PGA Aux Switch: -16
    wm8974-codec 1-001a: asoc: failed to add dapm kcontrol Speaker Mixer Line Bypas6

    but now song is playing with noise.. i increased volume upto 6db using alsamixer.. but noise occuring.. using 48k sample rate.. 

     how to reduce noise..

     

  • I have the same error "asoc: failed to add dapm kcontrol Input PGA Aux Switch: -16".
    Did anyone reolved it ? Can you please share the solution ?