Results 1 to 3 of 3

Thread: Getting 0bda:b812 to work on 18.04

  1. #1
    Join Date
    Jun 2018

    Question Getting 0bda:b812 to work on 18.04

    Hi all,

    I tried following the directions here:, however, this gave me a ton of compile errors.

    chris@chris-development:~/rtl8822bu$ make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/chris/rtl8822bu modules
    make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
      CC [M]  /home/chris/rtl8822bu/core/rtw_cmd.o
    In file included from /home/chris/rtl8822bu/include/osdep_service.h:41:0,
                     from /home/chris/rtl8822bu/include/drv_types.h:32,
                     from /home/chris/rtl8822bu/core/rtw_cmd.c:22:
    /home/chris/rtl8822bu/include/osdep_service_linux.h: In function ‘_init_timer’:
    /home/chris/rtl8822bu/include/osdep_service_linux.h:262:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
      ptimer->data = (unsigned long)cntx;
    /home/chris/rtl8822bu/include/osdep_service_linux.h:263:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    scripts/ recipe for target '/home/chris/rtl8822bu/core/rtw_cmd.o' failed
    make[2]: *** [/home/chris/rtl8822bu/core/rtw_cmd.o] Error 1
    Makefile:1552: recipe for target '_module_/home/chris/rtl8822bu' failed
    make[1]: *** [_module_/home/chris/rtl8822bu] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
    Makefile:1318: recipe for target 'modules' failed
    make: *** [modules] Error 2
    By any chance does anyone have a patch for what's currently at: Or perhaps another URL with better source code for the current version of Ubuntu?

    uname -a
    Linux chris-development 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    Thanks in advance for the help!

  2. #2
    Join Date
    Aug 2011
    Berlin, Germany
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Getting 0bda:b812 to work on 18.04

  3. #3
    Join Date
    Jun 2018

    Re: Getting 0bda:b812 to work on 18.04

    Thanks praseodym, sorry for taking so long to reply.

    So my system now sees enp35s0 going by ifconfig, however when I try to set up a new WiFi connection, only the physical card is a choice.

    Do I need to do something else?

    output of ifconfig:
    enp35s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether b0:6e:bf:3a:33:c3  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts