Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a Toshiba A105-S4254 laptop, running SLED 10.1. My sound works great, except I am having trouble with my microphone on this Logitech headset I bought. I can record but there is a horrible squealing through everything. I have tried muting the MIC and just leaving Capture on, and I have turned the sound on PCM, CD, and Capture all the way down both in Kmix and just to be sure also in alsamixer. I have turned the sound all the way down on the microphone also. Turning down the Capture volume does affect the volume of my voice in the recording, but the squealing is at a constant level.
I upgraded my ALSA stuff to .13 which is the latest stable release. Driving me crazy!!!!!!
Any thoughts are tremendously appreciated. Below is some hopefully relevant data.
Could you post the output from "lspci -s 0:1b -vn" and "cat /proc/asound/card0/codec*"? This will help to pinpoint the level of support your system has in alsa-1.0.13.
Also, alsa-1.0.14rc2 is very stable, and has a lot of major additions to it. There is a lot of work going on at the moment, which is why 14 stable hasn't been released, but there are major changes since 13 (almost like jumping from 10 to 13, based on the changelogs).
The information from those two commands that is immediately relevant is the codec id from "cat /proc/asound/card0/codec*" (depending on the system, this could be anything from 0-7, so codec* is the easiest way to get what I need), and the PCI Subsystem ID from "lspci -s 0:1b -vn".
By looking at the alsa driver code for hda-intel, I take the codec ID (Codec: Realtek ALC861), look in patch_realtek.c under the alc861_cfg_tbl to see if your system (Subsystem: 1179:ff10) is listed, and it is in my repository. Next, I looked to see when it was added to the driver (1/8/2007 by me - isn't that special) and to see if it is in the latest test release (1.0.14rc2 released 1/15/2007).
So, based on all that info, I suggest you download alsa-driver-1.0.14rc2.tar.bz2 from alsa-project.org, or alternatively, if you want to maintain a clean rpm based system, you can download a source rpm from my ftp site. The rpm can be rebuilt in Suse (I use Mandriva, so I can't provide you a binary, sorry) using rpmbuild --rebuild alsa-driver-1.0.14rc2-1.src.rpm. You will need to basic build tools to build a kernel, installing the kernel-source packages usually will install these as well.
Thanks for the advice and the extra knowledge! Sorry for my delay, I am a CS major and have a test coming in the morning so I've been hitting the books. (Don't even ask me about Euclid's Algorithm or RSA encryption!!!!!)
I will try the lastest build of alsa this weekend and see if it improves things. My company is going to an asterisk/softphone solution for all the techs and I really don't want to switch to Windows on my laptop just to talk on the phone with my new Ubergeek headset. That would be a tragedy on so many different levels.
I'm majoring in Information Technology, so I feel your pain. Just wish I could have gone to a college that offered similar classes, instead of the shtuff I'm learning. Closest think to a programming class is Visual Basic (yuk).
Spring Break started today, and I tried installing the alsa driver 1.0.14rc2. Unfortunately there seems to be little change. I can hear my voice, but just barely, and there is still a high-pitched whine during the recording. Any other thoughts would be greatly appreciated.
I installed 1.0.14rc3 drivers, lib, and plugins. Now my sound is so low I can barely hear it. This is the same through onboard speakers and through headphones. Kmix now shows only PCM under Output. Any thoughts on this?
Do not use kmix. Use only alsamixer. For more control, use alsamixer -V all.
You will have to specify the model option while loading snd-hda-intel. The list of models is in [alsa-driver source directory]/alsa-kernel/Documentation/ALSA-Configuration.txt. Search for snd-hda-intel.
There may also be other issues involved here that have been fixed since alsa-driver-1.0.14rc3 was released. development has been very fast recently (since 13 was released actually). I know of at least a dozen patches I have added since 14rc3 was released (none affecting your system, though). Other patches might. I'll look for the link to the daily snapshots if I don't see anything significant in the output from the above script.
Here is the link that you asked for. I hope it's helpful.
Electro - thanks for the tip! I have used alsamixer and Kmix both but with the same results. There were some options available before I updated to 14rc3 that are not there any longer in both. I have used alsaconf as well as yast to try and configure my sound. How do I specify the model to use as you have suggested?
In either /etc/modules.conf or /etc/modprobe.conf add the following line.
options snd-hda-intel model=[model name]
Another way is while using modprobe to load the module include the desire or many other options that the module has. Below is an example.
modprobe snd-hda-intel model=[model name]
Audio squealing is caused by a delay that amplifiers create during making the sound louder or increasing the amplitude of sound. When the microphone is too sensitive, it can pick up the output from the speakers. When two delays combine together, the amplifier starts to oscillate. This oscillating signal produces the squealing that you are hearing now. There are circuits that change the delay of the microphone to minimize the effects of oscillating. The simplest way is to lower the speaker volume or the sensitivity of the microphone. A directional microphone should be used to minimize this problem. Condenser microphones are omni-directional. Use dynamic microphones for the best response and to minimize squealing. Dynamic microphones need a special attachment to connect to the microphone input of the sound card. I suggest a dynamic microphone made with rare earth magnet so they can be lightweight and be more robust during traveling.
Sorry for not getting back earlier. There is no reason for you to use the model= parameter that Electro recommends (sorry Electro). Your system is in the driver as of alsa-driver-1.0.14rc2, which means it will (or should) auto detect your system out of the box. There are otehr issues that may be involved, though. One issue that is particular of Toshiba notebooks is that acpi is broken on most models that I have seen. Try rebooting with acpi=off on the kernel command line. If this fixes it, then there is a fix available (I just don't have the link off hand).