ALSA driver solves the problem of Ubuntu Linux Intel integrated Audio __linux

Source: Internet
Author: User

After the upgrade of the sound card suddenly can not use, find a lot of methods, and finally reinstall ALSA Drive solution. Back up for later use. You can refer to the compile alsa-utils here when there are errors, to install Xmlot, with the new profit search installation can be

1157 sudo gedit/etc/modprobe.d/alsa-base.conf

1160 CD alsa/alsa-driver-1.0.23/

1161 ls

1162./configure--with-cards=hda-intel

1163 make

1164 sudo make

1165 sudo make install

1166 CD ... /alsa-lib-1.0.23/

1167./configure

1168 sudo make

1169 sudo make install

1170 CD ... /alsa-utils-1.0.23/

1171./configure

 1172  sudo make

 1173  sudo make install modify alsa-base.conf, my specific changes are more messy, add to the last. Check it out # autoloader aliases install sound-slot-0/sbin/modprobe snd-card-0 install sound-slot-1/sbin/modprobe snd-card-1 ins Tall sound-slot-2/sbin/modprobe snd-card-2 install sound-slot-3/sbin/modprobe snd-card-3 install sound-slot-4/sbin/ modprobe snd-card-4 Install sound-slot-5/sbin/modprobe snd-card-5 install sound-slot-6/sbin/modprobe snd-card-6 Install sound-slot-7/sbin/modprobe snd-card-7 # Cause optional modules to be loaded above generic modules install SND/SB In/modprobe--ignore-install snd $CMDLINE _opts && {/sbin/modprobe--quiet--use-blacklist; snd-ioctl32 Dprobe--quiet--use-blacklist snd-seq; # # Workaround at Bug #499695 (reverted in Ubuntu and LP #319505) install Snd-pcm/sbin/modprobe--ignore-install snd-pc M $CMDLINE _opts && {/sbin/modprobe--quiet--use-blacklist snd-pcm-oss;:;} Install Snd-mixer/sbin/modprobe- -ignore-install snd-mixer $CMDLINE _opts &&amP {/sbin/modprobe--quiet--use-blacklist snd-mixer-oss;:;} Install Snd-seq/sbin/modprobe--ignore-install snd-seq $CMDLINE _opts && {/sbin/modprobe--quiet- Use-blacklist Snd-seq-midi; /sbin/modprobe--quiet--use-blacklist Snd-seq-oss; : ; # install Snd-rawmidi/sbin/modprobe--ignore-install snd-rawmidi $CMDLINE _opts && {/sbin/modprobe--quiet--us E-blacklist Snd-seq-midi; : ; # cause optional modules to is loaded above sound card driver modules install Snd-emu10k1/sbin/modprobe--ignore-instal L SND-EMU10K1 $CMDLINE _opts && {/sbin/modprobe--quiet--use-blacklist snd-emu10k1-synth;} Install snd-via82xx /sbin/modprobe--ignore-install snd-via82xx $CMDLINE _opts && {/sbin/modprobe--quiet--use-blacklist;} # Load Saa7134-alsa instead of saa7134 (which gets dragged in by it anyway) install Saa7134/sbin/modprobe--ignore-insta ll saa7134 $CMDLINE _opts && {/sbin/modprobe--quiet--use-blacklist saa7134-alsa;:;} #Prevent abnormal drivers from grabbing index 0 options bt87x index=-2 options cx88_alsa index=-2 options Saa7134-alsa Inde X=-2 options Snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb- Audio index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 options Snd-usb-caiaq index=-2 # Ubuntu #626 , enable MPU for SND-CMIPCI options Snd-cmipci mpu_port=0x330 fm_port=0x388 # Keep SND-PCSP from being loaded as a Oundcard options SND-PCSP index=-2 options Snd_hda_intel Model=6stack-dell alias char-major-116 snd alias snd-card-0 snd-h da_intel  # oss/free portion alias char-major-14 ALC888 alias sound-slot-0 snd-card-0 # card #1 alias sound-service-0 -0 Snd-mixer-oss alias Sound-service-0-1 snd-seq-oss alias Sound-service-0-3 Snd-pcm-oss alias Sound-service-0-8 Snd-seq-oss alias Sound-service-0-12 Snd-pcm-oss alias snd-card-0 snd-hda-intel alias sound-slot-0 snd-hda-intel options Snd-hda-intel MODEL=DELL-M44

Found a new problem, although the sound has a problem with the sound preemption, one program calls the sound information, the other is not available. Very annoying, query a bit, the current method can be resolved:

First: sudo apt-get install libesd-alsa0

Second: sudo gedit/etc/asound.conf (new)

Fill in:

pcm.card0 {
Type HW
Card 0
}
Pcm.! Default {
Type plug
SLAVE.PCM "Dmixer"
}
Pcm.dmixer {
Type Dmix
Ipc_key 1025
Slave {
PCM "hw:0,0"
Period_time 0
Period_size 1024
Buffer_size 4096
Periods 128
Rate 44100
}
Bindings {
0 0
1 1
}
}


(The file above can work on most sound cards ...) Although I've successfully tested three different sound cards, I'm still not sure it will make all the sound cards work.

Third: sudo gedit/etc/esound/esd.conf (existing files, do backup)

Change into:

[ESD]
Auto_spawn=1
Spawn_options=-terminate-nobeeps-as 2-d Default
spawn_wait_ms=100
# Default options are used in spawned and non-spawned mode
default_options=

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.