PantherPoint HDMI - jack detection broken after suspend
Bug #1075882 reported by
David Henningsson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
David Henningsson | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
We're seeing trouble with unsol events, i e detecting monitor
presence, especially when on battery and/or after suspend/resume.
This is a tracking bug, please do not triage.
Related branches
Changed in linux (Ubuntu): | |
assignee: | nobody → David Henningsson (diwic) |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
On some of the PantherPoint HDMI machines we currently enable, we're seeing
trouble with unsol events, i e detecting monitor presence, especially when
on battery and after suspend/resume.
BugLink: https:/ /bugs.launchpad .net/bugs/ 1075882 pci/hda/ patch_hdmi. c | 8 ++++++--
Tested-by: Cyrus Lien <email address hidden>
Signed-off-by: David Henningsson <email address hidden>
---
sound/
1 file changed, 6 insertions(+), 2 deletions(-)
So far this is the workaround we have found to be working. Sometimes, it also cardx/codec# x" can also make the HDMI unsol event
seems that "cat /proc/asound/
trigger, so that the problem fixes itself.
We have not run any battery life tests to see if this causes more power consumption.
diff --git a/sound/ pci/hda/ patch_hdmi. c b/sound/ pci/hda/ patch_hdmi. c pci/hda/ patch_hdmi. c pci/hda/ patch_hdmi. c codec(struct hda_codec *codec)
index 39ca100..3155267 100644
--- a/sound/
+++ b/sound/
@@ -1288,13 +1288,17 @@ static int hdmi_parse_
}
}
+#ifdef CONFIG_PM bus->power_ keep_link_ on = 1; hda_param_ read(codec, codec->afg, AC_PAR_POWER_STATE) & hda_param_ read(codec, codec->afg, AC_PAR_POWER_STATE) &
AC_PWRST_ EPSS)) >bus->power_ keep_link_ on = 1;
+ /* We're seeing some problems with unsolicited hot plug events on
+ * PantherPoint after S3, if this is not enabled */
+ if (codec->vendor_id == 0x80862806)
+ codec->
/*
* G45/IbexPeak don't support EPSS: the unsolicited pin hot plug event
* can be lost and presence sense verb will become inaccurate if the
* HDA link is powered off at hot plug or hw initialization time.
*/
-#ifdef CONFIG_PM
- if (!(snd_
+ else if (!(snd_
codec-
#endif
--
1.7.9.5