Ubuntu

[Dell Studio 1558] Driver advertises extra internal Microphone Input which does not work

Reported by Joshua Rubin on 2011-03-09
76
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
David Henningsson

Bug Description

Binary package hint: pulseaudio

Using alsamixer, I can select "Input Mic 1" on my Intel sound card (snd_hda_intel) using alsamixer, but pulse does not see it. Pulse does see "Analog Microphone" (selects alsa "Mic"), "Internal Microphone" (selects alsa "Internal Mic") and "Analog Line-In" (selects alsa "Internal Mic" as well). As none of these are alsa "Input Mic 1", I can't get the microphone to record without going to alsamixer.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pulseaudio 1:0.9.22+stable-queue-24-g67d18-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jrubin 1997 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0a00000 irq 44'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:111d7675,10280413,00100103 HDA:80862804,80860101,00100000'
   Controls : 25
   Simple ctrls : 15
Date: Tue Mar 8 17:47:54 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to natty on 2011-03-06 (2 days ago)
dmi.bios.date: 06/24/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0G939P
dmi.board.vendor: Dell Inc.
dmi.board.version: A07
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A07
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd06/24/2010:svnDellInc.:pnStudio1558:pvrA07:rvnDellInc.:rn0G939P:rvrA07:cvnDellInc.:ct8:cvrA07:
dmi.product.name: Studio 1558
dmi.product.version: A07
dmi.sys.vendor: Dell Inc.

Joshua Rubin (rubixconsulting) wrote :
David Henningsson (diwic) wrote :

Hi Joshua, could you elaborate a little on what inputs you actually have? According to BIOS, you have two internal mics and one external mic jack. According to http://www.dell.com/us/p/studio-1558/pd this machine has one mic jack and one line-in jack.

Could you explain what physical inputs connect to 'Internal Mic', 'Mic' and 'Internal Mic 1' at the alsa level?

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Joshua Rubin (rubixconsulting) wrote :

David,

I do have three mic inputs. One on the top of the monitor, one below the touchpad and one 1/4" input. The only mic that I have ever confirmed works is the one above the monitor.

Alsamixer shows two tunables, "Input Mixer" and "Input Mixer 1". Each of those items have the following values to choose from:
* Internal Mic (below touchpad, never seen work)
* Mic (never tested)
* Internal Mic 1 (above monitor)

Pulse shows the following values (which map to the values in parens in alsamixer on the "Input Mixer"):
* Analog Microphone (alsa => Mic)
* Internal Microphone (alsa => Internal Mic)
* Analog Line-In (alsa => Internal Mic)

Pulse does not change the second alsamixer "Input Mixer 1".

Switching between "Internal Microphone" and "Analog Line-In" does change some mixer levels, but not the alsa input.

Since there is no way for me to switch to "Internal Mic 1" via pulse, it makes it seem that I have no working mics.

Let me know how else I can help.

Thanks,
Joshua

Hmm, could you try this: https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules - I know there has been a rewrite of the internal mic handling lately, perhaps that would help?
Unfortunately those changes won't reach natty, so an option could be to try to disable 'Internal Mic' in the hope that it would turn what is now 'Internal Mic 1' into 'Internal Mic'.

summary: - Not Able to Select Correct Microphone Input
+ [Dell Studio 1558] Not Able to Select Correct Microphone Input "Internal
+ Mic 1"
Joshua Rubin (rubixconsulting) wrote :

David,
That PPA does not have natty packages so I can't try it. Do you have any other suggestions?
Thanks,
Joshua

David Henningsson (diwic) wrote :

> That PPA does not have natty packages so I can't try it.

Ah, sorry. And the DKMS stuff isn't really ready either so let's skip this idea for now.

> Do you have any other suggestions?

Well, the best thing I guess would be if we actually get the first internal mic working. Could you try
1) installing snd-hda-tools from ppa:diwic/ppa (I'll upload a natty version of that package later today)
2) Make sure "internal mic" is selected in alsamixer (not "Internal Mic 1")
2) run "sudo hda_analyzer"
3) go to node 0x0b
4) make sure Input amps are turned up, and experiment with different values of "VREF" and see if that helps.

Raymond (superquad-vortex2) wrote :

according to 92HD73C datasheet

