Re: [Alsa-user] modprobe snd-virtuoso error

2009-03-16 Thread Clemens Ladisch
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] : 4e 43 4f 4b   NCOK
 [   36.523606] message from Xonar HDAV HDMI chip received:
 [   36.523632] : 53 54 41 52 54 4f 4b  STARTOK
 [   36.581530] message from Xonar HDAV HDMI chip received:
 [   36.581551] : 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


Re: [Alsa-user] modprobe snd-virtuoso error

2009-03-16 Thread Ron Pitts
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
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

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] : 53 54 41 52 54 4f 4b
STARTOK
[   14.041538] message from Xonar HDAV HDMI chip received:
[   14.041544] : 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
cladi...@googlemail.comwrote:

 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] : 4e 43 4f 4b   NCOK
  [   36.523606] message from Xonar HDAV HDMI chip received:
  [   36.523632] : 53 54 41 52 54 4f 4b  STARTOK
  [   36.581530] message from Xonar HDAV HDMI chip received:
  [   36.581551] : 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


Re: [Alsa-user] Unable to configure ASUS A7V sound card with Alsa

2009-03-16 Thread stonee
Excuse the long reply... work has been taking up a lot of time lately.

Any suggestions with this output?

 Original Message 
From: Clemens Ladisch cladi...@googlemail.com
Apparently from: alsa-user-boun...@lists.sourceforge.net
To: sto...@safe-mail.net
Cc: alsa-user@lists.sourceforge.net, un...@physics.ubc.ca
Subject: Re: [Alsa-user] Unable to configure ASUS A7V sound card with Alsa
Date: Mon, 16 Feb 2009 15:46:07 +0100

 sto...@safe-mail.net wrote:
  The card is enabled in the BIOS,
 
 Is the entry Enabled or Auto?  The latter means the BIOS
 automatically disables it when it finds another sound card, because,
 apparently, it doesn't expect anybody would want to use it when there
 is a _real_ sound card.
 
 This is common with BIOSes for VIA chipsets.  The Linux kernel has code
 to forcibly enable the AC'97 controller on VT8237-based mainboards.
 In the case of older mainboards like yours, which sometimes didn't have
 audio, this cannot be done automatically.
 
 Also check that Sound Blaster emulation is disabled.
 
  but does not appear in the lspci output.
 
 Please show the lspci output.
 
  I was also surprised to find that Asus supplies drivers that support
  RedHat 6.2.
 
 This is no surprise if you consider that RH 6.2 comes with kernel 2.2.14,
 which didn't yet have ALSA.
 
 I strongly suggest you forget those drivers and use the snd-via82xx
 driver of your distribution, which is likely to be newer by about eight
 years or so.
 
 
 HTH
 Clemens
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


lspci
Description: Binary data
--
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