lwfinger / rtl8188gu

This repo contains a Linux driver for the RTL8188GU
55 stars 20 forks source link

does not seem to be a rtl8188gu driver! #1

Closed AleXoundOS closed 4 years ago

AleXoundOS commented 4 years ago

The build of unmodified sources of this repository produces a kernel module 8188gtvu.ko. insmod 8188gtvu.ko works fine, however it has no interaction with my 0bda:b711 usb device (Tenda W311MI v3).

Makefile has RTL8188GTV build enabled instead of RTL8710B which has to be enabled according to the id table record for the rtl8188gu driver:

#ifdef CONFIG_RTL8710B
    /*=== Realtek dongle ===*/
    {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xB711, 0xff, 0xff, 0xff), .driver_info = RTL8710B}, /* 8710B = 8188GU 1*1 */
#endif

I have fixed the Makefile. However, the build now fails, since there is no rtl8710b directory:

In file included from /build/test/include/hal_data.h:20,
                 from /build/test/core/rtw_cmd.c:18:
/build/test/include/../hal/phydm/phydm_precomp.h:369:12: fatal error: rtl8710b/halhwimg8710b_bb.h: No such file or directory
   #include "rtl8710b/halhwimg8710b_bb.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/source/scripts/Makefile.build:303: /build/test/core/rtw_cmd.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /build/test/include/hal_data.h:20,
                 from /build/test/core/rtw_io.c:48:
/build/test/include/../hal/phydm/phydm_precomp.h:369:12: fatal error: rtl8710b/halhwimg8710b_bb.h: No such file or directory
   #include "rtl8710b/halhwimg8710b_bb.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /build/test/include/hal_data.h:20,
                 from /build/test/core/rtw_ioctl_set.c:18:
/build/test/include/../hal/phydm/phydm_precomp.h:369:12: fatal error: rtl8710b/halhwimg8710b_bb.h: No such file or directory
   #include "rtl8710b/halhwimg8710b_bb.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/source/scripts/Makefile.build:303: /build/test/core/rtw_io.o] Error 1
In file included from /build/test/include/hal_data.h:20,
                 from /build/test/core/rtw_debug.c:18:
/build/test/include/../hal/phydm/phydm_precomp.h:369:12: fatal error: rtl8710b/halhwimg8710b_bb.h: No such file or directory
   #include "rtl8710b/halhwimg8710b_bb.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/source/scripts/Makefile.build:303: /build/test/core/rtw_ioctl_set.o] Error 1
In file included from /build/test/include/hal_data.h:20,
                 from /build/test/core/rtw_mlme.c:17:
/build/test/include/../hal/phydm/phydm_precomp.h:369:12: fatal error: rtl8710b/halhwimg8710b_bb.h: No such file or directory
   #include "rtl8710b/halhwimg8710b_bb.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/source/scripts/Makefile.build:303: /build/test/core/rtw_debug.o] Error 1
make[4]: *** [/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/source/scripts/Makefile.build:303: /build/test/core/rtw_mlme.o] Error 1
make[3]: *** [/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/source/Makefile:1525: _module_/build/test] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:24: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/2qp8jg266dgq3hlnf8by3lqddx527ls9-linux-4.19.84-dev/lib/modules/4.19.84/build'
make: *** [Makefile:2287: modules] Error 2
jianan423 commented 4 years ago

成功安装,但不管用。5.5.0-kali1-amd64

lwfinger commented 4 years ago

The previous one was not for the 8188gu. A new one has been pushed. As before, this one has not been tested, but at least it has the correct USB ID in its tables.

AleXoundOS commented 4 years ago

The new commit 891c425 seems to match rtl8188gu device. Builds, loads, detects.

wandercn commented 2 years ago

我也遇到8188gu型号驱动问题,自己找资料整理了安装指南.我在Raspberry pi 和 ubuntu 20.0.4都安装成功了。deepin也应该可以。解决了您的问题帮忙点个星星

https://github.com/wandercn/RTL8188GU