AnsweredAssumed Answered

imx6 hdmi audio Hardware Device is not present in user space after kernel detected.

Question asked by Yamil Garcia on Oct 12, 2012
Latest reply on Jun 3, 2013 by zhaozhao

I'm trying imx6 using Nitrogen6X board from boundary device to evaluate the multimedia capabilities of imx6, the rootfs was created by linuxlink tool from timesys.

When I use hdmi output as the audio device for gstreamer, gst-launch tool prompt the error showed below:


Playback open error on device 'hw:1,0': No such file or directory


When I check the playback hardware devices present in my board, the hdmi audio is not present as shown below:


# aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: sgtl5000audio [sgtl5000-audio], device 0: HiFi sgtl5000-0 []

  Subdevices: 1/1

  Subdevice #0: subdevice #0



But the kernel detected the hardware correctly when bootup, a portion of kernel output is shown below:


asoc: sgtl5000 <-> imx-ssi.1 mapping ok

imx_3stack asoc driver

asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok

ALSA device list:

  #0: sgtl5000-audio

  #1: imx-hdmi-soc


In user space I check that devices for audio were created correctly, as shown below:


# cat /proc/asound/cards

0 [sgtl5000audio  ]:  - sgtl5000-audio


1 [imxhdmisoc     ]:  - imx-hdmi-soc




The kernel does not have any problem because I tryied with another rootfs and the hdmi audio device worked fine, but I would like to use this new rootfs which have support for many codecs.

Can someone help me to figure out what happen?