input devices found, but there is no input level

Bug #1395501 reported by Pål F. Kristiansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

My input devices is found, but no not working. Get no input level from the devices.
They are not muted!

pavucontrol > Input Devices > no input level from any of my input devices!
System settings > Sound > Input > no input level from any of my input devices!

My computer is a Dell XPS 15 9530.
Ubuntu 14.04
Kernel release: 3.13.0-39-generic.

ARECORD
**** List of CAPTURE Hardware Devices ****
card 1: G4ME1 [Sennheiser 3D G4ME1], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC668 Analog [ALC668 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

"wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh" gives:
http://www.alsa-project.org/db/?f=916914afd5195a1d4ed40f3f38fa0d37285d1039

Screenshot from alsamixer, pavucontrol and sound control menu.
https://mrkr.io/pemHMWlKHR

Teamspeak works fine, if I select recording device in pavucontrol for teamspeak.
https://mrkr.io/5D0ZUSVyLC
https://mrkr.io/T6nQX77HAD

Testing in skype, no input is registered!
https://mrkr.io/xMbrev28bR
https://mrkr.io/zqu6AFVjld

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

My problem is that PulseAudio don't register input level from some of my input devices.
When I speak in my mic the input level in PulseAudio don't show any reaction!
They are not muted and volume is near 100%.

- These mic devices don't work:
Built-in mic give no input level (internal speakers output works fine).
External mic give no input level (external headseth output works fine).
USB Sennheiser 3D G4ME1 + Sennheiser PC 363D mic give no input level (headseth output works fine).

- These mic devices works fine:
USB Jabra Speak 510 mic gives input level (output also works fine).
USB Plantronics C720 mic gives input level (output also works fine).

screenshot from pulseaudio with all devices connected.
https://mrkr.io/hjiWRA3s22

My ALSA information with all devices connected is located at http://www.alsa-project.org/db/?f=9856ae46d26335a79b201bd3384c3088ea375fe4

Revision history for this message
Raymond (superquad-vortex2) wrote :

seem only three pin complex

you have to use hda jack sense test to find out the missing mic jack

sys/class/sound/hwC2D0/init_pin_configs:
0x12 0x90a60130
0x14 0x90170110
0x15 0x0321101f
0x16 0x40000000
0x18 0x411111f0
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40d6832d
0x1e 0x411111f0
0x1f 0x411111f0

Revision history for this message
Raymond (superquad-vortex2) wrote :

post system log

serm you have an oops

088789] Modules linked in: xt_conntrack ipt_REJECT pci_stub vboxpci(OX) vboxnetadp(OX) vboxnetflt(OX) vboxdrv(OX) ip6table_filter ip6_tables ebtable_nat ebtables bbswitch(OX) xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables autofs4 snd_hda_codec_hdmi snd_hda_codec_realtek hid_generic hid_multitouch uvcvideo videobuf2_vmalloc hid_logitech_dj videobuf2_memops videobuf2_core videodev snd_usb_audio usbhid snd_usbmidi_lib hid btusb arc4 pn544_mei mei_phy pn544 hci nfc joydev x86_pkg_temp_thermal dell_wmi sparse_keymap mxm_wmi intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul iwlmvm crc32_pclmul ghash_clmulni_intel mac80211 dell_laptop dcdbas aesni_intel bnep aes_x86_64 rfcomm lrw gf128mul glue_helper bluetooth ablk_helper cryptd iwlwifi rtsx_pci_ms serio_raw memstick cfg80211 lpc_ich nfsd snd_hda_intel snd_hda_codec auth_rpcgss nfs_acl snd_hwdep snd_pcm nfs lockd snd_page_alloc binfmt_misc snd_seq_midi sunrpc snd_seq_midi_event i915 snd_rawmidi snd_seq fscache snd_seq_device snd_timer drm_kms_helper drm snd soundcore i2c_algo_bit wmi intel_smartconnect mei_me video mei mac_hid nls_iso8859_1 ppdev lp parport rtsx_pci_sdmmc ahci psmouse libahci rtsx_pci [last unloaded: vmnet]
[ 7.088864] CPU: 7 PID: 190 Comm: kworker/u16:6 Tainted: P OX 3.13.0-39-generic #66-Ubuntu

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Raymond (superquad-vortex2) wrote :

no mic jack

only intermal mic, headphone and speaker

