[alsa-devel] Hda-intel: AC_VERB_SET_PIN_WIDGET_CONTROL appears to do nothing for HDMI device

Takashi Iwai tiwai at suse.de
Thu Mar 13 08:19:02 CET 2008


At Wed, 12 Mar 2008 18:40:23 +0000,
Ben Firshman wrote:
> 
> 
> On 12 Mar 2008, at 18:20, Takashi Iwai wrote:
> 
> > At Sun, 9 Mar 2008 13:05:39 +0000,
> > Ben Firshman wrote:
> >>
> >> It appears that on boot, nothing gets set, but if I reload the module
> >> it works:
> >>
> >> ben at mythfrontend:~$ cat /proc/asound/card0/codec#1
> >> Codec: Generic 1095 SI1390 HDMI
> >> Address: 1
> >> Vendor Id: 0x10951390
> >> Subsystem Id: 0xffffffff
> >> Revision Id: 0x100000
> >> No Modem Function Group found
> >> Default PCM:
> >>     rates [0x0]:
> >>     bits [0x0]:
> >>     formats [0x0]:
> >> Default Amp-In caps: N/A
> >> Default Amp-Out caps: N/A
> >> GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
> >> Node 0x02 [Audio Output] wcaps 0x6211: Stereo Digital
> >>   Converter: stream=0, channel=0
> >>   Digital: Enabled Copyright GenLevel
> >>   Digital category: 0x0
> >>   PCM:
> >>     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
> >>     bits [0x1e]: 16 20 24 32
> >>     formats [0x5]: PCM AC3
> >> Node 0x03 [Pin Complex] wcaps 0x40738d: Stereo Digital Amp-Out
> >>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> >>   Amp-Out vals:  [0x00 0x00]
> >>   Pincap 0x0894: OUT Detect R/L
> >>   Pin Default 0x98460010: [Fixed] SPDIF Out at Int HDMI
> >>     Conn = Digital, Color = Unknown
> >>     DefAssociation = 0x1, Sequence = 0x0
> >>   Pin-ctls: 0x40: OUT
> >>   Unsolicited: tag=00, enabled=0
> >>   Connection: 1
> >>      0x02
> >> ben at mythfrontend:~$
> >>
> >> The unmuting looks like it's working too (Amp-Out vals:  [0x00  
> >> 0x00]).
> >> I'm still not getting any sound though - my amp just says
> >> "Detecting...".
> >>
> >> Is the GPIO line significant? As far as I can tell from the docs,  
> >> that
> >> just means there are no GPIOs.
> >
> > I don't think it's GPIO.  Which graphic chip is on AppleTV?
> > if it's Nvidia, we have little chance.  But, if it's an Intel
> > on-board, it might work.  Some people reported HDMI works in a certain
> > level (not perfectly at all though).
> >
> > Anyway, you can try my latest tree available at git.kernel.org
> >   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound- 
> > unstable-2.6.git
> > and
> >   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver- 
> > build-unstable.git
> >
> > The former is the kernel tree and the latter is alsa-driver build
> > tree.  Run utils/setup-alsa-kernel KERNEL_DIR on alsa-driver tree to
> > set up the build with sound-unstable kernel git tree (see INSTALL for
> > details).
> >
> > The ready-to-be-built snapshot tarball is available at
> >   http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/
> >
> 
> Yeah, it's a Nvidia chip:
> 
> http://wiki.awkwardtv.org/wiki/Parts
> 
> Why do you have little chance then? Surely the Nvidia chip is  
> independent of the HDMI chip, which is in turn independent of the  
> sound card?

The HDMI audio output depends on the video driver in many cases
actually because of its nature.  But, this isn't no certain fact for
all cases.  It might work in your case.  That's why I wrote "little"
chance, not "no" chance.  So, still it'd be worth to try my patchset.

(The "little" chance implies that you'll likely get no answer from
 Apple for your inquiry about the hardware details :)

Takashi


More information about the Alsa-devel mailing list