All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Feeney <trev@feens.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: David Peroutka <david.peroutka@seznam.cz>,
	alsa-devel@lists.sourceforge.net
Subject: Re: Re: Revo 5.1
Date: Fri, 09 Dec 2005 09:20:51 -0500	[thread overview]
Message-ID: <439992C3.6010604@feens.org> (raw)
In-Reply-To: <s5hslt2zfy7.wl%tiwai@suse.de>

Takashi Iwai wrote:

>At Thu, 08 Dec 2005 21:42:48 +0100,
>David Peroutka wrote:
>  
>
>>Takashi Iwai wrote:
>>    
>>
>>>At Tue, 06 Dec 2005 09:34:48 -0500,
>>>Trevor Feeney wrote:
>>>
>>>      
>>>
>>>>Was taking a look at the source for the Revo 5.1, noticed a few things.  
>>>>You set it up as using only 6 DACs, going by the 5.1 I figure, but when 
>>>>you consider that it also has the headpone out, it would have the same 
>>>>number of DACs as the 7.1 (8 DACs in all). 
>>>>
>>>>Takashi - that answers your question in the last thread...from what I've 
>>>>read, the 5.1 only uses one codec, and the headphones would just be a 
>>>>separate channel.  I tried adjusting the number of DACs to 8 in the 
>>>>driver, and did manage to get two
>>>>DAC mixer sliders.  I'm not really sure if that was the way to go or 
>>>>not.  I tried adjusting the asound plugin to output to 8 channels, pcm 
>>>>device surround71, but that didn't seem to work.  I wondering if it 
>>>>needs to be setup separately thant the other 6 channels so that it would 
>>>>be considered it's own PCM device.  That goes a bit beyond my realm of 
>>>>knowledge for driver development though...still trying to learn this.  
>>>>Been reading a lot of the documents and such.
>>>>        
>>>>
>>>[Added alsa-devel ML again]
>>>
>>>In the case of ice1724, you can open a stereo stream separately.
>>>The first PCM is assigned to the multi-channel, i.e. 2-8 channels
>>>interleaved format.  The secondary PCM is for SPDIF.  The third PCM is
>>>the "independent" streams.  This may have up to 3 substreams, each of
>>>which is a 2-channel one.  If you change num_dacs = 8, you'll be able
>>>to access plughw:0,2,3 (suppose the card# is 0) for the last two
>>>channels individually:
>>>
>>>	% aplay -Dplughw:0,1,3 foo.wav
>>>
>>>And you have to raise the corresponding DAC mixer values, of course.
>>>
>>>
>>>Takashi
>>>      
>>>
>>I've enabled all 8-channels of AK4358 in the driver, but I was unable to 
>>access the 4-th substream, because (as you noted) there are max 3 
>>substreams per PCM, so "plughw:0,2,3" is actually not available (the 
>>other substreams work fine).
>>    
>>
>
>My bad, I mean 'plughw:0,2,2'.
>
>But Trevor reported it doesn't work, too, and mentioned that the chip
>itself (Envy24GT) shouldn't support 4th stream...
>
>
>Takashi
>  
>
Takashi,

I've been poking around in the source for the driver and have a few 
questions.  Where is it in the code that the front PCM stream would 
conncect to output to the DACs associated with that, and is there a way 
to duplicate that to the extra 2 DACs?  I know that laptop cards tend to 
have a similar setup, outputting to headphones and speakers, so I figure 
it can be done.  I'm also thinking that's the most logical solution in 
this case as well.

I have no problem fooling around to figure things out (I went to school 
for software engineering, just have never dealt with drivers before), I 
just need to be pointed in the right direction.  I know there are a few 
people now looking for support with this card, so I figure if we work 
together we can get it all working.

Thanks again,

Trevor


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

  reply	other threads:[~2005-12-09 14:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <43948A9F.6020009@feens.org>
     [not found] ` <43948F9E.50407@seznam.cz>
     [not found]   ` <4395A188.7060307@feens.org>
2005-12-06 14:49     ` Revo 5.1 Takashi Iwai
2005-12-07 18:36       ` Trevor Feeney
2005-12-08 20:42       ` David Peroutka
2005-12-09 11:07         ` Takashi Iwai
2005-12-09 14:20           ` Trevor Feeney [this message]
2005-12-09 14:47             ` Takashi Iwai
2005-12-09 15:31               ` Trevor Feeney
2005-12-09 15:47                 ` Takashi Iwai
2005-12-09 16:04                   ` Trevor Feeney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439992C3.6010604@feens.org \
    --to=trev@feens.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=david.peroutka@seznam.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.