[yocto] Sound over HDMI for ASrock IMB-151 (valleyisland)

Chris Tapp opensource at keylevel.com
Sun Dec 21 07:19:25 PST 2014


I think I've worked this one out. It looks as if the kernel patch at http://mailman.alsa-project.org/pipermail/alsa-devel/2013-October/067530.html needs to be included so that the ValleyView HDMI codec is detected.

Adding it manually before compiling the kernel gives me audio over HDMI.

Chris

On 14 Dec 2014, at 13:04, Chris Tapp <opensource at keylevel.com> wrote:

> I'm having trouble getting audio out of the HDMI connector on an ASrock IMB-151 board.
> 
> aplay -l reports:
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 3: ID 2882 Digital [ID 2882 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> 
> and aplay -L gives:
> 
> null
>    Discard all samples (playback) or generate zero samples (capture)
> sysdefault:CARD=PCH
>    HDA Intel PCH, ALC662 rev1 Analog
>    Default Audio Device
> front:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Analog
>    Front speakers
> surround40:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Analog
>    4.0 Surround output to Front and Rear speakers
> surround41:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Analog
>    4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Analog
>    5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Analog
>    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Analog
>    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=PCH,DEV=0
>    HDA Intel PCH, ALC662 rev1 Digital
>    IEC958 (S/PDIF) Digital Audio Output
> hdmi:CARD=PCH,DEV=0
>    HDA Intel PCH, ID 2882 Digital
>    HDMI Audio Output
> 
> Running
> 
>  aplay -D plug:hdmi /usr/share/sounds/alsa/Front_Center.wav
> 
> gives nothing out of the hdmi. And
> 
>  speaker-test -D hdmi
> 
> gives:
> 
> speaker-test 1.0.27.2
> 
> Playback device is hdmi
> Stream parameters are 48000Hz, S16_LE, 1 channels
> Using 16 octaves of pink noise
> Channels count (1) not available for playbacks: Invalid argument
> Setting of hwparams failed: Invalid argument
> 
> I've not been able to find anything on the internet that gives me a clue to what's wrong, and alsa is not an area I'm familiar with!
> 
> Anyone got an idea where I need to look?
> 
> --
> 
> Chris Tapp
> opensource at keylevel.com
> www.keylevel.com
> 
> ----
> You can tell you're getting older when your car insurance gets real cheap!
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--

Chris Tapp
opensource at keylevel.com
www.keylevel.com

----
You can tell you're getting older when your car insurance gets real cheap!




More information about the yocto mailing list