HDMI video works, it doesnt require the sound driver to be loaded for the video passthrough.
At the moment my LCD (samsung) doesnt indicate any sound is coming from the HDMI cable.
I'm trying to play a ac3 test file I found (end application is mythtv which doesnt work either), e.g.
. aplay -Dplug:front:HDAV13 www_lynnemusic_com_surround_test.ac3
Playing raw data 'www_lynnemusic_com_surround_test.ac3' : Unsigned 8 bit, Rate 8000 Hz, Mono
Playing raw data 'www_lynnemusic_com_surround_test.ac3' : Unsigned 8 bit, Rate 8000 Hz, Mono
This plays static noise via the analogue output
and another one
aplay -Dplug:front:HDAV13 50_16.wav
Playing WAVE '50_16.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Playing WAVE '50_16.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
dmesg is displaying the following
[ 13.520016] sent: fb ef 61 01 00 4c
[ 13.528055] sent: fb ef 74 01 01 60
[ 13.528089] sent: fb ef 54 05 00 02 00 00 01 46
[ 13.983556] message from Xonar HDAV HDMI chip received:
[ 13.983562] 00000000: 53 54 41 52 54 4f 4b STARTOK
[ 14.041538] message from Xonar HDAV HDMI chip received:
[ 14.041544] 00000000: 32 34 50 4f 46 46 4f 4b 24POFF
[ 13.528055] sent: fb ef 74 01 01 60
[ 13.528089] sent: fb ef 54 05 00 02 00 00 01 46
[ 13.983556] message from Xonar HDAV HDMI chip received:
[ 13.983562] 00000000: 53 54 41 52 54 4f 4b STARTOK
[ 14.041538] message from Xonar HDAV HDMI chip received:
[ 14.041544] 00000000: 32 34 50 4f 46 46 4f 4b 24POFF
however I would have expected several HDMI commands when playing the ac3 file but nothing is shown, probably because I'm not using aplay correctly.
Is there another module which calls the hdmi_write_command, most of the commands in virtuoso.c seem to be around initialising and cleanup routines?
On Tue, Mar 17, 2009 at 12:05 AM, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote:
Ron Pitts wrote:But HDMI video does work?
> Analogue Output is working fine now however no luck with the HDMI audio.
Does your HDMI display show if any audio is sent, or in which format?
What sample format did you try to play?
No, that is the SPDIF output. The HDMI sound must be driven by the same
> 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?
DMA channel as the analog outputs ("Multichannel") because it is the
only one that supports more than two uncompressed PCM channels.
No, the commands sent by the driver are not shown. The logged messages
> I take it the above commands are from the method xonar_hdav_init in
> virtuoso.c,
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);
Well, the driver doesn't use C++ ...
> its been awhile since I hacked some C++ code!!
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@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user