새로운 Ubuntu 20.04(커널 5.15.0-76)에서는 Wi-Fi를 사용할 수 없습니다. 제 생각에는 네트워크 드라이버에 문제가 있는 것 같습니다.
$ lspci
...
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c852 (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: 15
serial: bc:0f:f3:67:d3:6a
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.15.0-76-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=172.16.8.50 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:63 ioport:7000(size=256) memory:7dc04000-7dc04fff memory:7dc00000-7dc03fff
*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:6000(size=256) memory:7db00000-7dbfffff
나는 다음 단계를 따른다.https://github.com/juanro49/rtl88x2ce-dkms하지만 재부팅 후에는 작동하지 않습니다. Realtek 8852CE에 지정된 드라이버가 있는지 궁금합니다.
편집하다:
$ rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
(Only one device detected)
편집하다:
$ dkms status (has changed after rtw89 installed)
rtl88x2ce, 35403, 5.15.0-76-generic, x86_64: installed
$ lsmod | grep -i rtl (has changed after rtw89 installed)
rtl88x2ce 3149824 0
cfg80211 970752 2 rtl88x2ce,iwlwifi
btrtl 24576 1 btusb
bluetooth 688128 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
편집하다:
$ lspci -nnk | grep 0280 -A3
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:88e5]
05:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a80b] (rev 02)
Subsystem: Samsung Electronics Co Ltd Device [144d:a80b]
편집: @chili555에게 감사드립니다. 적절한 드라이버를 찾았습니다. 하지만 rtw89를 설치한 후에도 여전히 Wi-Fi 연결을 사용할 수 없습니다. 이제 위 명령의 출력은 다음과 같습니다.
$ rfkill (unchanged)
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
$ dkms status (I installed an extra GPU driver, still no Wifi controller driver)
nvidia, 525.125.06, 5.15.0-76-generic, x86_64: installed
$ lsmod | grep -i 8852
rtw_8852ce 16384 0
rtw_8852c 843776 1 rtw_8852ce
rtw89pci 61440 1 rtw_8852ce
rtw89core 516096 2 rtw_8852c,rtw89pci
cfg80211 970752 3 rtw_8852c,rtw89core,mac80211
$ lspci -nnk | grep 0280 -A3
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:88e5]
Kernel modules: rtw_8852ce
05:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a80b] (rev 02)
$ lspci | grep -i realtek
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c852 (rev 01)
편집: rtw8852ce를 로드하는 중 오류가 발생했습니다.
$ sudo dmesg | grep rtw
[ 1.337824] rtw89core: loading out-of-tree module taints kernel.
[ 1.337941] rtw89core: module verification failed: signature and/or required key missing - tainting kernel
[ 1.384238] rtw89_8852ce 0000:04:00.0: Direct firmware load for rtw89/rtw8852c_fw.bin failed with error -2
[ 1.384240] rtw89_8852ce 0000:04:00.0: failed to early request firmware: -2
[ 1.384294] rtw89_8852ce 0000:04:00.0: enabling device (0000 -> 0003)
[ 1.384306] rtw89_8852ce 0000:04:00.0: Direct firmware load for rtw89/rtw8852c_fw.bin failed with error -2
[ 1.385072] rtw89_8852ce 0000:04:00.0: failed to wait firmware completion
[ 1.385096] rtw89_8852ce 0000:04:00.0: failed to setup chip information
[ 1.385390] rtw89_8852ce: probe of 0000:04:00.0 failed with error -22
편집: .bin을 /usr/lib/firmware/rtw89에 다운로드한 후:
$ sudo dmesg | grep rtw
[ 1.660630] rtw89core: loading out-of-tree module taints kernel.
[ 1.660756] rtw89core: module verification failed: signature and/or required key missing - tainting kernel
[ 1.675602] rtw89_8852ce 0000:04:00.0: loaded firmware rtw89/rtw8852c_fw.bin
[ 1.675651] rtw89_8852ce 0000:04:00.0: enabling device (0000 -> 0003)
[ 1.684467] rtw89_8852ce 0000:04:00.0: Firmware version 67.84.89.80, cmd version 62, type 1
[ 1.684479] rtw89_8852ce 0000:04:00.0: MAC has already powered on
[ 1.689998] rtw89_8852ce 0000:04:00.0: [ERR]invalid fw dynamic header len
[ 1.690022] rtw89_8852ce 0000:04:00.0: parse fw header fail
[ 1.690032] rtw89_8852ce 0000:04:00.0: [ERR]fwdl 0x1E0 = 0x1
[ 1.690040] rtw89_8852ce 0000:04:00.0: [ERR]fwdl 0x83F2 = 0xdead
[ 1.690056] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002aa
[ 1.690085] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690109] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690133] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690155] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b2
[ 1.690181] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690204] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b4
[ 1.690230] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690258] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690284] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690311] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002be
[ 1.690337] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690367] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690394] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690420] rtw89_8852ce 0000:04:00.0: [ERR]fw PC = 0x200002b6
[ 1.690446] rtw89_8852ce 0000:04:00.0: failed to setup chip information
[ 1.691038] rtw89_8852ce: probe of 0000:04:00.0 failed with error -22
편집: 최신 버전 #1에서 @chili555에 의해 해결되었습니다.
답변1
먼저, 비효율적인 드라이버를 제거하십시오:
sudo dkms remove rtl88x2ce/35403 --all
그런 다음 올바른 드라이버를 설치하십시오.
sudo apt install --reinstall git bc
git clone https://github.com/lwfinger/rtw89.git
cd rtw89
make
sudo make install
보안 부팅을 비활성화해야 할 수도 있습니다. 재부팅합니다.
커널 버전이 변경되면 다음을 수행해야 합니다.
cd ~/rtw89
git pull
make clean
make
sudo make install
편집하다: 필요한 펌웨어를 로드해 보겠습니다.
cd /usr/lib/firmware/
sudo mkdir rtw89
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtw89/rtw8852c_fw.bin
재부팅합니다.