Microphone not working 11.2

http://www.alsa-project.org/db/?f=439ade0d9f2997eaba9c69bc06d6e73b7b874bfd

alsa-plugins-1.0.21-3.3.i586
alsa-firmware-1.0.20-3.2.noarch
alsa-oss-1.0.17-25.2.i586
alsa-utils-1.0.21-3.1.i586
alsa-1.0.21-3.2.i586
alsa-plugins-pulse-1.0.21-3.3.i586

pulseaudio-esound-compat-0.9.19-2.3.i586
pulseaudio-module-x11-0.9.19-2.3.i586
pulseaudio-0.9.19-2.3.i586
libpulse-mainloop-glib0-0.9.19-2.3.i586
libpulse0-0.9.19-2.3.i586
pulseaudio-module-zeroconf-0.9.19-2.3.i586
pulseaudio-module-bluetooth-0.9.19-2.3.i586
pulseaudio-module-lirc-0.9.19-2.3.i586
pulseaudio-module-gconf-0.9.19-2.3.i586
libpulse-browse0-0.9.19-2.3.i586
alsa-plugins-pulse-1.0.21-3.3.i586
pulseaudio-utils-0.9.19-2.3.i586

libasound2-1.0.21-3.2.i586

Linux linux-dd7n 2.6.31.5-0.1-default #1 SMP 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux

options snd slots=snd-hda-intel

u1Nb.bSSl6xlW2d9:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

Just installed Suse 11.2. I have a Sony Vaio VGN-FW140E, just transferred from Ubuntu. Help would be appreciated, thanks.

-Chris

Welcome to openSUSE.

Is this an internal microphone or an external microphone?? PLEASE advise.

What are you using to test your microphone functions? I recommend you follow this for guidance when testing a mic: Microphone - openSUSE And hence to test please copy and paste this into a console:

arecord -vv -fdat foo.wav 

and then talk into your mic … You can stop it by pressing <CTRL><C>

I note your mixer could be setup wrong for the mic (any mic) …

!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Mixer name : ‘Intel G45 DEVCTG’
**Simple mixer control ‘Mic’,0
** Front Left: Playback 0 [0%] -34.50dB] [off]
Front Right: Playback 0 [0%] -34.50dB] [off]
Simple mixer control ‘Capture’,0
Front Left: Capture 31 [100%] [34.50dB] [on]
Front Right: Capture 31 [100%] [34.50dB] [on]
Simple mixer control ‘Capture’,1
Front Left: Capture 0 [0%] -12.00dB] [on]
Front Right: Capture 0 [0%] -12.00dB] [on]
Simple mixer control ‘Capture’,2
Front Left: Capture 0 [0%] -12.00dB] [on]
Front Right: Capture 0 [0%] -12.00dB] [on]
Simple mixer control ‘ATAPI Mic’,0
Front Left: Playback 0 [0%] -34.50dB] [off]
Front Right: Playback 0 [0%] -34.50dB] [off]
Simple mixer control ‘Input Source’,0
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’
Simple mixer control ‘Input Source’,1
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’
Simple mixer control ‘Input Source’,2
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’
Your PC has the “simple mixer control” for the Mic OFF. You PC appears to have 3 separate mic input controls, of which control (capture) 0 is active, but control (capture) 1 and 2 are muted at 0%. I also note ATAPI mic (what ever that is) is OFF and muted. You have the “mic” settting selected and the “front mic” not selected.

If this is an external mic, where are you plugging in the mic? In the front jack? Hopefully not as that is muted.

It is an internal microphone.

How do I enable or turn on my microphone?

oh, and:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
05:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13)
09:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)

You turn the mic on with your mixer.

In KDE you use kmix.

I’m not a big gnome user, but I think alsamixer gives you some control over this in gnome.

Or if you are a command line glutten for punishment you can use amixer.

I note in general internal microphones are much more difficult to get functioning than external microphones. Sometimes these internal mics are tied in with the webcam, and to get the internal mic functioning one needs to get the webcam driver loaded. I don’t suppose you know anything about your internal mic?

Thanks, … but thats not of much help in this case. The information you provided in your first post, together with advice as to whether this is an internal or external mic, and an indication as to what desktop you are using is sufficient.

I note your PC has an ALC262 codec. Searching the alsa web site I came up with this hit:
Search results - AlsaProject for ALC262
… indicating there are some updates to the ALC262 audio codec for Sony PCs in the latest 1.0.22 version of alsa. Your PC has a 1.0.21 version of alsa. So its possible an alsa update may be useful.

Its also possible the auto probe of the Sony hardware failed upon boot to precisely configure your PC’s audio configuration, and it is possible to force the configuration upon boot by setting/forcing a “model” option. Here is the list of model options that can possibly be applied one at a time (no more than one at a time):

