정말 길고 긴 싸움 끝에 이겨냈다.
소프트웨어 구성
$ inxi -b
System: Host: ======-desktop Kernel: 5.13.0-21-generic x86_64 bits: 64 Desktop: GNOME 40.5
Distro: Ubuntu 21.10 (Impish Indri)
Machine: Type: Laptop System: LENOVO product: 82LN v: IdeaPad 5 15ALC05
serial: <superuser required>
Mobo: LENOVO model: ===== v: NO DPK serial: <superuser required> UEFI: LENOVO
v: H2CN22WW date: 09/30/2021
Battery: ID-1: BAT0 charge: 50.2 Wh (86.6%) condition: 58.0/57.0 Wh (101.7%)
CPU: Info: 8-Core AMD Ryzen 7 5700U with Radeon Graphics [MT MCP] speed: 1397 MHz
min/max: 1400/1800 MHz
Graphics: Device-1: AMD Lucienne driver: amdgpu v: kernel
Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
Display: wayland server: X.Org 1.21.1.2 driver: loaded: amdgpu
note: n/a (using device driver) resolution: 1920x1080~60Hz
OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.0-21-generic LLVM 12.0.1)
v: 4.6 Mesa 21.2.2
Network: Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter driver: N/A
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
Drives: Local Storage: total: 476.94 GiB used: 12.03 GiB (2.5%)
Info: Processes: 355 Uptime: 18m Memory: 13.52 GiB used: 2.9 GiB (21.4%) Shell: Bash
inxi: 3.3.06
대망의 해결방법
$ sudo apt-get update
$ sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
$ git clone https://github.com/lwfinger/rtw89.git -b v7
또는
$ git clone https://github.com/lwfinger/rtw89.git -b v6
$ mkdir ~/mok && cd ~/mok
$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Custom MOK/"
$ sudo mokutil --import MOK.der
$ reboot
# 블루스크린 > 'enroll mok' > (continue) > 'yes' > 비밀번호 입력 > 'reboot'
$ cd rtw89
$ make
$ /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 /home/<USERNAME>/mok/MOK.priv /home/<USERNAME>/mok/MOK.der rtw89core.ko
$ /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 /home/<USERNAME>/mok/MOK.priv /home/<USERNAME>/mok/MOK.der rtw89pci.ko
$ sudo make install
$ reboot
본인은 이걸로 해결함
'Develop' 카테고리의 다른 글
[Windows] WSL2 완벽 설치 방법 (0) | 2022.04.08 |
---|---|
[VSCode] 항상 절대경로로 import 하는 방법 (0) | 2022.02.21 |
[VSCode] 자동정렬, Prettier 설정 (0) | 2021.04.12 |
[Python3] [Errno 13] Permission denied How i solve this problem 해결 방법 (0) | 2020.06.16 |
[Android studio] javadoc 빠르게 확인하는 법 설정 블로그 (0) | 2020.06.03 |