Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for linux-6.3 #217

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Patch for linux-6.3 #217

wants to merge 5 commits into from

Conversation

ziman
Copy link

@ziman ziman commented May 10, 2023

This is just a small change on top of #209 that makes the driver compile on linux-6.3. Most of the diff comes from #209 and my only change is this: 39baac1

I'm not sure if 0 is the right value for the extra parameter but the driver seems to work with it.

@rrafal1337
Copy link
Contributor

It seems that there is driver shipped with kernel 6.3.5 and it works with my hardware.

[Wed Jun  7 03:28:30 2023] usb 1-2: new high-speed USB device number 4 using xhci_hcd
[Wed Jun  7 03:28:30 2023] usb 1-2: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[Wed Jun  7 03:28:30 2023] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Wed Jun  7 03:28:30 2023] usb 1-2: Product: 802.11ac NIC
[Wed Jun  7 03:28:30 2023] usb 1-2: Manufacturer: Realtek
[Wed Jun  7 03:28:30 2023] usb 1-2: SerialNumber: 123456
[Wed Jun  7 03:28:30 2023] rtw_8821cu 1-2:1.0: Firmware version 24.11.0, H2C version 12
[Wed Jun  7 03:28:30 2023] usbcore: registered new interface driver rtw_8821cu
[Wed Jun  7 03:28:30 2023] rtw_8821cu 1-2:1.0 wlp4s0f3u2: renamed from wlan0
rru04@seagull ~ 11:58:57 $ modinfo rtw88_8821cu
filename:       /lib/modules/6.3.5-200.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821cu.ko.xz
license:        Dual BSD/GPL
description:    Realtek 802.11ac wireless 8821cu driver
author:         Hans Ulli Kroll <[email protected]>
alias:          usb:v0BDAp2006d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp8811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Bd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Ad*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC821d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB82Bd*dc*dsc*dp*icFFiscFFipFFin*
depends:        rtw88_usb,rtw88_8821c
retpoline:      Y
intree:         Y
name:           rtw88_8821cu
vermagic:       6.3.5-200.fc38.x86_64 SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Fedora kernel signing key
sig_key:        76:77:D2:CA:8C:0A:B7:A7:39:59:A2:B0:7A:5A:E2:61:10:CB:E7:D0
sig_hashalgo:   sha256
signature:      42:80:9C:8B:79:B8:CC:1B:E7:A0:40:00:8E:5B:8E:61:8B:25:DD:6B:
		77:51:4C:54:39:13:A2:47:B7:89:FB:7B:DE:D1:34:A6:FF:33:AA:A3:
		EE:9A:81:54:8A:A2:16:47:76:28:A6:87:69:EF:B8:BA:68:D7:EE:2D:
		34:61:63:00:47:A6:10:9F:98:DF:85:E2:A1:CE:C9:59:EE:20:9B:B9:
		42:23:8B:F9:2A:E8:16:2F:15:CE:13:EB:AE:C8:BB:B2:C5:C2:03:EA:
		A6:FC:8E:87:6D:72:5A:E4:2E:1A:C7:72:96:51:20:3B:4B:5F:CE:B9:
		A3:21:B3:B6:EF:73:D8:B0:8E:25:39:7F:2B:5F:CB:C0:D8:9F:D1:59:
		6C:84:F2:13:2E:D2:E2:FA:EA:41:23:BD:BF:EC:EA:6A:7B:8E:77:2E:
		2B:0C:B8:8D:4C:4A:04:52:BB:14:D9:AD:34:93:DD:EC:3D:29:4F:8E:
		21:9C:A8:73:70:4D:D1:E9:24:A4:34:35:52:20:C3:0F:87:DE:58:8D:
		DD:E1:33:0E:58:5B:91:9A:E2:E5:B7:8B:E9:F0:7B:F4:76:FF:B4:A2:
		77:99:2B:C9:B2:35:5D:64:04:0E:9F:64:81:C4:85:AA:AB:4F:D1:6C:
		37:48:57:F2:36:64:B9:29:3A:F1:F4:1F:8F:A8:B8:56:9B:15:B2:AD:
		56:67:A5:2B:3D:DD:42:ED:0C:13:34:68:97:C4:49:C6:49:7F:36:5A:
		AA:91:07:EE:0D:AB:16:77:84:83:10:8F:B2:72:C5:0D:2C:20:B5:3A:
		06:98:84:6F:EB:6F:E3:6E:2E:1C:94:36:42:6B:8E:49:11:CB:41:E3:
		E8:4A:DF:3D:3D:03:0E:B5:6E:6A:E2:F8:38:32:7F:9F:FB:B9:5A:CB:
		F5:DE:AF:F0:2D:3C:00:97:0D:82:04:D4:D1:AD:50:8E:62:3D:6A:43:
		8F:BE:16:1F:20:59:0E:7A:03:FB:4C:8D:A5:C2:43:98:E1:D3:9A:18:
		FB:52:45:48:4F:8E:96:65:A4:F6:42:92:93:A3:A2:61:AB:83:D3:CA:
		0E:CC:28:47:C8:54:E8:9E:8A:56:47:99:BC:69:47:6D:1C:F3:E6:48:
		24:6A:A7:FD:12:61:B0:3E:AA:C3:F9:AD:83:F3:5F:1E:C1:CB:86:BC:
		5C:17:1C:DA:40:E7:B9:59:51:91:9D:C5:B8:B6:71:A4:7F:99:8D:27:
		5D:F9:DD:9A:D7:AB:E3:7B:0F:90:9D:14:46:A9:81:48:0E:DB:11:CB:
		CD:03:70:C9:6D:07:92:1C:10:5D:97:7D:AB:E7:CE:4A:6C:51:6F:A0:
		24:D3:A9:15:3E:6F:EA:18:B5:C0:95:0D

So it means now cards based on rtl8821cu chip will work out of the box on latest kernels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants