Ron Pitts wrote:
> Analogue Output is working fine now however no luck with the HDMI audio.

But HDMI video does work?
Does your HDMI display show if any audio is sent, or in which format?
What sample format did you try to play?

> I've rebuilt the alsa lib with full debugging turned on:
> No sound for HDMI but receiving the following in dmesg:
> 
> [   33.668846] 00000000: 4e 43 4f 4b                       NCOK
> [   36.523606] message from Xonar HDAV HDMI chip received:
> [   36.523632] 00000000: 53 54 41 52 54 4f 4b              STARTOK
> [   36.581530] message from Xonar HDAV HDMI chip received:
> [   36.581551] 00000000: 32 34 50 4f 46 46 4f 4b           24POFF
> 
> Is the plug iec958, the HDMI sound component?

No, that is the SPDIF output.  The HDMI sound must be driven by the same
DMA channel as the analog outputs ("Multichannel") because it is the
only one that supports more than two uncompressed PCM channels.

> I take it the above commands are from the method xonar_hdav_init in
> virtuoso.c,

No, the commands sent by the driver are not shown.  The logged messages
are responses from the HDMI chip.

You can show the sent commands by adding the following at the end of
the hdmi_write_command function:

        printk(KERN_DEBUG "sent: fb ef %02x %02x", command, count);
        for (i = 0; i < count; ++i)
                printk(" %02x", params[i]);
        printk(" %02x\n", checksum);

> its been awhile since I hacked some C++ code!!

Well, the driver doesn't use C++ ...


Best regards,
Clemens

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to