control.10 {
  iface CARD
  name 'Mic Phantom Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.11 {
  iface CARD
  name 'Headphone Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.12 {
  iface CARD
  name 'Speaker Phantom Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

Revision history for this message
Raymond (superquad-vortex2) wrote :

Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Control: name="Mic Phantom Jack", index=0, device=0
  Pincap 0x00000020: IN
  Pin Default 0x90a60130: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0

Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC668 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals: [0x39 0x39]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x12

did you record in stereo or mono?

no signal recorded if the left and right are inverted phase if you record in mono

Revision history for this message
Raymond (superquad-vortex2) wrote :

Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Phantom Jack", index=0, device=0
  Amp-In caps: N/A
  Amp-In vals: [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0001003c: IN OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c 0x0d* 0x0e
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c* 0x0d 0x0e

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

Tanks for the replies, Raymond (superquad-vortex2), but what do you want me to do now?

Revision history for this message
Raymond (superquad-vortex2) wrote :

http://voices.canonical.com/david.henningsson/2014/03/07/headset-jacks-on-newer-laptops/

do you computer support headset, headphone and conventional mic?

try mute right channel or record in stereo to check the signal of left and right are inverted

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

The computer support on jack with headseth with mic on the same jack.

Recording is done in stereo channel, tried muting left and the right, input level is still not shown in pulseaudio.

$ grep -r Realtek /proc/asound/card*
/proc/asound/card1/codec#0:Codec: Realtek ALC668

"options snd-hda-intel model=,dell-headset-multi" in /etc/modprobe.d/alsa-base.conf do not help. Autoswitch when connecting headseth works fine without dell-headset-multi option.

Ran "ubuntu-bug audio" to debug mic and it do record, but Pulseaudio do not show any reaction on input level monitor!

Did a record in Ocenaudio with built-in mic, it do record, but Pulseaudio do not show any reaction on input level monitor! Same happens for my Senheiser USB soundcard + headseth with mic.

So it turns out the input devices do record, but input level monitor in pulseaudio do not show any signal! Why does this only happens for my builtin mic, external mic and senheiser usb soundcard + headseth with mic. Everything works fine for my plantronics usb headseth with mic and my jabra speaker with mic!

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

post the output of

pactl list source

check wthether the internal mic and headset mic are available

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

pactl list sources - without dell-headset-multi
http://pastebin.com/aWpG5Mg8

pactl list sources - with dell-headset-multi
http://pastebin.com/Jd4SWG4D

--------------------------

Screencast 2014 11 26 - without dell-headset-multi
https://www.youtube.com/watch?v=NX_oxkgpdaU

Screencast 2014 11 26 - with dell-headset-multi
https://www.youtube.com/watch?v=KwqKPixtwRQ

Revision history for this message
Raymond (superquad-vortex2) wrote :

refer to pa_backend.c

did you find headset mic jack or headset mic phantom jack in codec info using dell headset model?

In PulseAudio ports will show up with the following names:
   Headphones - analog-output-headphones
   Headset mic - analog-input-microphone-headset
   Jack in mic-in mode - analog-input-microphone

   However, since regular mics also show up as analog-input-microphone,
   we need to check for certain controls on alsa mixer level too, to know
   if we deal with a separate mic jack, or a multi-function jack with a
   mic-in mode (also called "headphone mic").
   We check for the following names:

   Headphone Mic Jack - indicates headphone and mic-in mode share the same jack,
     i e, not two separate jacks. Hardware cannot distinguish between a
     headphone and a mic.
   Headset Mic Phantom Jack - indicates headset jack where hardware can not
     distinguish between headphones and headsets
   Headset Mic Jack - indicates headset jack where hardware can distinguish
     between headphones and headsets. There is no use popping up a dialog in
     this case, unless we already need to do this for the mic-in mode.

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

When I have enabled "options snd-hda-intel model=,dell-headset-multi" in /etc/modprobe.d/alsa-base.conf I do get the popup for choosing "Headphones", "Headset" and "Microphone".

And in PA on Built-in Audio Analog Stereo I get:
- Internal Microphone
- Headset Microphone
- Microphone

Screenshot from PA Input Devices:
https://mrkr.io/N2MZ21wT9U

Screenshot from Alsamixer:
https://mrkr.io/vtsqxjlnNG

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

Still have problem with this.
What I don't understand is why this also happens with some of my external USB soundcards?

I also can't send audio to my audio receiver via HDMI. I can choose via HDMI, but audio receiver don't receive audio!

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

This problem is still not solved, I have no idea what to do next...

Here are some more info if it helps.

----------------------------------------

$ cat /proc/asound/cards ;
 0 [HDMI ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a1c000 irq 53
 1 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a18000 irq 52
 2 [N550 ]: USB-Audio - Logitech Speaker Lapdesk N550
                      Logitech, Inc. Logitech Speaker Lapdesk N550 at usb-0000:00:14.0-2, full speed
 3 [G4ME1 ]: USB-Audio - Sennheiser 3D G4ME1
                      Sennheiser Sennheiser 3D G4ME1 at usb-0000:00:14.0-1, full speed

----------------------------------------

$ sudo hdajacksensetest -a -c 1
Pin 0x12 (Internal Mic): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x15 (Black Headphone, Left side): present = No
Pin 0x16 (Not connected): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Pink Mic, Left side): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Black Mic, Left side): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x1f (Not connected): present = No

----------------------------------------

screenshot from HDAJackRetask: https://mrkr.io/YCtl1hILMJ

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

upgraded kernel to 3.16.0-30-generic.

Internal soundcard is now recognized as Realtek ALC3661, wich is correct.

$ grep -r Realtek /proc/asound/card*
/proc/asound/card1/codec#0:Codec: Realtek ALC3661

Still have problem with mic not working, happens to my internal mic, external mic and external usb-sound card.
The weird thing is that mic works fine if I boot PC from a Ubuntu 14.04.1 USB boot key.

Revision history for this message
Pål F. Kristiansen (paalfe) wrote :

This is now solved.

------ 1 ------
Headset jacks on newer laptops - http://voices.canonical.com/david.henningsson/2014/03/07/headset-jacks-on-newer-laptops/.

Solved by adding "options snd-hda-intel model=,dell-headset-multi" in "/etc/modprobe.d/alsa-base.conf".

------ 2 ------
Pulseaudio remixing was disabled.

I had disabled Pulseaudio remixing to avoid upmixing of stereo audio streams when using a multi-channel output (5.1 digital output).

Disabling Pulseaudio remixing gave problems when watching multi-channel movies in Totem or VLC and using stereo output. I only got audio from the front-left and front-right audio tracks, no audio from the center, back-left and back-right audio tracks.

I therefor re-enabled Pulseaudio and at the same time I noticed that all my mics suddenly worked fine again in Pulseadio!

Enable/disable Pulseaudio remixing is done in "/etc/pulse/daemon.conf", look for "enable-remixing". It is enabled by default!

---------------
So this was not a bug, it was configuration problems caused by myself!

Revision history for this message
Paul White (paulw2u) wrote :

Further to comment #18, closing as "Invalid" due to changes made by user.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.