Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Eric <ejaouen@ponctey.fr>
To: alsa-devel@alsa-project.org
Subject: [STAC927x HDA codec] 0x1F function not supported by driver ?
Date: Mon, 04 Oct 2010 14:23:35 +0200	[thread overview]
Message-ID: <4CA9C747.2010700@ponctey.fr> (raw)
In-Reply-To: <498A1EBC.9060203@ponctey.fr>

Hi everybody I have some news : bad news but I was prepared to : as of
now the alsa codec driver for STAC9271 is not complete : its ADAT output
(vendor specific function) support is not complete.
I tested with the ADAT output option Matthew Ranostay had added in a
patch ( amixer sset 'IEC958 Playback Source' ADAT )
and also having changed the 0x21 pin default from 014521xx to 015521xx
(4 being spdif out and 5 being digital out) : when doing so "alsactl
restore" responded : unknown hardware HDAintel STAC ; hardware is
initialized using a guess method   (which is possibly normal )
In jack I only had 2 alsa outputs (allways using card0 device 1 : "STAC
digital").
Maybe the problem is that ADATout Node 0x1F is not detailled enough in
the driver ?

here is COMPLETE codec datasheet (page185 for 0x1F node ; page 155 for
0x21 digOUT node):
http://pdf1.alldatasheet.com/datasheet-pdf/view/199321/IDT/STAC9271.html

here a alsa-info.sh of me (before changing to 015521xx pin config):

www.alsa-project.org/db/?f=297fa42ac3c439e3ca9336d1fa525a2cadabdae6


Hoping to get help to at least try to make it work : I bought intel
DP35DP motherboard ONLY for the advertised "ADAToutput feature".
Thanks a lot in advance, Eric

> Hi Steven,
> I have studied the hd audio documents :
> Please make sure the pin default is actually 015521xx when in ADAT mode
> (instead of config default 014521xx ) .
> 
> Please copy me your alsainfo script if it still does not work.
> 
> Matthew Ranostay is right : really not much is missing or wrong for ADAT
> to work.
> Thanks everybody for future help, Eric
> 
> Tellman, Steven a écrit :
>> It doesn't work. The option comes up, but no dice. Doesn't lock to the
>> receiver that has ADAT support.
> 
>> Hello Eric,
>> You should run the latest ALSA from the git tree because I added a codec
>> specific SPDIF output control control for that chipset.
>>
>> ....
>>  417 static const char *stac927x_spdif_labels[5] = {
>>  418     "Digital Playback", "ADAT", "Analog Mux 1",
>>  419     "Analog Mux 2", "Analog Mux 3"
>>  420 };
>> ....
>>
>> I haven't tested ADAT output though but I have no reason to
>> think it wouldn't work.
>>
>> Thanks,
>>
>> Matt Ranostay
>>
>>
>> Eric wrote:
>>> In their handbook, motherboard intel DP35DP and others with STAC927x
>> (in
>>> the codec datasheet also ADAT output is featured on older sigmatel
>>> STAC9271 and now IDT STAC9274 only) advertise ADAT output possible on
>>> their toslink.
>>> DP35DP and other intel boards are proven to have the ADAT output
>> working
>>> under windows.
>>> Is it working in Alsa ? Many HTPC users would love that... I would !
>>>
>>> Anybody from intel or IDT/sigmatel to confirm (by checking the
>> sigmatel
>>> STAC927x hda codec driver) that it will work ?
>>> I want these intel motherboards only for this ADAT output feature and
>> I
>>> am a linux only user so I would like to know before buying...
>>> I want to be sure someone would make the necessary changes to the hda
>>> sigmatel codec alsa driver so it would work.
>>> Thank you everybody
>>>
>>>
>>>>> Is the ADAT output of the IDT (sigmatel) STAC927x HDA codec
>> supported in
>>>>> alsa ?
>>>>> If not could someone please try to add this incredibly nice feature
>> in
>>>>> the existing alsa driver ?
>>>
>>>> Do you have any HD-audio device with ADAT?
>>>> IIRC, there is no specific verbs for ADAT on STAC927x...
>>>> Takashi

  parent reply	other threads:[~2010-10-04 12:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-11 14:01 idt STAC927x adat supported (sigmatel HDA codec) ? Eric
2009-01-12 11:34 ` Takashi Iwai
2009-01-12 12:46   ` intel DP35DP adat supported (STAC927x " Eric
2009-01-15  0:14     ` Matthew Ranostay
2009-01-30 22:41       ` Tellman, Steven
2009-01-31  9:19         ` Takashi Iwai
2009-01-31 12:06           ` Eric
2009-02-04 23:03         ` Eric
2009-03-31  1:53           ` Eric
2009-04-04 22:19             ` to support STAC927x ADATout (intel hda mobo) Eric
2009-04-06  1:37             ` modify the 0x21 pin config for ADATout (STAC927x hda codec) ? Eric
2009-04-14 13:33               ` Takashi Iwai
2010-10-04 12:23           ` Eric [this message]
2011-03-03 11:59             ` [STAC927x HDA codec] 0x1F function not supported bydriver ? Eric

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=4CA9C747.2010700@ponctey.fr \
    --to=ejaouen@ponctey.fr \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox