[alsa-devel] ALSA utility aplay/arecord error

Saurav SAHU saurav.sahu at st.com
Mon Mar 10 04:59:04 CET 2008

Hi all

The platform on which I am trying to perform ALSA playback and record with USB sound device is based on a MIPS CPU running Linux kernel 2.6.14. The kernel uses non-coherent DMA in the configuration:
I have attached the kernel .config file for further information. So far, I have not succeeded in hearing sound with 'aplay', or capturing sound with 'arecord'.

If there have been any similar issues reported on ALSA usage with MIPS CPU based on non-coherent DMA in the past, please let me know. Also, if there have been any patches developed for successful resolution of this issue on similar platform/configuration, it would be very useful for me.

Thanks & Regards

  ----- Original Message ----- 
  From: Saurav Sahu 
  To: alsa-user at lists.sourceforge.net 
  Sent: Friday, March 07, 2008 4:33 PM
  Subject: Re: ALSA utility aplay/arecord error

  I have been able to resolve the previously reported errors by setting the environment variable for ALSA configuration file on the target filesystem of the embedded platform.

  However, I do not hear any audio from USB sound device with speaker-test or aplay:

  Upon using arecord for recording, I get an error:

  Is this problem related to a low-level driver issue which may not be working well on target platform? Could there be a DMA related issue as the samples don't seem to be transferred to the USB audio device.

    ----- Original Message ----- 
    From: Saurav Sahu 
    To: alsa-user at lists.sourceforge.net 
    Sent: Thursday, March 06, 2008 4:28 PM
    Subject: ALSA utility aplay/arecord error


    I am working towards using ALSA for playback and capture on an embedded platform running Linux. The kernel uses ALSA driver version 1.0.10rc1. I had manually built and installed ALSA library (v1.0.10) and ALSA utilities (v1.0.10) for the target platform filesystem. I have a USB audio device (C-Media) connected to the USB port of the board and it seems to be successfully successfully detected by the driver.

    However, when I run ALSA utilities like aplay, arecord or speaker-test, I observe errors opening the hardware device which may be related to the configuration on the filesystem.

    Are these errors from ALSA utility/library due to the detection of hardware, ALSA configuration files or something else related to my target device filesystem?

    Thanks in advance for any help. Do let me know if you need any more details.

    Best Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dotconfigmips
Type: application/octet-stream
Size: 28521 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080310/4ad9d700/attachment-0001.dll 

More information about the Alsa-devel mailing list