Microphone doesn't work in Toshiba Satellite M305D-S4828

Hi!
I have installed the OpenSUSE 11.0 in my Toshiba Satellite M305D-s4828 and almost everything is ok; the problem is I have sound in the speakers and the headphones but not in the microphone.
Yast tells me the soundcard is the SBx00 Azalia and the driver is the snd-hda-intel.I have read some threads and this is what I did and what I have:

I have changed the file /etc/modprobe.d/sound and it looks like this:

options snd slots=snd-hda-intel
options snd-hda-intel model=auto

5Dex.Kz8fwQizBR2:SBx00 Azalia

alias snd-card-0 snd-hda-intel

I have tried the model=toshiba and I have added index=1 (first) and later index=0 ; in any case I have the same: sound in the speakers and headphones but nothing in the microphone.

I have checked the settings in the mixer kmix; I have three microphones:

  • Docking Mic. with the lights red and green turned on
  • External Mic. with the lights red and green turned on
  • Internal Mic. with the lights red and green turned on

In the switches I have:

  • IEC958 with the yellow light turned off

  • IEC958 Default PMC with the yellow light turned off

    I have tried any combination of lights turned off and on and in any case I got the same result: the microphone is not working but the speakers (and the headphones) are ok.

    Here is the result of the tsalsa diagnostic:

paste this url in #alsa: tsalsa.txt - nopaste.com (beta)
file:///tmp/moz-screenshot.jpg
Here is the result of ** rpm -qa|grep alsa**:

alsamodular-1.8.7-0.pm.2
alsa-tools-1.0.16-47.1
alsamixergui-debugsource-0.9.0rc1-705.1
alsa-plugins-32bit-1.0.16-57.1
alsa-oss-1.0.15-48.1
alsamixergui-0.9.0rc1-705.1
alsa-1.0.16-39.1
alsa-oss-32bit-1.0.15-48.1
FA_clalsadrv-1.2.2-0.pm.3
alsa-plugins-1.0.16-57.1
alsa-utils-debuginfo-1.0.16-35.1
alsa-firmware-1.0.16-24.1
alsamixergui-debuginfo-0.9.0rc1-705.1
alsa-utils-1.0.16-35.1
alsa-driver-kmp-default-1.0.16.20080927_2.6.25.5_1.1-1.1

Here is the result of rpm -qa |grep pulse:

libpulse0-32bit-0.9.10-26.5
libpulse0-0.9.10-26.5

Here is the result of rpm -q libasound2:

libasound2-1.0.16-39.1

Honestly, I’m new installing SUSE and I have not idea what else I can do; I will thank any help.

The above does not look right. The problem I see is mostly summarized by this from the diagnostic script:

Alsa driver: 1.0.18rc3        
dpkg path:           
Alsa utils: 1.0.16 

You have alsa-utils-1.0.16-35.1 (which provides alsa mixer), but you have alsa-driver-kmp-default-1.0.16.20080927_2.6.25.5_1.1-1.1 which in fact, is 1.0.18rc3 (which is what the “20080927” indicates, as it was built on 27-Sep-2008). They are likely not compatible with each other.

Before you go any further in trying to sort your mike problem, I recommend you make certain your alsa packages are compatible with each other.

There is guidance here for updating your alsa packages:
Alsa-update - openSUSE

Hi!
I made the alsa update given in
Alsa-update - openSUSE

and now I have:

rpm -qa|grep alsa

alsa-oss-32bit-1.0.15-48.1
alsa-1.0.17.git20081001-1.1
alsa-plugins-32bit-1.0.16-57.1
alsa-plugins-1.0.16-57.1
alsa-tools-1.0.17.git20080715-1.10
FA_clalsadrv-1.2.2-0.pm.3
alsa-utils-1.0.17.git20080820-1.1
alsa-oss-1.0.15-48.1
alsa-firmware-1.0.17.git20080617-2.1
alsa-driver-kmp-default-1.0.16.20081003_2.6.25.5_1.1-1.1

I don’t know why the version of the alsa-driver-kmp is different, do you think I need to look for the same version of the others? Because I just have followed the instructions in the webpage.
Ah! My microphone is not working anyway.

Well done in following the instructions.

The versions look ok. The alsa-1.0.17.git20081001-1.1 is actually 1.0.18rc3, built on 1-Oct-2008 (where the 1.0.18rc3 was a modification of 1.0.17 source, I believe). The alsa-driver-kmp-default-1.0.16.20081003_2.6.25.5_1.1-1.1 is also actually 1.0.18rc3, built on 3-Oct-2008 (where the 1.0.18rc3 was a modification of 1.0.16 source, I believe). You need both of those apps, which you have.

OK, can you run the tsalsa diagnostic script again?

 wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

Also, possibly give a screen print of your mixer?

For example, here is the switch settings for my mixer:
http://img137.imageshack.us/img137/1306/kmix1un8.th.jpg](http://img137.imageshack.us/my.php?image=kmix1un8.jpg)http://img137.imageshack.us/images/thpix.gif](http://g.imageshack.us/thpix.php)
and here:
http://img523.imageshack.us/img523/2426/kmix2ql1.th.jpg](http://img523.imageshack.us/my.php?image=kmix2ql1.jpg)http://img523.imageshack.us/images/thpix.gif](http://g.imageshack.us/thpix.php)

I confess I am surprised your sound works at all with that setting. From your earlier running of the tsalsa script, I note you have a Conexant CX20561 (Hermosa).

