Package Details: 8188eu-dkms-git 5.2.2.4.r767.33dbf80-1

Git Clone URL: https://aur.archlinux.org/8188eu-dkms-git.git (read-only, click to copy)
Package Base: 8188eu-dkms-git
Description: Standalone driver for Realtek RTL8188EUS (RTL8188EUS, RTL8188ETV) WLAN
Upstream URL: https://github.com/lwfinger/rtl8188eu
Licenses: GPL2
Conflicts: 8188eu-dkms
Provides: 8188eu-dkms
Submitter: Sunday
Maintainer: None
Last Packager: codicodi
Votes: 3
Popularity: 0.114752
First Submitted: 2018-12-07 15:23
Last Updated: 2020-05-11 09:24

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

miguelmsoler commented on 2021-03-04 18:38

Hi, I the module can not be build on kernel:


(2/2) Install DKMS modules
==> dkms install --no-depmod -m 8188eu -v 5.2.2.4.r769.08c73ad -k 5.11.2-arch1-1
Error! Bad return status for module build on kernel: 5.11.2-arch1-1 (x86_64)
Consult /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m 8188eu -v 5.2.2.4.r769.08c73ad -k 5.11.2-arch1-1' returned 10
==> depmod 5.11.2-arch1-1

make.log:


DKMS make.log for 8188eu-5.2.2.4.r769.08c73ad for kernel 5.11.2-arch1-1 (x86_64)
Thu Mar  4 03:33:41 PM -03 2021
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.11.2-arch1-1/build M=/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build  modules
make[1]: Entering directory '/usr/lib/modules/5.11.2-arch1-1/build'
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_mi.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/core/rtw_efuse.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/os_intfs.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/usb_intf.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/usb_ops_linux.o
  CC [M]  /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/ioctl_linux.o
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c: In function ‘isFileReadable’:
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1101:11: error: implicit declaration of function ‘get_fs’; did you mean ‘get_sa’? [-Werror=implicit-function-declaration]
 1101 |   oldfs = get_fs();
      |           ^~~~~~
      |           get_sa
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1101:11: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1102:3: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
 1102 |   set_fs(KERNEL_DS);
      |   ^~~~~~
      |   sget_fc
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1102:10: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
 1102 |   set_fs(KERNEL_DS);
      |          ^~~~~~~~~
      |          KERNFS_NS
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1102:10: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1139:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
 1139 |    oldfs = get_fs();
      |            ^~~~~~
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1140:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
 1140 |    set_fs(KERNEL_DS);
      |           ^~~~~~~~~
      |           KERNFS_NS
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c: In function ‘storeToFile’:
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1174:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
 1174 |    oldfs = get_fs();
      |            ^~~~~~
/var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.c:1175:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
 1175 |    set_fs(KERNEL_DS);
      |           ^~~~~~~~~
      |           KERNFS_NS
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build/os_dep/osdep_service.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1800: /var/lib/dkms/8188eu/5.2.2.4.r769.08c73ad/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.11.2-arch1-1/build'
make: *** [Makefile:482: modules] Error 2

I think we need a patch for that get_fs error.

TheGoliath commented on 2021-02-25 07:54

https://aur.archlinux.org/packages/8188eu-dkms/

Those patches might be needed

jdevelop commented on 2020-09-30 23:44

@codicodi I tested a few more drivers and looks like the device I have is based on rtl8188fu. So my previous comment is likely irrelevant.

codicodi commented on 2020-09-30 22:48

@jdevelop I don't own a device with this id so can't really help you. Can you report it upstream?

jdevelop commented on 2020-09-30 22:08

Linux devbox 5.8.12-arch1-1 #1 SMP PREEMPT Sat, 26 Sep 2020 21:42:58 +0000 x86_64 GNU/Linux

iw phy doesn't show the device in the list

Getting this output on driver plugin:

