Audio Input/Output problem.

Bug #502223 reported by Domel on 2010-01-02
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Undecided
Unassigned

Bug Description

My original problem was with the microphone not working on my laptop. I
do not have a build in microphone so I have to plug in en external one
to a 3.5mm jack. In the sound preferences in the Input tab i had Mic1,
Mic2, and In line options available but non of them worked. After doing
some research I found out that adding "model=auto" to the last line of
/etc/modprobe.d/alsa-base.conf fixed the microphone problem, but now my
audio output goes out to both built in speakers and headphones (when
plugged in) at the same time. It does not switch between two of them
when i plug in or unplug the headphones.

I'm running Ubuntu 9.10 64bit on a MSI bare-bone laptop (hence exact
model number is unknown).

ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peter 2353 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb38000 irq 17'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,14620000,00100002 HDA:11c13055,11c11601,00100700'
   Controls : 28
   Simple ctrls : 17
CheckboxSubmission: acf21899c40c138a860dafdf46ba999e
CheckboxSystem: 3799a2aef00976bb92c862aba4af6312
Date: Fri Jan 1 21:40:20 2010
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: alsa-driver
Uname: Linux 2.6.31-16-generic x86_64
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peter 3963 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb38000 irq 17'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,14620000,00100002 HDA:11c13055,11c11601,00100700'
   Controls : 27
   Simple ctrls : 17
DistroRelease: Ubuntu 10.04
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100103)
Package: alsa-base 1.0.22.1+dfsg-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/sh
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64
UserGroups: admin

Domel (peter.domanski) wrote :
Mitch Towner (kermiac) wrote :

