All of lore.kernel.org
 help / color / mirror / Atom feed
From: "René Rebe" <rene@exactcode.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: HDA Intel ALC889A optical optical spdif in
Date: Fri, 21 Apr 2017 22:29:44 +0200	[thread overview]
Message-ID: <0F0E6DC8-D7B8-4EF9-BD47-8AAC124E3665@exactcode.de> (raw)
In-Reply-To: <s5ho9vpmygb.wl-tiwai@suse.de>

Hi,

On Apr 21, 2017, at 20:01, Takashi Iwai <tiwai@suse.de> wrote:

> On Fri, 21 Apr 2017 19:22:16 +0200,
> René Rebe wrote:
>> 
>> On Apr 21, 2017, at 18:37, René Rebe <rene@exactcode.de> wrote:
>> 
>>> Hello again,
>>> 
>>> so I checked the MacBook schematics and it looks like the optical input should be directly connected to pin 47 (GPIO3/SPDIFIN)
>>> 
>>> Maybe EAPD get’s accidentally / wrongly enabled? - Maybe someone can point me how to double check this in ALSA?
>> 
>> I the meantime I finally figured out how this debug verb setting should work via:
>> 
>> # hda-verb /dev/snd/hwC0D0 0x14 0x70C 0
>> nid = 0x14, verb = 0x70c, param = 0x0
>> value = 0x0
>> # hda-verb /dev/snd/hwC0D0 0x15 0x70C 0
>> nid = 0x15, verb = 0x70c, param = 0x0
>> value = 0x0
>> 
>> which made no difference either, and the ALC889 spec reads “when pin
>> widget  SPDIF-IN is not connected via the programming configuration
>> register.”
>> 
>> Could that be a missing bit?
>> 
>> Any pointer or verbs I should poke welcome :-/
> 
> Well, from the codec POV, the SPDIF in is straightly connected from
> the pin to the audio in widget, so there should be no special thing
> there.  The possibly missing setup is the vendor-specific things, and
> Apple has been implementing the stuff always in a wild manner,
> e.g. doing via VREF, GPIO or whatever.

Did you check anything in this proc file codec setup I posted?

As far as I can see on schematics for the MacBook (e.g.. google returned
a APPLE_M42C_FA522_Macbook.pdf) the optical module RX output
seems to be “directly" attached to the codec’s spdif-in pin.

Yet on both, the MacBook as well on the MacBook Pro
I found no way to get any digital input captured. The same setup
works when booted in macOS, as well as when I plug
in my digital audio source into my aging maudio delta 1010,
with Linux, which, however, I do not want to continuously use for
this setup, …

It’s a pity, I don’t think there are so many other laptops with
optical input :-/

	René

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
 http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de

  reply	other threads:[~2017-04-21 20:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 22:02 HDA Intel ALC889A optical spdif input on MacBooks René Rebe
2017-04-21 16:37 ` HDA Intel ALC889A optical optical spdif in René Rebe
2017-04-21 17:22   ` René Rebe
2017-04-21 18:01     ` Takashi Iwai
2017-04-21 20:29       ` René Rebe [this message]
2017-04-21 22:04         ` René Rebe
2017-05-21 13:00           ` René Rebe
2017-05-21 14:33             ` PowerMac 11,2 topaz digital-in René Rebe
2017-05-22  6:15               ` Johannes Berg
2017-05-22  8:12                 ` René Rebe
2017-05-22  8:15                   ` Johannes Berg

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=0F0E6DC8-D7B8-4EF9-BD47-8AAC124E3665@exactcode.de \
    --to=rene@exactcode.de \
    --cc=alsa-devel@alsa-project.org \
    --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.