Notes for solving linux silent problems-general Linux technology-Linux technology and application information. For details, refer to the following. Apt-get install alsa-base alsa-utils gstreamer0.10-alsa
1. How to view the hardware chip and run lspci-v
2. system kernel version; uname-r-m-p-I
3. modprobe. conf; whereis modprobe. conf
Modprobe. conf or module. conf is used to configure the modules loaded by the system.
Generally, if the default kernel of the system cannot drive the sound card, replace the kernel,
Net sound, where sound is the storage directory of the sound card module
3. Do I need to upgrade the kernel for the sound card of my system;
2. Have you enabled the sound card volume?
In the command line, alsa uses alsamixer to set up and down the object for controlling and adjusting the volume left and right. Do not forget to cancel the ban (by m). Finally, alsactl store stores the volume settings, adjustments are made in real time.
Use the left and right arrow keys to switch between different channels, and the up and down arrow keys to adjust the volume.
When talking about mixer, pay attention to it, especially when using ALSA. According to the default settings, all output channels are muted when ALSA is started. Therefore, you may be able to play a sound file, but you cannot hear anything.
You should ensure that the channels you need are muted and the volume adjustment slider is set at the appropriate level (you need to experiment to know what is "appropriate "). The "Mater" and "PCM" options are critical for sound playing. If you want to play a music CD, you may also need to set the CD option.
For recording, you usually have to mute the Mic or Line option.
5. Use alsaconf to configure the sound card;
In general, the sound card is automatically configured when the system is installed. If you can identify anything else, there is basically no problem; but if you identify it, you still do not speak out; or identify it as a cat's buzzer; so we need to re-run the sound card configuration tool alsaconf in addition to renaming the previously mentioned Cat's buzzer module; maybe we need a bit of previous knowledge, for example, modprobe and lsmod. If necessary, start a new machine;
Determine whether it is necessary to re-compile the kernel:
If the above information is similar, you do not need to compile the kernel;
4. Install the new ALSA version;
When alsa-lib is an alsa-driver or alsa package, you must first install this package;
The alsa-driver is the driver of the audio device. Generally, the kernel is integrated into it, mostly in the module mode, installed in/lib/modules/kernel version/kernel/sound or/lib/modules/kernel version/kernel/drviers/sound /.
Alsa-utils is mainly used for sound card configuration tools, such as alsaconf and alsamixer;
Alsamixer
Alsamixer: function snd_ctl_open failed for default: No such file or directory
The alsa-oss package is the same as the alsa-driver package and has not been independently packaged. The reason is the same as that of alsa-driver, which is integrated into the kernel. This package is extremely necessary;
More importantly, alsa-lib, alsa-driver, alsa-utils, and alsa-oss;
One of the misunderstandings is that alsa-lib and alsa-utils or alsa-tools can be upgraded online to solve the problem of sound card non-voice. This is not the case; because the key is the kernel, and the audio card driver in the kernel is also from alsa-driver, we need to try to upgrade alsa-driver to solve the problem.
Correct Opinion: as long as the soundcore in the kernel is compiled in the form of modules and the version information output is viewed through modinfo soundcore, we do not need to re-compile the kernel much; because almost all sound cards and devices are compiled in the system, do not re-compile the kernel first. The problem cannot be solved unless alsa-driver is upgraded, in this case, the core can be re-compiled.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service