Package Details: rtl88x2bu-dkms-git 5.6.1.r30.20fba52-1

Git Clone URL: https://aur.archlinux.org/rtl88x2bu-dkms-git.git (read-only, click to copy)
Package Base: rtl88x2bu-dkms-git
Description: Kernel module for Realtek rtl88x2bu WiFi chipset
Upstream URL: https://github.com/RinCat/RTL88x2BU-Linux-Driver
Licenses: GPL2
Submitter: RinCat
Maintainer: RinCat
Last Packager: RinCat
Votes: 7
Popularity: 0.49
First Submitted: 2018-11-23 23:14
Last Updated: 2019-09-21 10:30

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

lendarker commented on 2020-04-12 12:56

Okay, that got the dkms module working again. However, the current version appears to not work with my adapter anymore. It finds the wifi, but setting up the interface fails after a long time. I've had this with other/earlier driver versions before, then it worked flawlessly for months, now it seems to be back.

My vendor/device id lists as 0x0bda:0xb812.

Any idea what I can do to get it working again?

RinCat commented on 2020-04-11 18:12

@lendarker reinstall this package should get you the new code form git.

lendarker commented on 2020-04-11 09:21

I'm getting build errors on the latest kernel (5.6.3-arch1-1):

[eddy@corsair ~]$ grep "rror" /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/make.log 
/var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/ioctl_cfg80211.c:692:18: error: storage size of 'ts' isn't known
/var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/ioctl_cfg80211.c:693:2: error: implicit declaration of function 'getboottime'; did you mean 'getboottime64'? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/ioctl_cfg80211.o] Error 1
/var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/rtw_proc.c:70:71: 
error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:267: /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build/os_dep/linux/rtw_proc.o] Error 1
make[1]: *** [Makefile:1683: /var/lib/dkms/rtl88x2bu/5.6.1.r30.20fba52/build] Error 2
make: *** [Makefile:2245: modules] Error 2

matthewls commented on 2020-04-07 20:31

Thank you, RinCat! I was at a loss 'til I found your package. Cheers, matthew

RinCat commented on 2020-04-07 19:48

Updated to support Linux 5.6

sylphid commented on 2020-04-07 04:24

does't help this issue, but while you are working on it, http://www.cudytech.com/wu1200_software_download contains 5.6.1.6

this is the only patch that I saw in it

--- a/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c    2020-01-28 09:28:36.000000000 -0600
+++ b/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c    2019-10-24 21:17:05.000000000 -0500
@@ -443,11 +443,11 @@
                odm_write_4byte(dm, 0x1bd8, data);
            }
            if (idx == 0) {
-               report = !(iqk->iqk_fail_report[ch][path][idx]);
+               report = ~(iqk->iqk_fail_report[ch][path][idx]);
                odm_set_bb_reg(dm, iqk_apply[path],
                           BIT(0), report);
            } else {
-               report = !(iqk->iqk_fail_report[ch][path][idx]);
+               report = ~(iqk->iqk_fail_report[ch][path][idx]);
                odm_set_bb_reg(dm, iqk_apply[path],
                           BIT(10), report);
            }

RinCat commented on 2020-04-07 03:53

@sylphid it could be fixed tomorrow if I get enough time.

sylphid commented on 2020-04-07 02:39

It seems that this module is broken in kernels 5.6 and newer from this commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/?id=d56c0d45f0e27f814e87a1676b6bdccccbc252e9

/var/lib/dkms/rtl88x2bu/5.6.1.r55.5745458/build/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/var/lib/dkms/rtl88x2bu/5.6.1.r55.5745458/build/os_dep/linux/rtw_proc.c:70:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   70 |  entry = proc_create_data(name,  S_IFREG | S_IRUGO | S_IWUGO, parent, fops, data);
      |                                                                       ^~~~
      |                                                                       |
      |                                                                       const struct file_operations *
In file included from /var/lib/dkms/rtl88x2bu/5.6.1.r55.5745458/build/include/../os_dep/linux/rtw_proc.h:18,
                 from /var/lib/dkms/rtl88x2bu/5.6.1.r55.5745458/build/include/osdep_intf.h:128,
                 from /var/lib/dkms/rtl88x2bu/5.6.1.r55.5745458/build/include/drv_types.h:106,
                 from /var/lib/dkms/rtl88x2bu/5.6.1.r55.5745458/build/os_dep/linux/rtw_proc.c:17:
./include/linux/proc_fs.h:59:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
   59 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
      |                               ^~~~~~~~~~~~~~~~

RinCat commented on 2020-01-24 17:29

@cwaffles Since this is DKMS version, I don't plan add a specific kernel headers. DKMS users should have their kernels headers installed already.

cwaffles commented on 2020-01-24 16:33

Please add the kernel headers to the dependency list (pacman -S linux-headers)

Packages (1) rtl88x2bu-dkms-git-5.6.1.r49.4a67f9d-1

Total Installed Size: 25.49 MiB

:: Proceed with installation? [Y/n] (1/1) checking keys in keyring [#####] 100% (1/1) checking package integrity [#####] 100% (1/1) loading package files [#####] 100% (1/1) checking for file conflicts [#####] 100% (1/1) checking available disk space [#####] 100% :: Processing package changes... (1/1) installing rtl88x2bu-dkms-git [#####] 100% :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Install DKMS modules ==> Unable to install module rtl88x2bu/5.6.1.r49.4a67f9d for kernel *: Missing kernel headers.