web-dev-qa-db-ja.com

内蔵マイクが検出されない[Lenovo Carbon X1第7世代、Ubuntu 19]

更新: このガイドのスクリプト 以前は自分ですべてのコマンドを個別に実行していたにもかかわらず、結局私のために機能するようになりました。理由は本当にわからないが、これを読んでいる人のためにそこに捨てたかった。

(序文として、私はLinuxに関してはまったくの初心者ですが、さまざまなフォーラムからのアドバイスに従って、役に立たないようにしてみました。システムのセットアップに関する明確で必要な情報を提供するために、ずっと努力してきました。)

Ubuntuを実行するつもりでLenovo X1 Carbon 7th Genを購入しました。 こちら に記載されているWifiの問題が発生したとき、Ubuntu 18でLTSを使用したいと思っていたとしても、Ubuntu 19を使用することにしました。ズームコールにマイクを使用する必要があるまで、システムはすべて問題なく動作しました、私のシステムが入力デバイスを検出していないことに気づいたとき。私の GUIサウンド設定 のように見える-選択できる入力デバイスはありませんが、私のスピーカーは機能しています。

オンラインでトラブルシューティングを行ったところ、 このフォーラムの投稿 が見つかり、Archの実行時に問題を修正する方法が説明されていました。 このLenovoフォーラムの投稿 は、このガイドがArch固有のものではなく、他のディストリビューション(Debian、Ubuntuなど)で機能する可能性があることを暗示しているので、自分でガイドを試してみることにしました。しかし、ガイドに従っても(ユーザー#bwが返信#9で指摘したタイプミスを考慮に入れても)、マイクを検出できませんでした。

現在、これは私の/etc/modprobe.d/blacklist.confのようになります。

# blacklist snd_hda_intel
# blacklist snd_soc_skl

上記のブラックリストの行をコメント解除すると、使用可能な入力ソースに違いはありませんが、スピーカーを使用できません。したがって、これらの行はコメントされたままにしておきます。

現在、これは/etc/Pulse/default.paのようになります。

load-module module-alsa-source device=hw:0,7

そして、これは次のコマンドの結果です。

# ls -l /lib/firmware/intel/sof-tplg/
total 200
-rw------- 1 jmarkey jmarkey 44987 Aug 14 13:27 sof-hda-generic-2ch.tplg
-rw------- 1 jmarkey jmarkey 45123 Aug 14 13:27 sof-hda-generic-4ch.tplg
-rw------- 1 jmarkey jmarkey 27543 Aug 14 13:27 sof-hda-generic-idisp-2ch.tplg
-rw------- 1 jmarkey jmarkey 27679 Aug 14 13:27 sof-hda-generic-idisp-4ch.tplg
-rw------- 1 jmarkey jmarkey 15343 Aug 14 13:27 sof-hda-generic-idisp.tplg
lrwxrwxrwx 1 root    root       53 Jan 17 00:08 sof-hda-generic.tpl -> /lib/firmware/intel/sof-tplg/sof-hda-generic-4ch.tplg
-rw------- 1 jmarkey jmarkey 32787 Aug 14 13:27 sof-hda-generic.tplg.original

したがって、私の現在のシステムはガイドの結果に似ています。スレッドの元の投稿の最終編集で説明されているPulseデーモンを編集しましたが、これは私の/etc/Pulse/daemon.confのようになります。

enable-lfe-remixing = yes
; lfe-crossover-freq = 0
lfe-crossover-freq = 250

これが私のハードウェアに関する情報です。

# lspci
00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Device 9b41 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Device 02f9
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Device 02f0
00:15.0 Serial bus controller [0c80]: Intel Corporation Device 02e8
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 02e9
00:16.0 Communication controller: Intel Corporation Device 02e0
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Audio device: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 02a4
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
03:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 011a
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
2d:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)

そして、これはフォーラムの返信でリクエストされた他のコマンドの結果です。

# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 66 [76%] [-15.75dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Bass Speaker',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [-0.40dB]
  Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Mic Mute-LED Mode',0
  Capabilities: enum
  Items: 'On' 'Off' 'Follow Capture' 'Follow Mute'
  Item0: 'On'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'

他の情報を投稿する必要があるかどうかをお知らせください。私は初心者なので、上記の情報が多すぎるか不十分かはわかりません。

他のいくつかの修正も試しました。特にalsamixerとpavucontrolをいじりましたが、役に立ちませんでした。これらの修正をいじってから、F4キーの後ろのライトが点灯しました(マイクが無効になっていることを示しています)が、それを押して(Fnキーを押しながらFnキーを押していない間)オフにすることはできません。 。

-------------- EDIT 1 ---------------

以下は、次のコマンドの出力です(ブラックリストファイルでコメント化された行を含む)。

dmesg | grep sof
[    0.928838] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.928847] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'

そして、ブラックリストの行のコメントを外します。

dmesg | grep sof
[    0.934483] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.934496] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    2.767718] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[    2.767724] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    2.767850] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    2.771861] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.776385] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    2.776386] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    2.822519] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[    2.822520] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[    5.892335] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[    5.892349] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
[    5.892353] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[    5.892354] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[    5.892355] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -110
10
jackson

Ubuntu 20.04を使用すると、これらの問題はすべて修正されます。

1
pwaterz

私はあなたと同じ問題を抱えていました、これが私のために働いたものです:

ステップ1:kernel.ubuntu.comから入手可能な最新のカーネルをインストールします

Ubuntu-mainline-kernel.shを使用して、kernel.ubuntu.comから入手できる最新のカーネルをインストールします。

ステップ2:linux-firmwareパッケージをUbuntu 20.04にアップグレードします

Ubuntu 20.04のlinux-firmwareパッケージをダウンロードしてインストールします。現在のバージョンは1.187です。

ステップ3:ブラックリストsnd_hda_intelおよびsnd_soc_skl

次の行を/etc/modprobe.d/blacklist.confに追加します。

blacklist snd_hda_intel
blacklist snd_soc_skl

ステップ4:PulseAudio設定を更新する次の行を/etc/Pulse/default.paに追加します。

load-module module-alsa-sink device=hw:0,0 channels=4
load-module module-alsa-source device=hw:0,7 channels=4

ステップ5:再起動

再起動し、手順1でインストールしたカーネルで起動することを確認します。

出典: https://mathieularose.com/ubuntu-19-10-on-lenovo-thinkpad-x1-carbon-7th-gen/

1
Mathieu Larose