ALC262
======
  fujitsu	Fujitsu Laptop
  hp-bpc	HP xw4400/6400/8400/9400 laptops
  hp-bpc-d7000	HP BPC D7000
  hp-tc-t5735	HP Thin Client T5735
  hp-rp5700	HP RP5700
  benq		Benq ED8
  benq-t31	Benq T31
  hippo		Hippo (ATI) with jack detection, Sony UX-90s
  hippo_1	Hippo (Benq) with jack detection
  sony-assamd	Sony ASSAMD
  toshiba-s06	Toshiba S06
  toshiba-rx1	Toshiba RX1
  tyan		Tyan Thunder n6650W (S2915-E)
  ultra		Samsung Q1 Ultra Vista model
  lenovo-3000	Lenovo 3000 y410
  nec		NEC Versa S9100
  basic		fixed pin assignment w/o SPDIF
  auto		auto-config reading BIOS (default)

But before trying that, see if you can sort your mixer settings first.

I have done this in a Vaio that might have the same HDA Intel as yours (not
sure).

If you have the mixer running (a speaker icon on the tray) you have to click
on it, then click “Mixer” and in “Settings” choose “Configure Channels”.

There is a checkbox labelled “Capture” and another “Input source”.
You might need both checked.
Then in the mixer, select the input source as Front Mic.
I hope it helps.

-G-

I’m using KDE now, instead of Gnome.

I have my mixer open, with microphone unmuted.
I have 3 input sources, where 2 are front mic, and the other is just mic.

My captures are all checked.

Sound recording still isn’t working. :-\

OK, will you let me check it again? Please provide the output of:
/usr/sbin/alsa-info.sh
and select SHARE/UPLOAD and then post here the URL it provides.

You could also try an edit to your /etc/modprobe.d/50-sound.conf file, to force a model option upon boot, using the list I provided above. For example, to try the option “sony-assamd” you would open that file with a text editor, and add a line to the start of the file, and then save the file as:

options snd-hda-intel model=sony-assamd
options snd slots=snd-hda-intel
# u1Nb.bSSl6xlW2d9:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

and then restart your alsa sound with **su -c ‘rcalsasound restart’**and enter root password when prompted, restart your mixer, and then test the mic. That may completely break sound. It may do nothing. If that does not work, then edit the /etc/modprobe.d/50-sound.conf file again, changing “sony-assamd” with another option from the list (such as “auto”). …Restart alsa & mixer as above and test. You can do that for each option in the list. Maybe one of them will work.

Note to edit the /etc/modprobe.d/50-sound.conf file, you do this by:

  • in gnome with: gnomesu gedit /etc/modprobe.d/50-sound.conf

  • in kde with: kdesu ‘kwrite /etc/modprobe.d/50-sound.conf’
    entering root password when prompted.

Having typed all that, this may not work, because as I noted, there is a fix to the ALC262 for Sony laptops. So an update to 1.0.22 of alsa may be needed.

You can update alsa by (1) adding two repositories, (2) installing the needed applications (3) removing the two repositories. Before you start the alsa update, remove any extra line that you may have added to the /etc/modprobe.d/50-sound.conf file. Then update alsa via these detailed instructions:

  • (1) Add the two repositories by typing:
zypper ar http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.2/ multimedia01
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.2/ multimedia02
  • (2) then go to YaST > Software > Software Management and install/update the following: alsa-driver-kmp-default-1.0.22.20091222_2.6.31.5_0.1-6.1.i586.rpm, alsa-plugins-1.0.22-19.1.i586.rpm, alsa-firmware-1.0.20-7.1.noarch.rpm, alsa-oss-1.0.17-27.1.i586.rpm, alsa-utils-1.0.21-19.1.i586.rpm , alsa-1.0.22-51.1.i586.rpm, alsa-plugins-pulse-1.0.22-19.1.i586.rpm, libasound2-1.0.22-51.1.i586.rpm
    NOTE, the version numbers may be newer by the time you do this update. But do not accept a warning that they are already installed because they are not. Update to them or to the newer version. Then exit YaST.
    .
  • (3) once installed, the remove those two repositories. THIS IS IMPORTANT. REMOVE THEM. You can do so by:
zypper rr multimedia01
zypper rr multimedia02

Then restart your PC and test sound and mic.

Err… this doesn’t look good to me…

…no sound, no mic.

http://www.alsa-project.org/db/?f=f691d27dc4109f7220d3603c6ca4472a4991a762

after all the steps from previous post.

Note this from the script:

!!ALSA Version
!!------------

Driver version:     
Library version:    
Utilities version:  1.0.21

Note, nothing next to “Driver Version”. That suggests that one of the above steps either failed, or you missed it.

What is the output of:

rpm -qa '*alsa*'
rpm -q libasound2