Package Details: rtl88x2ce-dkms 5.7.3_35403-4

Git Clone URL: https://aur.archlinux.org/rtl88x2ce-dkms.git (read-only, click to copy)
Package Base: rtl88x2ce-dkms
Description: Realtek RTL88x2CE Driver (DKMS)
Upstream URL: https://github.com/XAIOThaifeng/realtek-linux/blob/master/RTL8822CE
Keywords: 8822ce 88x2ce magicbook realtek
Licenses: GPL
Provides: rtl88x2ce
Submitter: bruceutut
Maintainer: None
Last Packager: coolreader18
Votes: 4
Popularity: 0.009258
First Submitted: 2019-12-05 01:18
Last Updated: 2020-10-12 22:20

Latest Comments

1 2 Next › Last »

coolreader18 commented on 2021-02-21 01:55

@groctel I've been looking into it, I don't think there's an easy fix for those and I'm not familiar with the kernel APIs, so I'm going to orphan this.

groctel commented on 2021-02-18 11:19

The build is failing with the following make errors:

/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c: In function ‘isFileReadable’:
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2203:11: error: implicit declaration of function ‘get_fs’; did you mean ‘get_sa’? [-Werror=implicit-function-declaration]
 2203 |   oldfs = get_fs();
      |           ^~~~~~
      |           get_sa
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2203:11: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2205:3: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
 2205 |   set_fs(KERNEL_DS);
      |   ^~~~~~
      |   sget_fc
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2205:10: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
 2205 |   set_fs(KERNEL_DS);
      |          ^~~~~~~~~
      |          KERNFS_NS
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2205:10: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2245:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
 2245 |    oldfs = get_fs();
      |            ^~~~~~
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2247:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
 2247 |    set_fs(KERNEL_DS);
      |           ^~~~~~~~~
      |           KERNFS_NS
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c: In function ‘storeToFile’:
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2284:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
 2284 |    oldfs = get_fs();
      |            ^~~~~~
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.c:2286:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
 2286 |    set_fs(KERNEL_DS);
      |           ^~~~~~~~~
      |           KERNFS_NS
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/osdep_service.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/linux/ioctl_linux.c: In function ‘rtw_wowlan_set_pattern’:
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/linux/ioctl_linux.c:8045:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 8045 |  u8 input[wrqu->data.length];
      |  ^~
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/linux/ioctl_linux.c: In function ‘rtw_priv_mp_get’:
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/linux/ioctl_linux.c:10210:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
10210 |   status = rtw_mp_dpk(dev, info, wdata, extra);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/5.7.3_35403/build/os_dep/linux/ioctl_linux.c:10211:2: note: here
10211 |  default:
      |  ^~~~~~~
make[1]: *** [Makefile:1801: /var/lib/dkms/rtl88x2ce/5.7.3_35403/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.16-arch1-1/build'
make: *** [Makefile:2296: modules] Error 2

KimJungWha commented on 2020-08-10 13:53

大佬,我的笔记本是 magicbook14 2020版,内核版本 5.7.12-arch1-1,安装以后多了一个网卡 wlan0,ifconfig 查看与原来网卡mac地址也不相同。笔记本盒盖再打开还是找不到网卡

coolreader18 commented on 2020-04-08 18:07

@brucetut whoops, sorry, vim had wrapped the line around so I didn't see that it was a make call. It's fixed properly now.

bruceutut commented on 2020-04-08 06:45

It seems a misunderstanding. Actually i mean change dkms.conf line

MAKE="'make' -j${PROCS_NUM} KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build USER_EXTRA_CFLAGS+=-DCONFIG_CONCURRENT_MODE"

to

MAKE="'make' -j${PROCS_NUM} KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build USER_EXTRA_CFLAGS+=-DCONFIG_CONCURRENT_MODE USER_EXTRA_CFLAGS+=-Wno-error=incompatible-pointer-types"

Not simply appending to file.

coolreader18 commented on 2020-04-08 03:39

@bruceutut np, thanks for the fix!

bruceutut commented on 2020-04-08 02:30

To fix this package on kernel 5.6, add USER_EXTRA_CFLAGS+=-Werror=incompatible-pointer-types to dkms.conf

bruceutut commented on 2020-03-31 01:02

Thanks for fixing this package :)

coolreader18 commented on 2020-03-30 18:29

~~ I think the upstream repository has moved, it seems to now be at https://github.com/XAIOThaifeng/realtek-linux/ ~~ nevermind, fixed

bruceutut commented on 2020-01-21 00:52

@G00D 感谢.. Makefile 依赖 bc 包,已经添加到依赖列表