[alsa-devel] [PATCHv5 2/2] ALSA: hda - Add driver for Tegra SoC HDA

Dylan Reid dgreid at chromium.org
Tue May 20 18:49:01 CEST 2014


On Tue, May 20, 2014 at 1:59 AM, Thierry Reding
<thierry.reding at gmail.com> wrote:
> On Mon, May 19, 2014 at 07:18:27PM -0700, Dylan Reid wrote:
>> This adds a driver for the HDA block in Tegra SoCs.  The HDA bus is
>> used to communicate with the HDMI codec on Tegra124.
>>
>> Most of the code is re-used from the Intel/PCI HDA driver.  It brings
>> over only two of the module params, power_save and probe_mask.
>>
>> Signed-off-by: Dylan Reid <dgreid at chromium.org>
>> Reviewed-by: Stephen Warren <swarren at nvidia.com>
>
> When I run this on Jetson TK1 I get the following:

I haven't tried on a Jetson TK1 yet, but we should have one by EOD.
All my testing has been on Venice2.

>
>         [    1.571912] tegra-hda 70030000.hda: CORB reset timeout#1, CORBRP = 0
>
> Is that expected?

No, but now that you mention it I see it too.  I'll take a look.

>
> The device seems to register properly:
>
>         $ aplay -l
>         **** List of PLAYBACK Hardware Devices ****
>         card 0: tegrahda [tegra-hda], device 3: HDMI 0 [HDMI 0]
>           Subdevices: 1/1
>           Subdevice #0: subdevice #0
>         card 1: TK1 [NVIDIA Tegra Jetson TK1], device 0: RT5640 PCM rt5640-aif1-0 []
>           Subdevices: 1/1
>           Subdevice #0: subdevice #0
>
> Would you mind sharing the procedure how you test this? I tried various
> incantations of this sort:
>
>         $ aplay -D hw:0,3 /usr/share/sounds/alsa/Noise.wav
>
> or
>
>         $ aplay -D plughw:0,3 /usr/share/sounds/alsa/Noise.wav
>
> to no avail.

Those sounds are mono so hw:0,3 wouldn't work, but plughw works for me.

Are you getting an error message or is it playing silence?  Never
hurts to double check that the output didn't end up in DVI mode, and
that the Playback switch is unmuted in amixer.

I used:

speaker-test -Dhw:0,3 -c 2

or

aplay -Dhw:0,3 stereo_file.wav

Thanks,

Dylan

>
> Thierry


More information about the Alsa-devel mailing list