[alsa-devel] Acer Ferrari 5000

Russ Dill russ.dill at gmail.com
Mon Mar 23 23:28:57 CET 2009


On Mon, Mar 23, 2009 at 2:57 PM, Takashi Iwai <tiwai at suse.de> wrote:
> At Mon, 23 Mar 2009 10:45:52 -0700,
> Russ Dill wrote:
>>
>> On Mon, 2009-03-23 at 18:07 +0100, Takashi Iwai wrote:
>> > At Mon, 23 Mar 2009 09:40:46 -0700,
>> > Russ Dill wrote:
>> > >
>> > > On Mon, Mar 23, 2009 at 9:36 AM, Takashi Iwai <tiwai at suse.de> wrote:
>> > > > At Mon, 23 Mar 2009 09:27:24 -0700,
>> > > > Russ Dill wrote:
>> > > >>
>> > > >> I'm testing with the acer-aspire quirk set, and things seem to be
>> > > >> working rather well. The headphone plug/unplug detection and speaker
>> > > >> muting actually work :) However, I'm still not getting HDMI audio
>> > > >> working. I'm not that familiar with IEC958, how should I have the
>> > > >> switches set? I currently have both IEC958 and IEC958 Default PCM on.
>> > > >> I've tried with mplayer -ao alsa:device=iec958 <mp3 file>
>> > > >
>> > > > Basically it should be OK.  I guess it's rather an issue of the video
>> > > > driver side.  If the video driver doesn't support HDMI audio output,
>> > > > it doesn't work, of course.
>> > > >
>> > >
>> > > [ Working on testing patch... ]
>> > >
>> > > The audio does work over HDMI though, Vista has better support for
>> > > connecting to HDTV and getting the video modes right, so I was
>> > > watching a DVD. Out of curiosity, I checked a box in the audio
>> > > configuration for digital output, and sound started coming out of the
>> > > TV.
>> >
>> > Do you mean it working on Linux?  When "IEC958 Default PCM" is set
>> > to on, the analog PCM outputs are also routed to the digital output
>> > automatically.  So you should be hearing the sound played via aplay.
>>
>> No such luck. Enabling it and playing audio (that comes out on the
>> speakers) does not cause an audio signal to be sent on the HDMI cable.
>
> OK, then it could be rather the video-driver side problem.
> Typically, there must be a register control to enable/disable the HDMI
> audio in the video controller.

I'm checking with the xorg ati list to see if they have any info. Next
time I have my laptop open I'll check for info on the HDMI/DVI encoder
chip.

>> > The "iec958" PCM device is for the exclusive digital output, mainly
>> > for the raw digital stream like AC3.  If it's being used with the
>> > analog streams at the same time, you won't be able to open it.
>>
>> On the Vista side, it refers to the digital output both as S/PDIF
>> digital output and "Real Panel Optical Jack". It is definitely part of
>> the realtek high def audio driver. The realtek config app gives a choice
>> for default audio output; speakers or digital.
>
> In ALC883 codec, there is actually a digital I/O and snd-hda-intel
> enabled it.  However, how the rest is handled (i.e. SPDIF or HDMI)
> is out of the scope of the audio codec.
>
>> > BTW, I found why model=auto doesn't work well on your machine.
>> > It's because (again) of BIOS.  It doesn't set the codec SSID properly
>> > so the driver doesn't accept the HP auto-toggle and other features.
>> >
>> > So, in your case, using model=acer-aspire would be likely the best
>> > choice (supposing it matches with most functionality).  If you have no
>> > problem (at least regressions) with this model, I'll add the entry to
>> > point to model=acer-aspire
>>
>> Add Acer Ferrar 5000 Quirk to Intel HDA driver
>
> Thanks, a similar fix was already merged now.

It all works for a while, but eventually I'll get a "azx_get_response
timeout, switching to polling mode: last cmd=0x10bb2001" and it no
longer responds to headphone plug events without an unload/reload of
the module.


More information about the Alsa-devel mailing list