From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 32406] nouveau fails to send hotplug event to ALSA
hda hdmi audio
Date: Sat, 18 Dec 2010 09:23:23 -0800 (PST)
Message-ID: <20101218172323.C288413004E@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
https://bugs.freedesktop.org/show_bug.cgi?id=32406
--- Comment #6 from James 2010-12-18 09:23:23 PST ---
I have found the problem.
nouveau tries to send the eld info in
nv50_audio_mode_set()
Unfortunately, this is sent before the audio driver is loaded.
It is then resent later.
If the ALSA audio driver is forced to try and read the eld data 3 times instead
of just once, the eld data finally reaches the ALSA audio driver, and sound
then works.
So, I now have a valid work around.
Some further investigation is needed to discover why the sending of eld data is
so unreliable, requiring it to be sent multiple times.
Maybe some co-ordination between the nouveau driver and ALSA is required to
ensure good delivery of the eld data, so that it is valid before setting the
eld_valid GPIO.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.