<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rocketraman@gmail.com" title="Raman Gupta <rocketraman@gmail.com>"> <span class="fn">Raman Gupta</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Support toggling speaker and headphone port output, whilst keeping headphones plugged in"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68286">bug 68286</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Support toggling speaker and headphone port output, whilst keeping headphones plugged in"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68286#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Support toggling speaker and headphone port output, whilst keeping headphones plugged in"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68286">bug 68286</a>
              from <span class="vcard"><a class="email" href="mailto:rocketraman@gmail.com" title="Raman Gupta <rocketraman@gmail.com>"> <span class="fn">Raman Gupta</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=68286#c14">comment #14</a>)
<span class="quote">> If I understood correctly, you primarily would like to have an easy way to
> switch between the headphones and the speakers, and secondarily you would
> like to have an easy way to enable output to both at the same time. I may
> have a workaround for the first goal:

> Switching to headphones (two commands):

>     pactl set-card-profile alsa_card.pci-0000_00_1b.0
> output:analog-stereo+input:analog-stereo

>     pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo
> analog-output-headphones


> Switching to speakers (two commands):

>     pactl set-card-profile alsa_card.pci-0000_00_1b.0
> output:analog-surround-40+input:analog-stereo

>     pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-surround-40
> analog-output

> (In the last command the right port might also be "analog-output-speaker"
> instead of "analog-output", but I'm not sure if it really makes a difference
> anyway.)

> Does that work?</span >

Yes, it does work with analog-output-speaker in the second command!

I think I simply had the headphones and rear speakers plugged into the wrong
ports.

Thank you very much!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>