According to the ALSA-Configuration.txt file for 1.0.18rc3 of alsa, the following settings are available for Conexant audio codec:

	Conexant 5045
	  laptop-hpsense    Laptop with HP sense (old model laptop)
	  laptop-micsense   Laptop with Mic sense (old model fujitsu)
	  laptop-hpmicsense Laptop with HP and Mic senses
	  benq		Benq R55E
	  test		for testing/debugging purpose, almost all controls
			can be adjusted.  Appearing only when compiled with
			$CONFIG_SND_DEBUG=y

	Conexant 5047
	  laptop	Basic Laptop config 
	  laptop-hp	Laptop config for some HP models (subdevice 30A5)
	  laptop-eapd	Laptop config with EAPD support
	  test		for testing/debugging purpose, almost all controls
			can be adjusted.  Appearing only when compiled with
			$CONFIG_SND_DEBUG=y

	Conexant 5051
	  laptop	Basic Laptop config (default)
	  hp		HP Spartan laptop 

Hence rather than use “toshiba” or “auto”, I would have tried one of those.

Still, its possible your internal mic is associated with an internal web cam (do you have an internal web cam ? ) and if so, it could be usb based, and one may need to force the loading of a usb audio kernel module to get that mic working.

For example, one user to this forum managed to get their (external usb) mic working by creating this .asoundrc file and /home/username/.asoundrc (and by also installing audacity): Logitech AK5370 Mic Problem - openSUSE Forums

pcm.lydkort&mic {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,0"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
} 

and they then restarted alsa to test. … but since I don’t have such a laptop/device as you, I am forced to speculate.

I did read of many unsuccessful attempts by Ubuntu users to get the internal mic working with the CX20561 audio codec.

Hi!
Here is the new tsalsa diagnostic:

tsalsa.txt - nopaste.com (beta)

and the images of my mixer:

http://img217.imageshack.us/img217/7172/outputxf4.th.jpg](http://img217.imageshack.us/my.php?image=outputxf4.jpg)

http://img217.imageshack.us/img217/7736/inputux1.th.jpg](http://img217.imageshack.us/my.php?image=inputux1.jpg)

http://img140.imageshack.us/img140/5514/switchesnb0.th.jpg](http://img140.imageshack.us/my.php?image=switchesnb0.jpg)

I’ll try to change the models in /etc/modprobe.d/sound, thanks for all.

Ok, I have tried any model for the codecs Conexant you gave me; mi microphone is not working but I must to say that in any case my speakers are working! :slight_smile: The only change I have noted is that in the model hp, I didn’t have “Docking Mic” control in the mixer and in the other models, when I did some test with skype, the control of the Docking Mic have changed from 100% to 50% automatically.
The answer about the webcam is yes; this model has an internal webcam, do you need more information about it?
I’m not sure about install audacity and to create this .asoundrc file…
Thanks anyway again.

Ok, I did it; I have installed audacity and I have created the .asoundrc file; but I have the same situation: the speakers are working, the microphone is not.
Thanks for all.

Need? I do not know. I do not have a Toshiba Satellite M305D-S4828, so I can only offer suggestions as to what you can try, in the hope that if you find a solution based on the suggestions, that you will share your solution.

You can provide more info on your webcam by ensuring you have usbutils installed, and then type (no quotes): lsusb
and then post the output here.

What do you mean by “not sure” ? … Do you mean you are “not sure” how to do it? or do you mean you are “not sure” you want to try it ?

Reference your mixer, … instead of trying to use all 3 microphones simultaneous, how about trying one at a time? ie try Internal Mic, and disable the other two. If that does not work, then to check for the possibility that the alsa driver has the setting controls switched in error, try External Mic and disable the other two. Try the same with Docking Mic.

Also try enabling IEC958 in case your internal Mic is a digital Mic. Enabling IEC958 “may” change your mixer settings.

To investigate if your internal mic might be a USB mic, you could also try typing:su -c ‘modprobe snd-usb-audio’ and then assuming no errors, test your mic (trying the various mixer settings).

Hi!

You can provide more info on your webcam by ensuring you have usbutils installed, and then type (no quotes): lsusb
and then post the output here.

I have usbutils installed and I got this with lsusb:

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04f2:b070 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Reference your mixer, … instead of trying to use all 3 microphones simultaneous, how about trying one at a time?

I did; it didn’t work; also I did it after enabling IEC958 and after type modprobe snd-usb-audio
but it didn’t work.
Thanks for your help anyway.

What errors did you get after “modprobe snd-usb-audio” ?

I do not see a driver for this webcam either. I do not think your internal webcam is supported yet by Linux, and hence if your mic is integrated with your webcam, I do not think your mic is supported either.

I recommend you use an external mic instead.

What errors did you get after “modprobe snd-usb-audio” ?

None.

I do not see a driver for this webcam either. I do not think your internal webcam is supported yet by Linux, and hence if your mic is integrated with your webcam, I do not think your mic is supported either.

I have tried to look for something with Google and I have found:

Webcam Support Toshiba Satellite A215-s6814 Opensuse 10.3 - openSUSE Forums

I have installed the uvc driver (it was in the repositories of Open SUSE 11.0 also) and my webcam is working well but the microphone is not working; I must to say that my camera was working even before the installation of the ucv driver.

I recommend you use an external mic instead.

The external microphone is not working neither; I have tried everything with both microphones. Thanks.

Now I see what you were saying! I went to the page of the uvc drivers but yes, my camera is not there; probably that’s why the uvc driver didn’t work; sorry!
I will wait and maybe soon it will be a driver but it’s strange that my camera is working… maybe the driver is not the right one.
Thanks for all anyway!

I think we may be able to get the external mic working. Typically (90% of the time) when an external mic does not work, it is because the Linux user messed up their mixer settings.

But I do not think your internal mic can be made to work. At least not now with the current driver availability.