Intel hda audio linux

Gentoo на ноут с интеловской встроеной аудиокарточкой, что ещё надо включить в конфиге, чтобы устройство определилось?

Мучался, мучался, дошёл до того, что грепал конфиг ручками и делал «y» вообще всему, что имеет отношение к «sound» и «audio», но:

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 100

Это, кстати, тоже не определяется. Пакет linux-firmware устанавливал.

Может alsaconf надо сделать?

Так оно не показывает устройств, определившихся ядром

Помимо драйвера (модуля) нужно ещё в драйвере включить поддержу нужного кодека.

Загрузись с LiveCD в котором есть звук и смотри вывод:

cat /proc/asound/card*/codec* | grep Codec 
cat /proc/asound/card*/codec* | grep Codec Codec: Conexant CX20590 Codec: Conexant Generic HDMI Codec: Intel CougarPoint HDMI 

И вот какие модули с кодеками загружены:

smod | grep snd snd_hda_codec_hdmi 57344 2 snd_hda_codec_conexant 24576 1 snd_hda_codec_generic 86016 1 snd_hda_codec_conexant snd_hda_intel 45056 6 snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec snd_hwdep 16384 1 snd_hda_codec snd_pcm 114688 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core snd_timer 36864 1 snd_pcm snd 94208 20 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,thinkpad_acpi,snd_pcm 

Первое, что надо было сделать, это пролистать лог dmesg. Там и аудио,и загрузка фирмвари.

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)

грепал конфиг ручками и делал «y» вообще всему, что имеет отношение к «sound» и «audio»

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 100

Сначала проверь все пункты из https://wiki.gentoo.org/wiki/Iwlwifi, затем ls /lib/firmware

сейчас везде generic работает, это раньше были танцы с бубном.

grep "CONFIG_SND_HDA_INTEL" .config CONFIG_SND_HDA_INTEL=y CONFIG_SND_HDA_INTEL_DETECT_DMIC=y 
dmesg | grep -i "audio" [ 0.277260] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 1.851790] hdaudio hdaudioC0D0: Unable to bind the codec [ 1.854117] hdaudio hdaudioC0D3: Unable to bind the codec [ 4.871797] usbcore: registered new interface driver snd-usb-audio dmesg | grep -i "sound" [ 0.528014] Advanced Linux Sound Architecture Driver Initialized. [ 1.855255] No soundcards found. [ 2.365196] usb 3-1: Product: USB PnP Sound Device [ 2.372768] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.3/0003:0D8C:013C.0001/input/input14 [ 2.427316] hid-generic 0003:0D8C:013C.0001: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-0000:04:00.0-1/input3 

Пардон, тут я уже усб-свисток вставил

Читайте также:  Linux broadcast message to all

грепал конфиг ручками и делал «y» вообще всему, что имеет отношение к «sound» и «audio»

Часть опций может отсутствовать в конфиге, если не активированы другие опции, от которых они зависят. Например опция А которая нужна тебе, зависит от опции Б. Если Опция Б не включена, опцию А ты в конфиге не найдешь. И соответственно включить не сможешь. Поэтому править конфиг руками — это не правильно. Править конфиг надо через make menuconfig, там же и поиск есть (клавиша /)

[ 1.851790] hdaudio hdaudioC0D0: Unable to bind the codec

А Анон был прав, кодек действительно не грузится. И придется его искать. Просмотри еще dmesg, а не грепай. Там и загрузку firmware можно проверить.

покажи еще полный вывод grep -i snd_ .config чтобы было понятно, что сейчас включено.

Источник

How do I install new Intel HDA sound drivers?

In certain cases I might have an older kernel or release of Ubuntu where my sound driver might be too old or buggy, how can I get updated sound drivers for my built in Intel Audio chip?

4 Answers 4

  1. Go to this page
  2. Under the «Source label», check which DKMS package that is corresponding to your current distribution series (Maverick, Natty, Oneiric etc) and click the leftmost arrow to expand that section.
  3. Under the new section «Package files», click the file ending with «.deb», download and install it:
    • You can either do this by selecting «open with», which will take you to the Ubuntu Software Center, where you can click «Install», or
    • Save the file to disk, open a terminal window, change to the right directory and execute «sudo dpkg -i «
  4. Reboot.
Читайте также:  What is best linux desktop

These instructions will only work if there is a corresponding daily build. That is, installing on 16.04.2 is not possible using 16.04.1, so make certain that the distribution name and version both match.

For a long time I used the method of Jorge Castro, but found it not worked from some time. The next command fix it perfectly:

sudo apt install linux-modules-extra-`uname -r` 

I had the same issue and I was able to fix it using «HDAJackRetask» from «alsa-tools-gui». Enter the following command in the terminal:

sudo apt install alsa-tools-gui 

Then open HDAJackRetask by entering hdajackretask in terminal or using the applications menu.

Select the proper hardware from the drop down menu on top (Conexant CX20641 in my case) and override the «Green Line Out, Rear side» (or any other connection you’re using) from «Line out» to «Internal speaker».

In my case the «Apply now» button resulted in a «resource busy» error, but using the «Install boot override» I was able to reload the override configuration automatically during the boot process.

For me, on Ubuntu 20.0.04, inxi -A was showing no audio driver:

$ inxi -A Audio: Device-1: Intel C610/X99 series HD Audio driver: N/A 

The hdajackretask command would segfault upon trying to run, and installing linux-modules-extra-* did nothing to help. The solution was this answer:

sudo nano /etc/default/grub
Find GRUB_CMDLINE_LINUX_DEFAULT and add snd_hda_intel.dmic_detect=0 to the end of it.
It will look something like this:
GRUB_CMDLINE_LINUX_DEFAULT=»loglevel=3 snd_hda_intel.dmic_detect=0″
Rebuild grub menu sudo grub-mkconfig -o /boot/grub/grub.cfg and reboot.

That caused the driver to show up, and all audio to work. No more «Dummy Output».

$ inxi -A Audio: Device-1: Intel C610/X99 series HD Audio driver: snd_hda_intel 

Источник

Оцените статью
Adblock
detector