Results 1 to 6 of 6

Thread: I can't make rtl8192du

  1. #1
    Join Date
    Aug 2008
    Location
    San Francisco
    Posts
    398

    Default I can't make rtl8192du

    Running openSUSE Leap 15.1 KDE on a ThinkPad T61. System info is:
    Code:
    howard@T61-oS15KDE:~> inxi -Fxz
    Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
    System:    Host: T61-oS15KDE Kernel: 4.12.14-lp151.28.13-default x86_64 bits: 64 gcc: 7.4.0
               Desktop: KDE Plasma 5.12.8 (Qt 5.9.7) Distro: openSUSE Leap 15.1
    Machine:   Device: laptop System: LENOVO product: 7661KH3 v: ThinkPad T61 serial: N/A
               Mobo: LENOVO model: 7661KH3 serial: N/A BIOS: LENOVO v: 7LETD0WW (2.30 ) date: 02/27/2012
    Battery    BAT0: charge: 45.3 Wh 100.1% condition: 45.3/48.8 Wh (93%) model: SANYO 92P1137 status: Full
    CPU:       Dual core Intel Core2 Duo T7500 (-MCP-) arch: Conroe rev.11 cache: 4096 KB
               flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 8778
               clock speeds: max: 2201 MHz 1: 800 MHz 2: 2201 MHz
    Graphics:  Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary) bus-ID: 00:02.0
               Display Server: x11 (X.org 1.20.3 ) drivers: modesetting (unloaded: fbdev,vesa) tty size: 179x46
    Audio:     Card Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
               Sound: Advanced Linux Sound Architecture v: k4.12.14-lp151.28.13-default
    Network:   Card-1: Intel 82566MM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: 1840 bus-ID: 00:19.0
               IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
               Card-2: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
               driver: iwl4965 v: in-tree: bus-ID: 03:00.0
               IF: wlan0 state: down mac: <filter>
               Card-3: Belkin F9L1101v2 802.11abgn Wireless Adapter [Realtek RTL8192DU] usb-ID: 007-003
               IF: null-if-id state: N/A mac: N/A
    Drives:    HDD Total Size: 160.0GB (23.4% used)
               ID-1: /dev/sda model: HITACHI_HTS72201 size: 160.0GB
    Partition: ID-1: / size: 22G used: 9.0G (44%) fs: ext4 dev: /dev/sda5
               ID-2: /home size: 5.3G used: 2.0G (39%) fs: ext4 dev: /dev/sda6
               ID-3: swap-1 size: 8.36GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
    Sensors:   None detected - is lm-sensors installed and configured?
    Info:      Processes: 185 Uptime: 2:32 Memory: 1533.5/3865.3MB Init: systemd runlevel: 5 Gcc sys: 7.4.0
               Client: Shell (bash 4.4.231) inxi: 2.3.40 
    howard@T61-oS15KDE:~>
    I have used the wireless adapter identified above as Card 3 in the past using the driver from https://github.com/lwfinger/rtl8192du. Once it took some tweaking to work because of openSUSE's backporting features from newer kernels into older ones. I could not get any tweaks to work with the current driver version. Running make returns:
    Code:
    howard@T61-oS15KDE:~/Downloads/rtl8192du-master> make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.12.14-lp151.28.13-default/build M=/home/howard/Downloads/rtl8192du-master  modules
    make[1]: Entering directory '/usr/src/linux-4.12.14-lp151.28.13-obj/x86_64/default'
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_cmd.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_security.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_debug.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_io.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_ioctl_query.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_ioctl_set.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_ieee80211.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_mlme.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_mlme_ext.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_wlan_util.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_pwrctrl.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_rf.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_recv.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_sta_mgt.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_ap.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_xmit.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_p2p.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_tdls.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_br_ext.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_iol.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_sreset.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/core/rtw_efuse.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/hal_intf.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/hal_com.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/dm.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/usb_ops_linux.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_hal_init.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_phycfg.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_rf6052.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_dm.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_rxdesc.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_cmd.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/usb_halinit.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192du_led.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192du_xmit.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192du_recv.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/rtl8192d_xmit.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/hal/Hal8192DUHWImg.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/os_dep/osdep_service.o
      CC [M]  /home/howard/Downloads/rtl8192du-master/os_dep/os_intfs.o
    /home/howard/Downloads/rtl8192du-master/os_dep/os_intfs.c:576:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
      .ndo_select_queue = rtw_select_queue,
                          ^~~~~~~~~~~~~~~~
    /home/howard/Downloads/rtl8192du-master/os_dep/os_intfs.c:576:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
    /home/howard/Downloads/rtl8192du-master/os_dep/os_intfs.c:1712:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
      .ndo_select_queue = rtw_select_queue,
                          ^~~~~~~~~~~~~~~~
    /home/howard/Downloads/rtl8192du-master/os_dep/os_intfs.c:1712:22: note: (near initialization for ‘rtw_netdev_if2_ops.ndo_select_queue’)
    cc1: some warnings being treated as errors
    make[4]: *** [/usr/src/linux-4.12.14-lp151.28.13/scripts/Makefile.build:325: /home/howard/Downloads/rtl8192du-master/os_dep/os_intfs.o] Error 1
    make[3]: *** [/usr/src/linux-4.12.14-lp151.28.13/Makefile:1569: _module_/home/howard/Downloads/rtl8192du-master] Error 2
    make[2]: *** [Makefile:152: sub-make] Error 2
    make[1]: *** [Makefile:24: __sub-make] Error 2
    make[1]: Leaving directory '/usr/src/linux-4.12.14-lp151.28.13-obj/x86_64/default'
    make: *** [Makefile:609: modules] Error 2
    howard@T61-oS15KDE:~/Downloads/rtl8192du-master>
    Is there a version somewhere that will work with Leap 15.1?
    Or a way to edit this package so it will make?

    Thanks,
    Howard
    Last edited by crmrhm; 18-Aug-2019 at 20:03. Reason: bad format
    Howard
    ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,947

    Default AW: I can't make rtl8192du

    Post:
    Code:
    lsusb
    so that we can see the ID of the Chip.

    Than I can search maybe for a driver.rpm in my Repo.
    Or build some new.

  3. #3
    Join Date
    Aug 2008
    Location
    San Francisco
    Posts
    398

    Default Re: I can't make rtl8192du

    It says:
    Code:
    howard@T61-oS15KDE:~> lsusb
    Bus 007 Device 003: ID 050d:110a Belkin Components F9L1101v2 802.11abgn Wireless Adapter [Realtek RTL8192DU]
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 002: ID 0a5c:2110 Broadcom Corp. BCM2045B (BDC-2) [Bluetooth Controller]
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    howard@T61-oS15KDE:~>
    Thanks.
    Howard
    ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

  4. #4
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,947

    Default AW: I can't make rtl8192du

    Add my Repo as root:
    Code:
    zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Leap_15.1_Update/ Repo-Sauerland
    Install:
    Code:
    zypper in rtl8192du-kmp-default rtl8192du-firmware
    Reboot your Computer.

    If the Wlan is not shown please open an Terminal and post here:
    Code:
    journalctl -b | grep -i firm
    Because I have moved the firmware to /lib/firmware, maybe the driver is expecting the firmware at another place.
    So I could change it in the rpm.

  5. #5
    Join Date
    Aug 2008
    Location
    San Francisco
    Posts
    398

    Default Re: I can't make rtl8192du - Success

    Success. I'm sending this through the Belkin adapter. It is working properly. Thanks for solving this.

    Will it survive kernel updates?

    Best regards,
    Howard
    ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

  6. #6
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,947

    Default AW: Re: I can't make rtl8192du - Success

    Quote Originally Posted by crmrhm View Post
    Success. I'm sending this through the Belkin adapter. It is working properly. Thanks for solving this.

    Will it survive kernel updates?

    Best regards,
    Fine to hear that it is working.

    Yes, there will be a new kmp shortly after an kernel update and you will get it per update automatically.

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
  •