[  280.959678] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[  281.100306] usb 1-2: New USB device found, idVendor=0bda, idProduct=f179, bcdDevice= 0.00
[  281.100312] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  281.100315] usb 1-2: Product: 802.11n
[  281.100317] usb 1-2: Manufacturer: Realtek
[  281.100320] usb 1-2: SerialNumber: 1CBFCEF0C275
[  281.102258] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.read_chip_version ###
[  281.102261] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.init_default_value ###
[  281.102263] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.intf_chip_configure ###
[  281.102265] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.read_adapter_info ###
[  281.102266] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_power_on ###
[  281.102268] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_power_off ###
[  281.102270] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_init ###
[  281.102272] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_deinit ###
[  281.102273] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.init_xmit_priv ###
[  281.102275] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.free_xmit_priv ###
[  281.102276] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_xmit ###
[  281.102278] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.mgnt_xmit ###
[  281.102279] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_xmitframe_enqueue ###
[  281.102281] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.init_recv_priv ###
[  281.102282] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.free_recv_priv ###
[  281.102284] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.inirp_init ###
[  281.102286] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.inirp_deinit ###
[  281.102288] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.interrupt_handler ###
[  281.102289] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.dm_init ###
[  281.102291] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.dm_deinit ###
[  281.102293] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_dm_watchdog ###
[  281.102294] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.set_chnl_bw_handler ###
[  281.102296] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.set_hw_reg_handler ###
[  281.102298] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.GetHwRegHandler ###
[  281.102299] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.get_hal_def_var_handler ###
[  281.102301] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.SetHalDefVarHandler ###
[  281.102302] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.GetHalODMVarHandler ###
[  281.102304] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.SetHalODMVarHandler ###
[  281.102306] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.update_ra_mask_handler ###
[  281.102308] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.SetBeaconRelatedRegistersHandler ###
[  281.102310] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.fill_h2c_cmd ###
[  281.102311] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.fill_fake_txdesc ###
[  281.102313] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.hal_get_tx_buff_rsvd_page_num ###
[  281.102315] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.fw_dl ###
[  281.102317] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.get_tx_power_index_handler ###
[  281.102318] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.sreset_init_value ###
[  281.102320] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.sreset_reset_value ###
[  281.102321] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.silentreset ###
[  281.102323] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.sreset_xmit_status_check ###
[  281.102325] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.sreset_linked_status_check ###
[  281.102327] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.sreset_get_wifi_status ###
[  281.102328] RTW: ### rtw_hal_ops_check - Error : Please hook hal_func.sreset_inprogress ###
[  281.223682] usb 1-2: reset high-speed USB device number 12 using xhci_hcd

lpapp commented on 2020-05-11 08:56

Feel free to maintain it =) Thanks.

codicodi commented on 2020-05-07 08:42

This does not currently build, as dkms.conf file was dropped from upsteam: https://github.com/lwfinger/rtl8188eu/commit/b572d3030ab12c5d7b83c1f406711153d6dc6ead

Additionally 'git' should be a makedepend.

Sunday commented on 2018-12-26 20:25

No, I was only interested in setting up hostapd. Vanilla hostapd did not work with any rtl8188eu driver I could find, so I resorted to hostapd-rtl871xdrv, which requires the kernel patch mentioned in my other comment. In turn, this works with the r8188eu driver which is in staging. So I will not be using this PKGBUILD myself, but will be happy to fix it in case it breaks for whatever reason. It should also be easily adapted to any fork of https://github.com/lwfinger/rtl8188eu that anyone likes to try.

dront78 commented on 2018-12-26 19:10

did you try this one? https://github.com/kimocoder/rtl8188eus seems a newer version with monitor mode support

detail available at the bottom of https://github.com/lwfinger/rtl8188eu/issues/73

Sunday commented on 2018-12-07 15:27

I created this, because the packages rtl8188eu-dkms-git and rtl8188eu-git do not work anymore.

I even got hostapd-rtl871xdrv to work using this driver, by building a patched kernel where I reverted some commits that where removing the legacy wireless ioctls, for the patch see https://pastebin.com/2nmLS4d6.