Bug 94800 - Automatically switch to HDMI profile when cable plugged in
Summary: Automatically switch to HDMI profile when cable plugged in
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on: 93946
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-02 15:46 UTC by quentin.denis
Modified: 2018-07-30 10:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description quentin.denis 2016-04-02 15:46:15 UTC
I currently have to switch manually each time I plug my HDMI cable. It's a cumbersome manual process that should happen automatically when HDMI cable is plugged in:
- When HDMI cable is plugged in -> switch to Digital Stereo (HDMI) output profile
- When unplugged, switch back to previous profile or to Analog Stereo Output

Note that I am talking about the _profiles_, on the _same_ audio card.
Comment 1 Tanu Kaskinen 2016-04-02 16:37:05 UTC
The fix for bug 93946 should fix this bug too. I'll mark this bug as depending on 93946 (there's no inherent dependency, but otherwise I probably won't remember to mark this bug fixed when the other bug gets marked as fixed).
Comment 2 Raymond 2016-04-03 07:08:55 UTC
http://www.intel.com/support/motherboards/desktop/wizards/NUC_multi-display/

What will happen when user connect two or three hdmi?
Comment 3 quentin.denis 2016-04-03 09:18:57 UTC
I noticed that pavucontrol recognizes that a hdmi cable is plugged in and appends that information to the profile line in the GUI. Based on that already recognized event, the system should just switch the profile (and back to previous profile when unplugged).

Raymond, I do not have the case of more than one hmdi plugged in but wouldn't it be logical to switch to the profile managing the latest hmdi port plugged in?
Comment 4 Raymond 2016-04-03 12:07:44 UTC
when you have two or more display, they are most likely permanently connected,

those display ports are daisy chained
Comment 5 Raymond 2016-04-03 14:50:00 UTC
(In reply to quentin.denis from comment #0)
> I currently have to switch manually each time I plug my HDMI cable. It's a
> cumbersome manual process that should happen automatically when HDMI cable
> is plugged in:
> - When HDMI cable is plugged in -> switch to Digital Stereo (HDMI) output
> profile
> - When unplugged, switch back to previous profile or to Analog Stereo Output
> 
> Note that I am talking about the _profiles_, on the _same_ audio card.

Those nuc only has headset, hdmi and display port. 

Do it mean it will switch back to analog even when headset is not plugged?
Comment 6 GitLab Migration User 2018-07-30 10:35:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/523.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.