@Sauerland Your repo is my second solution for this problem. I would like to try the build with dkms.
Here my console output:
localhost:/usr/src/8192cu-1.11 # ls
8192cu-disable-power-management.conf README.md clean dkms.conf include runwpa
Makefile blacklist-native-rtl8192.conf core hal os_dep
localhost:/usr/src/8192cu-1.11 # dkms status
8192cu, 1.10, 4.14.12-1-default, x86_64: installed
8192cu, 1.10, 4.14.13-1-default, x86_64: installed
8192cu, 1.10, 4.14.14-1-default, x86_64: installed
8192cu, 1.10, 4.14.15-1-default, x86_64: installed
8192cu, 1.11, 4.15.1-1-default, x86_64: installed
8192cu, 1.11, 4.15.3-1-default, x86_64: installed
8192cu, 1.11, 4.15.5-1-default, x86_64: installed
8192cu, 1.11, 4.15.6-1-default, x86_64: installed
8192cu, 4.0.29: added
8192cu, 1.11, 4.15.5-1-default, x86_64: installed-weak from 4.15.6-1-default
localhost:/usr/src # dkms uninstall 8192cu/1.10
Error! The module 8192cu 1.10 is not currently installed.
This module is not currently ACTIVE for kernel 4.15.6-1-default (x86_64).
localhost:/usr/src # dkms uninstall 8192cu/4.0.29
Error! The module 8192cu 4.0.29 is not currently installed.
This module is not currently ACTIVE for kernel 4.15.6-1-default (x86_64).
localhost:/usr/src # dkms remove 8192cu/1.10 --all
...
localhost:/usr/src # dkms remove 8192cu/4.0.29 --all
------------------------------
Deleting module version: 4.0.29
completely from the DKMS tree.
------------------------------
Done.
localhost:/usr/src # dkms status
8192cu, 1.11, 4.15.1-1-default, x86_64: installed
8192cu, 1.11, 4.15.3-1-default, x86_64: installed
8192cu, 1.11, 4.15.5-1-default, x86_64: installed
8192cu, 1.11, 4.15.6-1-default, x86_64: installed
8192cu, 1.11, 4.15.5-1-default, x86_64: installed-weak from 4.15.6-1-default
localhost:/usr/src # cat 8192cu-1.11/dkms.conf
PACKAGE_NAME="8192cu"
PACKAGE_VERSION="1.11"
BUILT_MODULE_NAME="8192cu"
DEST_MODULE_LOCATION="/kernel/drivers/net/wireless/"
REMAKE_INITRD="yes"
AUTOINSTALL="yes"