web-dev-qa-db-ja.com

デュアルブートUbuntu 18.04 Wifiを搭載したThinkPad-E480が機能しない。どうすれば修正できますか?

私はこのThinkPadノートブックでwifiを動作させようとしていますが、これまでのところ成功していません。誰でもこれを修正するのを手伝ってくれますか?以下はシステムに関する情報です。

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

uname -r

4.15.0-36-generic

lspci -nnk | grep net -A3

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
    Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5068]
    Kernel driver in use: r8169
    Kernel modules: r8169
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:b822]

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5914] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
00:08.0 System peripheral [0880]: Intel Corporation Skylake Gaussian Mixture Model [8086:1911]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port [8086:9d10] (rev f1)
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 [8086:9d14] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 [8086:9d18] (rev f1)
00:1d.2 PCI bridge [0604]: Intel Corporation Device [8086:9d1a] (rev f1)
00:1d.3 PCI bridge [0604]: Intel Corporation Device [8086:9d1b] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d4e] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
02:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Polaris12 [1002:699f] (rev c0)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:b822]
06:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8621] (rev 01)

Sudo lshw -C network

  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 10
       serial: 64:1c:67:9a:fb:e4
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:16 ioport:c000(size=256) memory:f1204000-f1204fff memory:f1200000-f1203fff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: docker0
       serial: 02:42:5b:4d:e7:68
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes

試した この答え 、最後のステップでこのエラーが発生しました:

modprobe: ERROR: could not insert '8821ce': Required key not available

試した この答え 、最後のステップでこのエラーが発生しました:

modprobe: ERROR: could not insert 'rtl8723de': Required key not available

この回答 (/ a/998182/885763)を試しました。Sudo make installでこのエラーが発生しました:

make -C /lib/modules/4.15.0-36-generic/build M=/home/lucas/Documents/driver/rtlwifi-next modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  CC [M]  /home/lucas/Documents/driver/rtlwifi-next/base.o
/home/lucas/Documents/driver/rtlwifi-next/base.c: In function ‘_rtl_init_deferred_work’:
/home/lucas/Documents/driver/rtlwifi-next/base.c:460:2: error: implicit declaration of function ‘setup_timer’; did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration]
  setup_timer(&rtlpriv->works.watchdog_timer,
  ^~~~~~~~~~~
  sk_stop_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/lucas/Documents/driver/rtlwifi-next/base.o' failed
make[2]: *** [/home/lucas/Documents/driver/rtlwifi-next/base.o] Error 1
Makefile:1551: recipe for target '_module_/home/lucas/Documents/driver/rtlwifi-next' failed
make[1]: *** [_module_/home/lucas/Documents/driver/rtlwifi-next] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
Makefile:100: recipe for target 'all' failed
make: *** [all] Error 2

注目してくれてありがとう!

1
Lucas Garcia

this answer および this post に記載されている手順にほぼ従うことで、セキュアブートを無効にしました。後者からは、この質問全体を完成させるために、ほとんどの手順(方法2)をコピーします。

1)Sudo mokutil --disable-validationを実行し、簡単なパスワード(12345678など)を選択します。

2)システムを再起動し、ブルースクリーンが表示されたら任意のキーを押します(MOK管理)。

3)[セキュアブート状態の変更]を選択します。

4)ステップ1で選択したパスワードを入力し、Enterキーを押して、説明に注意してください。

5)[はい]を選択して、シム署名のセキュアブートを無効にします。

6)Enterキーを押して、手順全体を完了します。

7)この後、再起動してWifiに正常に接続できるはずです。

Shimでセキュアブート検証を再度有効にするには、Sudo mokutil --enable-validationを実行するだけです。

1
Lucas Garcia