Как обновить alsa в ubuntu
Перейти к содержимому

Как обновить alsa в ubuntu

  • автор:

Thread: Easy Steps to Upgrade ALSA 1.0.19

First Cup of Ubuntu

Easy Steps to Upgrade ALSA 1.0.19

What is Alsa (Advanced Linux Sound Architecture) ? According to Wikipedia, Alsa is a Linux kernel component intended to replace the original Open Sound System (OSS) for providing device drivers for sound cards. Some of the goals of the ALSA project at its inception were automatic configuration of sound-card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met.
Installation :
To do this, we must begin by determining our version of alsa as follows :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

wget ftp://ftp.alsa-project.org/pub/drive. 1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/a. 1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils. 1.0.19.tar.bz2
After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp

/alsa* .
Unpack the 3 tar files :
sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*
We compile and install alsa-driver :
cd alsa-driver*
sudo ./configure —with-cards=hda-intel —with-kernel=/usr/src/linux-headers-$(uname -r)
sudo make
sudo make install
We compile and install alsa-lib :
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
We compile and install alsa-utils :
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
Then, we remove the 3 tar files in our personal folder that are not anymore necessary :
rm -f

/alsa-driver*
rm -f

Then, just restart your computer and your alsa version should be 1.0.19!
You can verify that you have now indeed have this version of alsa :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.19.
Compiled on May 1 2009 for kernel 2.6.28-11-generic (SMP).

[Mini-manual] Собираем/Обновляем ALSA

Senior Member Репутация Репутация Репутация Репутация Репутация Репутация Репутация Репутация Репутация Репутация РепутацияРегистрация 27.10.2006 Адрес г. Химки Сообщений 494 Вес репутации 433

[Mini-manual] Собираем/Обновляем ALSA

Итак, что мы имеем:
Система Ubuntu 9.04 — проблемы со звуком, вечные подергивания, отставание звука в играх (когда выстрелил, а звук появлялся через 2 секунды), скрип и многое многое другое.

Плюнул я на это дело и решил обновить ALSA.

0) Открываем терминал (xterm и т.д.)

1) Смотрим на свою версию драйверов:

Видим, примерно следующую картину:

Заметьте версия драйвера 18, да еще и RC. Хотя драйвера уже давно обновились до 22 версии.

2) Качаем alsa-driver, alsa-lib и alsa-utils с офф. сайта http://www.alsa-project.org/main/index.php/Download

3) Устанавливаем инструменты для сборки:

5) Убиваем звук:

Убедитесь, что будет написано [OK] (значит успешно стопанули)

6) Начинается самое интересное:
6а) Входим в папку:

7) Готово, перезагружаемся.

8 ) Открываем терминал
Пишем:

у меня стало так:

9) Не забудьте активировать звук на панели, т.к. на нем будет стоять крестик. (То бишь по-дефолту все выключено)

Все это у меня заняло, минут 15 может (Как раз разогрел пиццу)

Альтернатива:

Вы также можете скачать ALSA Upgrade script
И сделать всё, всего двумя нажатиями. Скрипт сам скачает, сам обновит.
От Вас только потребуется поп-корн, чтобы наблюдать за процессом.

Ubuntu Wiki

Sometimes upgrading sound drivers will help you fix an issue with your sound. There are several ways to upgrade your ALSA sound drivers.

First, some words of caution:

Make sure you only have one override of ALSA drivers installed at a time. Make sure you uninstall the previous override before trying a new one, otherwise it is unclear which version will take precedence.

Aside from the Ubuntu web, there are several guides, scripts, and blog posts about how to download, compile, and install newer ALSA driver versions yourself. These guides are of varying quality, and in some cases, can break your system really bad. We do not recommend them — the solutions suggested below are simpler and come with proper uninstall instructions.

=== The latest stable ALSA — simplest === /* This currently does not make sense for Natty (Ubuntu 11.04) or One since the latest upstream ALSA release is in Natty already. /* Whenever a stable release of ALSA is released, the linux-backports-modules-alsa-[Ubuntu Release]-[Kernel Flavor] is updated. [Ubuntu-release] means "karmic", "lucid", "maverick" etc, and [Kernel Flavor] normally means "generic" (or "server" for Ubuntu server edition). So just download and install this package, reboot, and test. Uninstallation, if necessary, is just as simple — just uninstall the package and reboot afterwards. */ /* === Prebuilt daily snapshot modules === /* Every night the current ALSA snapshot is taken and built on Launchpad by the Ubuntu Audio Developers Team. This will give you the absolute latest. See this link for how to install them. */

DKMS — rebuilds automatically

The only currently supported option is to use DKMS packages. They can be constructed that automatically rebuilds themselves whenever a new kernel is installed. See this link for how to install them.

Audio/UpgradingAlsa (последним исправлял пользователь hd9483857 2013-10-11 03:11:58)

Как обновить alsa?

Сейчас версия 1.0.16. Как правильно в убунте обновить до последней версии? Кернел версии 2.6.26. Алса должна быть скомпилена модулем?

Re: Как обновить alsa?

sudo aptitude update
sudo aptitude dist-upgrade

Re: Как обновить alsa?

Я вот на Генту перейти решил, уж больно старое все в Этче.

Это к тому, не все можно обновить.

Re: Как обновить alsa?

>sudo aptitude update
>sudo aptitude dist-upgrade

без обновления дистрибутива!

Re: Как обновить alsa?

Re: Как обновить alsa?

Как поставить последнюю версию из git альсы??

Re: Как обновить alsa?

aptitude install alsa

>install — install/upgrade packages

Re: Как обновить alsa?

Понимаю- специфика лора.. Но можно же по-русски написать?? Нету в репах свежей версии алсы.

Re: Как обновить alsa?

Ну епрст. Исходники скачать скомпилить и обновить.

Re: Как обновить alsa?

./configure && make && checkinstall

Re: Как обновить alsa?

все таки наверное лучше сделать пакет для дистрибутива?

Re: Как обновить alsa?

а какие причины обновления альзы до последней версии?

Re: Как обновить alsa?

в jaunty — 1.0.18, подключи его реп и стяни оттуда.

Re: Как обновить alsa?

В m-audio revolution 5.1 не работает выход наушников. Вроде в 1.0.18 это пофиксили. В jaunty зависимости другие.

Re: Как обновить alsa?

У меня m-audio revolution 5.1, ему 100 лет уже: 00:10.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)

Че там не работает?

Re: Как обновить alsa?

http://seehuhn.de/pages/revolution т.е выход на наушники у вас работает? И какая же версия алсы?

Re: Как обновить alsa?

>все таки наверное лучше сделать пакет для дистрибутива?

>checkinstall

Re: Как обновить alsa?

Звиняюсь, выяснил что у меня 7.1 а не 5.1. А там нету headphone output, только 8 честных выходов.

Если у вас не все выходы 5.1 используются, могу предложить один из них задействовать для ваших целей как вариант через asoundrc.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *