<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Alienware14 lower range sound output until pin 0x1a is set for a full deeper stereo sound output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101931#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Alienware14 lower range sound output until pin 0x1a is set for a full deeper stereo sound output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101931">bug 101931</a>
              from <span class="vcard"><a class="email" href="mailto:imranmohd72@hotmail.com" title="mohammed imran <imranmohd72@hotmail.com>"> <span class="fn">mohammed imran</span></a>
</span></b>
        <pre>(In reply to Tanu Kaskinen from <a href="show_bug.cgi?id=101931#c18">comment #18</a>)
<span class="quote">> I'm very confused by <a href="show_bug.cgi?id=101931#c14">comment #14</a>. You seem to be contradicting yourself, but
> that's probably just me misinterpreting what you say.

> Please be careful with the terms. A "headphone" means a device with no mic,
> a "headset" means a device with headphones and a microphone. If you mix
> these up, it's impossible for me to understand what is really happening.

> From the discussion so far, I understand that you have at least a headset,
> do you also have plain headphones available for testing? What about a
> separate microphone, do you have that?

> I'd like you to run a little script four times before and after setting the
> pin in hdajackretask:
>  - without anything plugged in
>  - headphones plugged in to the headphone jack (if you don't have
> headphones, use the headset instead, and note that in a comment)
>  - headset plugged in to the headset jack
>  - microphone plugged in to the microphone jack (if you don't have a
> microphone, use the headset instead, and note that in a comment)

> Here's the script:

> pactl list cards
> while read -r line; do
>   amixer -c1 cget "$line"
> done <<< $(amixer -c1 controls | grep Jack)

> That will first run "pactl list cards", which will show what pulseaudio
> thinks the port state is in each case. Then there's a loop that will print
> the status of each alsa mixer jack control.

> If you want, you can also report where you hear sound in each case, but if
> you do that, please note in each case what this command prints:

> pactl list | grep 'Active Port'

> I'm sorry I'm asking you to do so many tests, but there are multiple
> problems and many different states that the system can be in, so it takes
> some effort to get a clear picture about what happens when you do this or
> that.</span >

Test - without Pin set -  without anything plugged in 


immu@immu-Alienware-14:~$ pactl list cards
Card #0
        Name: alsa_card.pci-0000_00_03.0
        Driver: module-alsa-card.c
        Owner Module: 6
        Properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel HDMI"
                alsa.long_card_name = "HDA Intel HDMI at 0xd2710000 irq 31"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:03.0"
                sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "0c0c"
                device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor
HD Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1,
sources: 0, priority: 5400, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output
(sinks: 1, sources: 0, priority: 300, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output
(sinks: 1, sources: 0, priority: 300, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output
(sinks: 1, sources: 0, priority: 5200, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2)
Output (sinks: 1, sources: 0, priority: 100, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2)
Output (sinks: 1, sources: 0, priority: 100, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output
(sinks: 1, sources: 0, priority: 5200, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3)
Output (sinks: 1, sources: 0, priority: 100, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3)
Output (sinks: 1, sources: 0, priority: 100, available: no)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: off
        Ports:
                hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency
offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo,
output:hdmi-surround, output:hdmi-surround71
                hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency
offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra1,
output:hdmi-surround-extra1, output:hdmi-surround71-extra1
                hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency
offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra2,
output:hdmi-surround-extra2, output:hdmi-surround71-extra2

Card #1
        Name: alsa_card.pci-0000_00_1b.0
        Driver: module-alsa-card.c
        Owner Module: 7
        Properties:
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xd2714000 irq 29"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "8c20"
                device.product.name = "8 Series/C220 Series Chipset High
Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "1"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1,
priority: 60, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources:
0, priority: 6000, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex
(sinks: 1, sources: 1, priority: 6060, available: yes)
                output:analog-surround-40: Analog Surround 4.0 Output (sinks:
1, sources: 0, priority: 700, available: yes)
                output:analog-surround-40+input:analog-stereo: Analog Surround
4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760,
available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: output:analog-stereo+input:analog-stereo
        Ports:
                analog-input-internal-mic: Internal Microphone (priority: 8900,
latency offset: 0 usec)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo,
output:analog-stereo+input:analog-stereo,
output:analog-surround-40+input:analog-stereo
                analog-input-mic: Microphone (priority: 8700, latency offset: 0
usec, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo,
output:analog-stereo+input:analog-stereo,
output:analog-surround-40+input:analog-stereo
                analog-output-speaker: Speakers (priority: 10000, latency
offset: 0 usec)
                        Properties:
                                device.icon_name = "audio-speakers"
                        Part of profile(s): output:analog-stereo,
output:analog-stereo+input:analog-stereo, output:analog-surround-40,
output:analog-surround-40+input:analog-stereo
                analog-output-headphones: Headphones (priority: 9000, latency
offset: 0 usec)
                        Properties:
                                device.icon_name = "audio-headphones"
                        Part of profile(s): output:analog-stereo,
output:analog-stereo+input:analog-stereo
immu@immu-Alienware-14:~$ while read -r line; do
<span class="quote">>   amixer -c1 cget "$line"
> done <<< $(amixer -c1 controls | grep Jack)</span >
numid=43,iface=CARD,name='Headphone Front Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=44,iface=CARD,name='Headphone Surround Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=42,iface=CARD,name='Internal Mic Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=41,iface=CARD,name='Mic Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=45,iface=CARD,name='Speaker Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
immu@immu-Alienware-14:~$</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>