Realtek alc887 драйвер linux

Нет звука на ALC887-VD в Ubuntu 16.04.6

Звука нет (на значке звука неснимаемый крестик), но aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav говорит «Front, center» женским голосом.

aplay -l **** Список PLAYBACK устройств **** карта 0: PCH [HDA Intel PCH], устройство 0: ALC887-VD Analog [ALC887-VD Analog] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 0: PCH [HDA Intel PCH], устройство 3: HDMI 0 [HDMI 0] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 0: PCH [HDA Intel PCH], устройство 7: HDMI 1 [HDMI 1] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 0: PCH [HDA Intel PCH], устройство 8: HDMI 2 [HDMI 2] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 0: PCH [HDA Intel PCH], устройство 9: HDMI 3 [HDMI 3] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 0: PCH [HDA Intel PCH], устройство 10: HDMI 4 [HDMI 4] Подустройства: 1/1 Подустройство №0: subdevice #0
cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf7120000 irq 132
lspci | grep Audio 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio

Содержимое файла /etc/modprobe.d/alsa-base.conf

# autoloader aliases install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install 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 /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && < /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; ># # Workaround at bug #499695 (reverted in Ubuntu see LP #319505) install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && < /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; >install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && < /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 --use-blacklist snd-seq-midi ; : ; ># Cause optional modules to be loaded above sound card driver modules install snd-emu10k1 /sbin/modprobe --ignore-install 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 snd-seq ; ># Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway) install saa7134 /sbin/modprobe --ignore-install 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 index=-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-caiaq index=-2 options snd-usb-ua101 index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 # Ubuntu #62691, enable MPU for snd-cmipci options snd-cmipci mpu_port=0x330 fm_port=0x388 # Keep snd-pcsp from being loaded as first soundcard options snd-pcsp index=-2 # Keep snd-usb-audio from beeing loaded as first soundcard options snd-usb-audio index=-2

Источник

Читайте также:  Arch linux os prober

How to get Realtek ALC887 5.1 sound detected in debian?

I have motherboard based on z170 chipset which have next string in specs: Realtek® ALC887 codec it has 5.1(3 connectors) and stereo(1 connector) connectors not counting Line In and microphone connectors on back side. I have 5.1 sound system connected to right connectors. But detected audio cards are next:

 lspci -v |grep udio 00:1f.3 Audio device: Intel Corporation Device a170 (rev 31) 06:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1) 
 Built-in Audio digital Stereo IEC958 
 GK104 HDMI . bla bla bla 5.1 . 

in KMix Select Master Channel dialog window. How to get detected 5.1 audio for ALC887 if i am right about previous questions? Also

snd_hda_codec_hdmi 45118 1 snd_hda_codec_realtek 67127 1 snd_hda_codec_generic 63181 1 snd_hda_codec_realtek snd_hda_intel 26327 5 snd_hda_controller 26646 1 snd_hda_intel snd_hda_codec 104463 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 13148 1 snd_hda_codec snd_pcm 88662 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 26614 1 snd_pcm snd 65244 18 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel soundcore 13026 2 snd,snd_hda_codec 

3 Answers 3

Installing pulseaudio from Stretch(testing) release & reinstalling pulseaudio solved the problem. 5.1 sound system now detected in KMix select master channel dialog.

sudo apt-get purge pulseaudio sudo apt-get clean && sudo apt-get autoremove 

Reboot. Open a terminal again and type (ignore any errors with the rm command):

rm -r ~/.pulse ~/.asound* ~/.pulse-cookie ~/.config/pulse sudo apt-get install pulseaudio 

I had to uninstall pulseaudio and use alsa instead. Once I removed pulseaudio and restarted, I see HDA Intel PCH settings in kmix.

Weird thing was, even with pulseaudio installed, I could still run alsamixer and see those settings, but pulse would only find dummy audio.

I’m fine without pulse for now. I’ll update this answer if an application I need fails to function.

Edit: Debian 11 amd64 with non-free enabled, recently installed. Attempted accepted answer but it didn’t work.

A bit of background: The codec (ALC887) is an extra chip that is connected to the Intel HDA (High Definition Audio) generic sound «card» (it’s not a card, but part of the chipset).

That’s why you don’t see any ALC887 when you do lspci .

The module snd_hda_codec_realtek is responsible for driving the codec. So your codec is detected just fine. The kernel drivers work with the ALSA layer, which is why ALSA also works fine.

However, there is a bug in more recent Pulseaudio that prevents it from picking up that ALSA device. You can see that if you look at the messages Pulseaudio generates when starting.

This is why fiddling with different Pulseaudio versions fixed it temporarily, and this is also why you still see everything in alsamixer even when running Pulseaudio.

Читайте также:  Линукс как создать файл подкачки

So your question should really be titled «Pulseaudio doesn’t pick up my soundcard».

I am currently suffering from the same bug, but I haven’t found a workaround yet. I guess options are compiling older Pulseaudio versions by hand, or trying to fiddle with the Pulseaudio configuration files.

Источник

How to get Realtek ALC887-VD to play any sound or be recognized in Debian 11 (fresh install)?

The title is self-explanatory: after a fresh installation of Debian 11, there is no sound at all. The computer went to service with a burnt power supply, it was discovered that the motherboard was burnt too, and when it returned it came back with a motherboard whose chip, it seems, is not recognized by Debian, nor by Ubuntu (which I also tried to install). When I did a fresh install of Debian 11, the result is that there is no sound at all. No beep, no noise, no buzz, nothing, absolutely nothing. In the «Settings» I can see a «Dummy Output», and nothing else. When playing .mp3 files, the volume indicators in the equalizer move, but there is no sound. The chip is the Realtek ALC887-VD. I saw that there are several solutions available on the internet dealing with this specific hardware, but none of them worked. Due to character limitation, I will put in the comments the commands I ran, and their results. What can I do to get the sound in Debian working again? $ lspci -nnk | grep -A2 Audio

00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05) Subsystem: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 
**** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 
*-multimedia description: Audio device product: 6 Series/C200 Series Chipset Family High Definition Audio Controller vendor: Intel Corporation physical id: 1b bus info: pci@0000:00:1b.0 version: 05 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:27 memory:f7c00000-f7c03fff 
Module Size Used by snd_seq 86016 0 snd_seq_device 16384 1 snd_seq snd_hda_codec_hdmi 73728 1 snd_hda_codec_realtek 159744 1 snd_hda_codec_generic 98304 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_hda_intel 57344 4 snd_intel_dspcfg 28672 1 snd_hda_intel soundwire_intel 45056 1 snd_intel_dspcfg soundwire_generic_allocation 16384 1 soundwire_intel snd_soc_core 315392 1 soundwire_intel snd_compress 32768 1 snd_soc_core soundwire_cadence 36864 1 soundwire_intel snd_hda_codec 172032 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_hwdep 16384 1 snd_hda_codec soundwire_bus 90112 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence snd_pcm 135168 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core snd_timer 49152 2 snd_seq,snd_pcm snd 110592 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm soundcore 16384 1 snd 
speaker-test 1.2.4 Playback device is hw:1,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card Playback open error: -2,Arquivo ou diretório inexistente 
Currently in use: 12 blocks containing 111,0 KiB bytes total. Allocated during whole lifetime: 675722 blocks containing 1,0 GiB bytes total. Tamanho do cache para amostragem: 24,0 KiB 
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operação não permitida I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operação não permitida D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us. D: [pulseaudio] core-util.c: RealtimeKit worked. I: [pulseaudio] core-util.c: Successfully gained nice level -11. I: [pulseaudio] main.c: This is PulseAudio 14.2 D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -ffile-prefix-map=/build/pulseaudio-eJtUKc/pulseaudio-14.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto D: [pulseaudio] main.c: Running on host: Linux x86_64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) D: [pulseaudio] main.c: Found 4 CPUs. I: [pulseaudio] main.c: Page size is 4096 bytes D: [pulseaudio] main.c: Compiled with Valgrind support: no D: [pulseaudio] main.c: Running in valgrind mode: no D: [pulseaudio] main.c: Running in VM: no D: [pulseaudio] main.c: Running from build tree: no D: [pulseaudio] main.c: Optimized build: yes D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled. I: [pulseaudio] main.c: Machine ID is c2b85c79587e4109a5887f6571d1d2b1. I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse. I: [pulseaudio] main.c: Using state directory /home/fernanda/.config/pulse. I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-14.2/modules. I: [pulseaudio] main.c: Running in system mode: no E: [pulseaudio] pid.c: Daemon already running. E: [pulseaudio] main.c: pa_pid_file_create() falhou. 
 USUÁRIO PID ACESSO COMANDO /dev/snd/controlC0: fernanda 10038 F. (fernanda)pulseaudio /dev/snd/pcmC0D1p: fernanda 10038 F. m (fernanda)pulseaudio 
http://alsa-project.org/db/?f=0fcdb88ddbb6177a4ba074c5d38628a493bf0de6 
E: [pulseaudio] pid.c: Daemon already running. E: [pulseaudio] main.c: pa_pid_file_create() falhou. 
No results (yes, I've changed USERNAME for my real username before running the command) 
$ pulseaudio --kill $ pulseaudio --start 

I made a startup script with these two commands, so I wouldn’t have to remember them at each new reboot. But that doesn’t say anything about the causes of the problem. The Debian 11 installation was new, fresh. There was no reason, at least in theory, for pulseaudio not to work. What is the cause of the problem? Does anyone have any guidance to give?

Читайте также:  Alt linux virtualbox сеть

Источник

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