1.4.11. Multi-channel capture
        The capability to assign multiple ADC “Input Converters” to the same stream is supported to meet
        the microphone array requirements of Vista and future operating systems.

Joshua Rubin (rubixconsulting) wrote :

David,

I have the following VREF options, none of them got the mic working:
* HIZ
* 50
* GND
* 80
* 100 (when I select this, it reverts to HIZ)

I do have two alsa inputs "Input Source" and "Input Source 1". The working mic ("Internal Mic 1") does not work if I set that as the source on "Input Source 1", in fact, nothing works on "Input Source 1". The only working combination I can get is "Internal Mic 1" on "Input Source".

Do you have any other ideas?

Thanks,
Joshua

David Henningsson (diwic) wrote :

We could try disabling the mic that is not working, although that would feel a little like partial failure, it would still be better than current state.

To try this, first make sure no audio applications are running, including pulseaudio:

echo autospawn = no >> ~/.pulse/client.conf
killall pulseaudio

Here are the commands to perform the change:
sudo -s
echo 0x0b 0x4f0000f0 > /sys/class/sound/hwC0D0/user_pin_configs
echo 1 > /sys/class/sound/hwC0D0/reconfig

to restart pulseaudio afterwards, delete ~/.pulse/client.conf - then start your recording program and retry.

As for 'Input Source 1' btw, that's connected to a separate ADC input channel that's not usually used.

Joshua Rubin (rubixconsulting) wrote :

David,

Thanks for the help. After doing that, I have the following results after setting pulse input connnector to:
Analog Microphone -> 100 volume on alsa "Mic", 0 volume on "Internal Mic" (the mic still pics up some sound at a low level though)
Internal Microphone -> 100 volume on alsa "Internal Mic", 0 volume on "Mic". Working as hoped.
Analog Line-In -> 0 volume on alsa "Internal Mic", 0 volume on "Mic". Untested otherwise.

How do I make this change permanent? I assume it resets on restart?

Thanks again,
Joshua

David Henningsson (diwic) wrote :

See http://www.kernel.org/pub/linux/kernel/people/tiwai/docs/HD-Audio.html#_early_patching for how to create a configuration file, i think it should look like this:

[codec]
0x111d7675 0x10280413 0

[pincfg]
0x0b 0x4f0000f0

Tao Huang (greatht) wrote :

Any progress on this bug?

I just upgraded to Natty last weekend and find that my internal microphone(the little one beside the camera) doesn't work anymore.

