Linux Problem solving _arch system installation is complete no sound

Source: Internet
Author: User

Rt

Their machine is Lenovo y410p, before the installation of the arch system has been unable to play sound, and do not know how to set up, today, the computer configuration, incidentally, the sound of the problem solved.

The Arch default kernel has been ALSA with a set of modules and does not have to be specifically installed.

ALSA refer to the Arch website Wiki:https://wiki.archlinux.org/index.php/alsa_%e5%ae%89%e8%a3%85%e8%ae%be%e7%bd%ae_ (%E7%AE%80%E4% bd%93%e4%b8%ad%e6%96%87)

It seems that after installing the system sound card can work, but the system default sound card sound is muted, to unmute.

Mute each channel

Using alsamixer the Ncurses interface, the configuration is simple:

Alsamixer

In alsamixer , the channels marked below MM are muted, and 00 the marked channels are enabled.

UseAndArrow key, selectMasterAndPCMChannel. Press themKey to Unmute. UseThe arrow keys increase the volume until the gain value is0。 The value is displayed in the upper leftItem:After the field. Excessive gain values can result in sound distortion.

You can also use the command
Amixer Sset Master Unmute
I am in here the problem, originally directly with alsamixer set or no sound, I used the above command, appeared
Amixer:unable to find simple control ' Master ', 0
Indicates that the device cannot be set, or cannot find a sound card, and I thought there was no sound card driver installed,,,with the commandget the sound card ID and device ID of the sound card
Aplay-l
jun% aplay-l**** List of PLAYBACK Hardware Devices ****card 0:hdmi [HDA Intel HDMI], device 3:HDMI 0 [HDMI 0]  Subde VICES:1/1  subdevice #0: Subdevice #0card 0:hdmi [HDA Intel HDMI], device 7:HDMI 1 [HDMI 1]  SUBDEVICES:1/1  Subdevice #0: Subdevice #0card 0:hdmi [HDA Intel HDMI], device 8:HDMI 2 [HDMI 2]  subdevices:1/1  subdevice #0: S Ubdevice #0card 1:pch [HDA Intel PCH], device 0:alc282 Analog [ALC282 Analog]  subdevices:1/1  subdevice #0: subd Evice #0card 1:pch [HDA Intel PCH], device 1:alc282 Digital [ALC282 Digital]  subdevices:1/1  subdevice #0: Subde Vice #0
Everything seems normal. Configuring audio in Amixer
jun% amixer scontrolssimple mixer control ' IEC958 ', 0Simple mixer control ' IEC958 ', 1Simple mixer control ' IEC958 ', 2
scared, no configuration, no wonder I can't find "Master"a little skeptical that maybe the default sound card is incorrect,again amixer
jun% amixer-c 1 scontrolssimple mixer control ' Master ', 0Simple mixer control ' headphone ', 0Simple mixer control ' Speaker ', 0Simple mixer control ' PCM ', 0Simple mixer control ' mic ', 0Simple mixer control ' mic Boost ', 0Simple mixer control ' IEC958 ', 0 Simple mixer control ' IEC958 Default PCM ', 0Simple mixer control ' Beep ', 0Simple mixer control ' Capture ', 0Simple mixer contr Ol ' Auto-mute Mode ', 0Simple mixer control ' Internal Mic Boost ', 0
It's normal this time. The problem is that the default sound card is incorrect, and then the default sound card is modified. in the aplay-l just now select sound card 1, device ID 0 sound cardAdd the following configuration to the system-level/etc/asound.conf or user-level ~/.ASOUNDRC file. If the file does not exist, you can create it manually. Each of these IDs, please adjust according to the actual situation:
Defaults.pcm.card 1
Defaults.pcm.device 0
Defaults.ctl.card 1
The PCM option determines which device is used to play the audio, and the "CTL" option determines that the sound card can be used by a control tool such as Alsamixer. The above configuration takes effect immediately after restarting an audio program, such as MPlayer.
so the problem of the computer without sound is solved.




Linux Problem solving _arch system installation is complete no sound

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.