Compile the ALSA driver of Ubuntu by yourself to achieve better sound quality.
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
I didn't use speakers to listen to music for a long time. I was going to buy a pair of huiwei M200MK2 over the weekend. I tried CreativeSoundworksSW300, which has been in service for seven years, but found that the T60 sound card has a much worse sound quality than Windows sound, the idea of buying a speaker has to be done for the moment. After searching online for half a day, I found a way to compile an ALSA driver, replace the driver that comes with Ubuntu, and change it to listen to it. There has indeed been a lot of progress, the following are the operation steps: first, get the software package required for compilation for a long time without listening to music using speakers. On weekends, I was going to buy a pair of huiwei M200 MK2. Before that, I tried Creative Soundworks SW300, which has been in service for seven years, however, it was found that the T60 sound card had a much worse sound quality in Ubuntu than in Windows. The idea of purchasing a speaker had to be done for the moment.
After searching online for half a day, I found a way to compile an ALSA driver, replace the driver that comes with Ubuntu, and change it to listen to it. There has indeed been a lot of progress, the procedure is as follows:
First, obtain the required software package for compilation:
Sudo apt-get install build-essential ncurses-dev gettext
Sudo apt-get install linux-headers-'uname-R'
Before compilation and replacement, you must stop the current ALSA service:
Sudo/etc/init. d/alsa-utils stop
Sudo/etc/init. d/alsasound stop
Create a directory to compile the alsa driver
Wget ftp://ftp.alsa-project.org/pub/d... r-1.0.14rc3.tar.bz2
Tar xvjf alsa-driver-1.0.14rc3.tar.bz2
Tar xvjf alsa-lib-1.0.14rc3.tar.bz2
Tar xvjf alsa-utils-1.0.14rc2.tar.bz2
Download the corresponding patch file before compilation.
Replace source files with patch files
Tar xvzf realtek6.tar.gz
Cp patch_realtek.c ~ /Alsa-src/alsa-driver-1.0.14rc3/alsa-kernel/pci/hda/
./Configure -- with-cards = hda-intel
Sudo make install
Sudo make install
Sudo make install
Well, the compilation is complete, and the rest is to replace the original alsa driver.
Restart Ubuntu and you may find a red cross on the volume icon. You need to cancel the PCM mute on the volume control interface. Listen again, and the sound quality is quite good.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.