It used to be working under Maverick, and currently I can only enable it through alsamixer. It is quite annoying. :(

Rodrigo Primo (rodrigosprimo) wrote :

Hi,

I guess I have the same issue. I also have a Dell Studio 1558 and the internal microphone (the one beside the camera) stopped working after I upgraded to Natty.

I never had problems with the internal microphone before on Maverick or previous versions.

How to enable it through alsamixer?

Let me know if there is anything I can do to help.

Thanks

Tao Huang (greatht) wrote :

Hi Rodrigo,

Following these steps to enable your internal microphone:
1. start alsamixer in a terminal
2. Hit "tab" or "F4" to switch to capture configuration
3. Hit right arrow key 3 times to select "<Input Source>"
4. Hit Up/Down arrow key several times to select "Input Source [Internal Mic 1]" as your current input source.

This is just a temporary solution and you will have to do this gain once you reboot your machine :(
We will have to wait till ubuntu engineers solve this bug. Hopefully soon.

Frank Sullivan (sullivan-math) wrote :

Many Thanks to Tao Huang for "solving" the internal mike compatibility with Skype under Ubuntu 11.04. I have been
fiddling for several days with various attempts (alsamixer, pulseaudio, Sound Preferences, etc.) , but the simple and clear explanation provided for Rodrigo also worked on my Dell Laptop. As often happens, it seems easy and logical once someone explains the steps, but without that help it's even easier to stumble around in the dark.

userdce (userdce) wrote :

Please somebody look into this bug.

Mariano (noinflection) wrote :

Having same problem over here (ubuntu studio 1558)

saulo (saulo-venancio-gmail) wrote :

SAME PROBLEM HERE

David Henningsson (diwic) wrote :

After having done some more research about it - and having access to an actual machine - it seems the easiest way to solve this bug would be to edit /etc/modprobe.d/alsa-base.conf and adding the line:

options snd-hda-intel model=dell-m6-dmic

Then reboot. That will remove one internal mic and leave the correct one still there.
For reference, this was used on PCI SSID 1028:0413.

David Henningsson (diwic) wrote :

I'm currently travelling but I'll send a patch to upstream some time next week hopefully.

Changed in pulseaudio (Ubuntu):
assignee: nobody → David Henningsson (diwic)
status: Incomplete → In Progress
summary: - [Dell Studio 1558] Not Able to Select Correct Microphone Input "Internal
- Mic 1"
+ [Dell Studio 1558] Driver advertises extra internal Microphone Input
+ which does not work
David Henningsson (diwic) wrote :

For the record, I tried what I could to get the "extra" mic working but couldn't - probably there is no mic in the hole, and if there is, we don't know how to enable it, so the resolution is to disable the mic - that isn't even advertised by BIOS but by the driver. (!)

affects: pulseaudio (Ubuntu) → linux (Ubuntu)
David Henningsson (diwic) wrote :

Upstream accepted patch, it'll reach Natty some time later on.

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Wesley Velroij (velroy1) wrote :

So the fix will be in the updates soon? I yesterday installed Kubuntu 11.04 after solving my freezing issue, but then i also discovered this bug. If i add that line what you said will it be fixed to then?

David Henningsson (diwic) wrote :

@Wesley, if you want it in -updates soon, please follow instructions here: https://wiki.ubuntu.com/KernelTeam/KernelUpdates
Otherwise see comment #19 which should be a relatively quick and simple workaround.

Herton R. Krzesinski (herton) wrote :

The commit for this issue came in via a stable upstream release. As such it is not subject to the standard bug verification process.

tags: added: verification-done-natty
userdce (userdce) wrote :

options snd-hda-intel model=auto
worked for me

Launchpad Janitor (janitor) wrote :
Download full text (13.4 KiB)

This bug was fixed in the package linux - 2.6.38-11.48

---------------
linux (2.6.38-11.48) natty-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
    - LP: #818175

  [ Upstream Kernel Changes ]

  * Revert "HID: magicmouse: ignore 'ivalid report id' while switching
    modes"
    - LP: #814250

linux (2.6.38-11.47) natty-proposed; urgency=low

  [Steve Conklin]

  * Release Tracking Bug
    - LP: #811180

  [ Keng-Yu Lin ]

  * SAUCE: Revert: "dell-laptop: Toggle the unsupported hardware
    killswitch"
    - LP: #775281

  [ Ming Lei ]

  * SAUCE: fix yama_ptracer_del lockdep warning
    - LP: #791019

  [ Stefan Bader ]

  * SAUCE: Re-enable RODATA for i386 virtual
    - LP: #809838

  [ Tim Gardner ]

  * [Config] Add grub-efi as a recommended bootloader for server and
    generic
    - LP: #800910
  * SAUCE: rtl8192se: Force a build for a 2.6/3.0 kernel
    - LP: #805494

  [ Upstream Kernel Changes ]

  * Revert "bridge: Forward reserved group addresses if !STP"
    - LP: #793702
  * Fix up ABI directory
  * bonding: Incorrect TX queue offset, CVE-2011-1581
    - LP: #792312
    - CVE-2011-1581
  * fs/partitions/efi.c: corrupted GUID partition tables can cause kernel
    oops
    - LP: #795418
    - CVE-2011-1577
  * usbnet/cdc_ncm: add missing .reset_resume hook
    - LP: #793892
  * ath5k: Disable fast channel switching by default
    - LP: #767192
  * mm: vmscan: correctly check if reclaimer should schedule during
    shrink_slab
    - LP: #755066
  * mm: vmscan: correct use of pgdat_balanced in sleeping_prematurely
    - LP: #755066
  * ALSA: hda - Use LPIB for ATI/AMD chipsets as default
    - LP: #741825
  * ALSA: hda - Enable snoop bit for AMD controllers
    - LP: #741825
  * ALSA: hda - Enable sync_write workaround for AMD generically
    - LP: #741825
  * cpuidle: menu: fixed wrapping timers at 4.294 seconds
    - LP: #774947
  * drm/i915: Fix gen6 (SNB) missed BLT ring interrupts.
    - LP: #761065
  * USB: ehci: remove structure packing from ehci_def
    - LP: #791552
  * drm/i915: disable PCH ports if needed when disabling a CRTC
    - LP: #791752
  * kmemleak: Do not return a pointer to an object that kmemleak did not
    get
    - LP: #793702
  * kmemleak: Initialise kmemleak after debug_objects_mem_init()
    - LP: #793702
  * Fix _OSC UUID in pcc-cpufreq
    - LP: #793702
  * CPU hotplug, re-create sysfs directory and symlinks
    - LP: #793702
  * Fix memory leak in cpufreq_stat
    - LP: #793702
  * net: recvmmsg: Strip MSG_WAITFORONE when calling recvmsg
    - LP: #793702
  * ftrace: Only update the function code on write to filter files
    - LP: #793702
  * qla2xxx: Fix hang during driver unload when vport is active.
    - LP: #793702
  * qla2xxx: Fix virtual port failing to login after chip reset.
    - LP: #793702
  * qla2xxx: Fix vport delete hang when logins are outstanding.
    - LP: #793702
  * powerpc/kdump64: Don't reference freed memory as pacas
    - LP: #793702
  * powerpc/kexec: Fix memory corruption from unallocated slaves
    - LP: #793702
  * x86, cpufeature: Fix cpuid leaf 7 feature detection
    - LP: #793702
  * ath9k_hw: do noise floor calibration only on required chain...

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Steve Conklin (sconklin) wrote :

This bug is awaiting verification that the Lucid kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed' to 'verification-done'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-lucid
Herton R. Krzesinski (herton) wrote :

The commit for this issue in Lucid came in via a stable upstream release (2.6.32.42). As such it is not subject to the standard bug verification process.

tags: added: verification-done-lucid
removed: verification-needed-lucid
Herton R. Krzesinski (herton) wrote :

The commit for this issue in Maverick came in via a stable upstream release (2.6.35.14). As such it is not subject to the standard bug verification process.

tags: added: verification-done-maverick
Brian Burch (brian-pingtoo) wrote :

Until very recently, I had never needed to use the microphone on my Dell Studio 1558. Then I discovered it did not work under 11.10 Onieric. I confirmed the bypass of redefining the active microphone with alsamixer worked, indicating that pulseaudio was choosing the "wrong" microphone to make active.

In case anyone is interested, the microphone is working well under the 12.04 Precise Pangolin Beta. I presume the appropriate quirk was integrated into the 3.2.0-17 kernel.

(n.b. lspci shows Intel Corp 5 series/3400 with a device id [8086:3b56] )

Download full text (4.2 KiB)

Hi! Sorry to reopen such an old thread...Running Ubuntu 11.04 (2.6.38-14-generic amd64) on a Dell Studio 1555 laptop. Internal Mic array not working. It used to work perfectly on 10.10. Not getting ANY input device in alsamixer. Did everything this thread suggested as well as this on (http://ubuntuforums.org/showthread.php?p=11921578#post11921578) .
Hardware details:
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: IDT 92HD73C1X5
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x111d7675
Subsystem Id: 0x102802be
Revision Id: 0x100103
No Modem Function Group found
Default PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400183: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals: [0x00 0x00]
  Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 4
     0x15* 0x16 0x17 0x1e
.
.
.
.
Node 0x1a [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="STAC92xx Analog", type="Audio", device=0
  Converter: stream=1, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x20
  Processing caps: benign=0, ncoeff=0
Node 0x1b [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x21
  Processing caps: benign=0, ncoeff=0
.
.
.
Node 0x27 [Audio Input] wcaps 0x14031b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals: [0x00 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
  Connection: 1
     0x24
.
.
.
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
.
.
.
!!ALSA/HDA dmesg
!!------------------

[ 25.361432] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 25.364476] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 25.364548] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[ 25.364581] HDA Intel 0000:00:1b.0: setting latency timer to 64
[...

Read more...

Sorry Maybe I am posting this again coz i did not see my reply appear here. Running Ubuntu 11.04 (2.6.38-14-generic amd64) on a Dell Studio 1555 laptop. Internal Mic array not working. It used to work perfectly on 10.10. tried everything given on this thread as well on on this one. (http://ubuntuforums.org/showthread.php?p=11921578#post11921578). Attached is the info file related to alsa generated by the link of the script in ronjouch's post.
Please help.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers