Заметил что в моём HP ProBook 440 G8 нет звука со встроенного микрофона. Сейчас установлен Debian 13 со всеми обновлениями, но запись звука через arecord даёт только тишину.
$ arecord -l **** List of CAPTURE Hardware Devices **** card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0
В логе загрузки ядра не вижу чего-то подозрительного связанного со звуком.
$ journalctl -k | grep audio Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002) Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4 Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4 Sep 26 15:25:17 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0: Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-tgl.ri Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-2ch.tplg Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 Sep 26 15:25:18 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1 Sep 26 15:25:18 dragoncore kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker Sep 26 15:25:18 dragoncore kernel: snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Sep 26 15:25:18 dragoncore kernel: snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) Sep 26 15:25:18 dragoncore kernel: snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0 Sep 26 15:25:18 dragoncore kernel: snd_hda_codec_realtek ehdaudio0D0: inputs: Sep 26 15:25:18 dragoncore kernel: snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
Встроенные микрофоны определяются DMICs detected in NHLT tables: 2. Попробовал обсудить эту проблему с нейронкой и она вывела меня на сообщение об ошибке в alsa-ucm-conf ([Regression] v1.2.13 broke my laptop's headphone microphone в котором описана проблема в аналогичном ноутбуке.
Установил пакет alsa-ucm-conf из trixie-backports
sudo apt install -t trixie-backports alsa-ucm-conf
После этого заработала запись звука из hw:0,7, но всё ещё не было звука из hw:0,6. Дальше можно приводить длинную сессию дебага с нейронкой, которая длилась пока мне не надоело слушать про "ваш случай отличается от указанного в баге". В итоге решил перейти на ядро из бэкпортов
sudo apt install -t trixie-backports linux-image-amd64
После перезагрузки запись со встроенного микрофона заработала штатно.
Лог загрузки на ядре 7.1.8
Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002) Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915]) Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0: Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-tgl.ri Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-2ch.tplg Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: loading topology: intel/sof-tplg/sof-hda-generic-2ch.tplg Sep 26 16:18:06 dragoncore kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1 Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: ALC236: picked fixup for PCI SSID 103c:0000 Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: mono: mono_out=0x0 Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: inputs: Sep 26 16:18:06 dragoncore kernel: snd_hda_codec_alc269 ehdaudio0D0: Mic=0x19
Из лога пропала строка sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30., но остальные записи выглядят аналогично.
На всякий случай проверил работу звука с гарнитурой, но никаких проблем не заметил. Подключение проводной гарнитуры корректно обрабатывается и по-умолчанию для записи звука выбирается микрофон гарнитуры а не встроенный в ноутбук.
Комментариев нет:
Отправить комментарий