Have you tried my suggestion from your original bug report? (bug #502159)

Can you please remove the model quirk you have entered into /etc/modprobe.d/alsa-base.conf (i.e. remove the "model=auto" line) & install the "linux-backports-module-alsa-generic" package, then reboot & try testing again.

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Domel (peter.domanski) wrote :

I've removed the "model=auto" from the alsa-base.conf then installed the "linux-backports-module-alsa-2.6.31-16-generic" then rebooted. I'm now back to my original problem of microphone not working. The audio now switches fine between internal speakers and headphones but no matter what options I set in Sound Preferences I cannot get the microphone to work.

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peter 2505 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb38000 irq 29'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,14620000,00100002 HDA:11c13055,11c11601,00100700'
   Controls : 27
   Simple ctrls : 17
CheckboxSubmission: acf21899c40c138a860dafdf46ba999e
CheckboxSystem: 3799a2aef00976bb92c862aba4af6312
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
Uname: Linux 2.6.31-16-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Changed in alsa-driver (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Mitch Towner (kermiac) wrote :

sl-modem-daemon (in your case Si3054 Modem) is a modem driver that conflicts with audio & can cause a lot of problems. Please try the following:

Go to your Hardware Drivers menu (System >Administration>Hardware Drivers)

Select the 'Software Modem' driver... and choose Remove

Close all your applications, and reboot your system.

Domel (peter.domanski) wrote :

I checked my Hardware Drivers and the "Software Modem" is marked as "Not Active". I have a choice to activate the proprietary driver but no "Remove" options of any kind.

Mitch Towner (kermiac) wrote :

OK, that's strange. The soft modem is being referred to in a few of your attached files. Do you have any option to disable the modem in your BIOS settings? If you do, please disable the modem in your BIOS.

I also noticed when looking through your "Card0.Amixer.values.txt" that your mic's are turned off. It may be worth checking alsamixer (from the terminal) to verify that your mic's are not muted & the volume is turned up. For testing, please turn all recording volumes (anything in alsa mixer that refers to "mic", "mic boost", "capture", "front mic", etc) to 100% using alsamixer.

Mitch Towner (kermiac) wrote :

If you have disabled the soft modem using a setting in your BIOS, you can verify that it is no longer being referenced by issuing the following command from the terminal:

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] <-- If the software modem has been disabled this should
  Subdevices: 1/1 no longer appear
  Subdevice #0: subdevice #0

Mitch Towner (kermiac) wrote :

above comment has formatting issue...
If you have disabled the soft modem in your BIOS, the below should no longer appear after issuing the aplay -l command

card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Domel (peter.domanski) wrote :

I've checked the BIOS and there is no way to disable the modem. I've also checked the alsamixer and turned up everything that has to do with audio input to 100% and still no luck. What confuses me is that in the alsamixer and sound preferences there is an option of 3 audio input sources (Microphone, Front Microphone, and In-line) this is a bit strange since my laptop does not have any build in microphones and only one 3.5mm plug for an external one.

I'm also not sure what exactly "model=auto" in the last line of alsa-base.conf does but when i type it in there the microphone works perfectly except than it creates a problem of audio output to be sent to both internal speakers and headphones at the same time, as I described in the beginning.

Mitch Towner (kermiac) wrote :

This looks very similar to the issues in bug #460351 that you have already subscribed to. Unfortunately I am unsure as to what else you could try in order to resolve this issue. I would suggest adding the "model=auto" back to your alsa-base.conf so that your external mic will function again.

It might be a good idea to keep an eye on bug #460351 to see if any progress is made there. If you want to verify that you are having the same issues as mentioned in that bug report, try booting the Karmic live CD & see if you are having the same issues in a live desktop environment.

It may also be worth trying the Lucid daily image (use live boot option) as a lot of the recent alsa work has been incorporated into Lucid. The Lucid daily image can be downloaded from the link below:
http://cdimage.ubuntu.com/daily-live/current/

If you are having the same issues you described here when using the Lucid daily CD it may help others if you run "apport-collect -p alsa-base 502223" from within the Lucid live desktop environment.

I am also trying to debug this exact same issue (headphone jack sensing) on another laptop that uses a different model of intel HDA. This jack sensing issue may be more widespread than initially thought.

I need you to re-run "apport-collect -p alsa-base 502223" while using
l-b-m-a-k-g

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peter 3268 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb38000 irq 28'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,14620000,00100002 HDA:11c13055,11c11601,00100700'
   Controls : 27
   Simple ctrls : 17
CheckboxSubmission: acf21899c40c138a860dafdf46ba999e
CheckboxSystem: 3799a2aef00976bb92c862aba4af6312
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
Uname: Linux 2.6.31-16-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Domel (peter.domanski) wrote :

I just tried downloading and booting to Karmic Live CD and also the Lucid daily image. When booted to Karmic Live I exhibit exactly the same problem no microphone. When trying to boot to Lucid after getting a load of errors it boots to the login screen and will not go pass it no matter what so I was unable to do any testing in it.

Domel (peter.domanski) wrote :

The fallowing is what I get when booted into Lucid. (Microphone also doesn't work)

description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Domel (peter.domanski) wrote :

Just tested the newest release of Lucid daily image and still no microphone. This time under the input tab of audio preferences there are no devices detected at all. I hope this gets resolved by the time Lucid gets released other wise I'll be forever stuck on 9.04.

Brad Figg (brad-figg) wrote :

Hi Domel,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage needs-test-current-image
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Domel (peter.domanski) wrote :

Brad,

I'm not sure if I'm getting all this right, if not let me know. I've installed and booted into 2.6.34-999-generic and tested the microphone again and still no luck, I had no change at all. The fallowing is what I get when I run "apport-collect -p alsa-base 502223" under the new kernel.

Let me know if there's anything else I can do.

Thanks.

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peter 2866 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb38000 irq 29'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,14620000,00100002 HDA:11c13055,11c11601,00100700'
   Controls : 27
   Simple ctrls : 17
CheckboxSubmission: acf21899c40c138a860dafdf46ba999e
CheckboxSystem: 3799a2aef00976bb92c862aba4af6312
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
Uname: Linux 2.6.34-999-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Changed in alsa-driver (Ubuntu):
status: Incomplete → New
tags: removed: needs-test-current-image
Brad Figg (brad-figg) on 2010-03-31
tags: added: karmic
Domel (peter.domanski) wrote :

Upgraded to a 10.04 final release and still no microphone. On top of that my little model=auto prefix in alsa-base.conf doesn't work anymore so now I'm really screwed. It would appear ubuntu is going backwards as far as hardware compatibility goes.

Gary M (garym) on 2010-10-29
tags: added: hda-jack-sense
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