https://bugs.freedesktop.org/show_bug.cgi?id=101931

--- Comment #21 from mohammed imran <[email protected]> ---
(In reply to mohammed imran from comment #20)
> (In reply to Tanu Kaskinen from comment #18)
> > I'm very confused by comment #14. 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.
> 
> 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
> >   amixer -c1 cget "$line"
> > done <<< $(amixer -c1 controls | grep Jack)
> 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:~$

Test - with Pin set -  without anything plugged in 
immu@immu-Alienware-14:~$ while read -r line; do
>   amixer -c1 cget "$line"
> done <<< $(amixer -c1 controls | grep Jack)
numid=20,iface=CARD,name='Headphone Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=21,iface=CARD,name='Headphone Jack',index=1
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=18,iface=CARD,name='Internal Mic Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=19,iface=CARD,name='Line Out Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=17,iface=CARD,name='Mic Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=22,iface=CARD,name='Speaker Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to