mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 00:24:20 +00:00
Merge e6e54acf3e
into 18a5f33b60
This commit is contained in:
commit
22bafe2a20
3 changed files with 51 additions and 6 deletions
15
Makefile
15
Makefile
|
@ -1,4 +1,3 @@
|
||||||
SHELL := /bin/bash
|
|
||||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
||||||
EXTRA_CFLAGS += -O1
|
EXTRA_CFLAGS += -O1
|
||||||
|
|
||||||
|
@ -23,6 +22,14 @@ CONFIG_USB_HCI = y
|
||||||
|
|
||||||
CONFIG_BT_COEXIST = n
|
CONFIG_BT_COEXIST = n
|
||||||
CONFIG_WOWLAN = n
|
CONFIG_WOWLAN = n
|
||||||
|
CONFIG_MP_INCLUDED = n
|
||||||
|
CONFIG_POWER_SAVING = n
|
||||||
|
CONFIG_USB_AUTOSUSPEND = n
|
||||||
|
CONFIG_HW_PWRP_DETECTION = n
|
||||||
|
CONFIG_WIFI_TEST = n
|
||||||
|
CONFIG_BT_COEXIST = n
|
||||||
|
CONFIG_RTL8192CU_REDEFINE_1X1 = n
|
||||||
|
CONFIG_INTEL_WIDI = n
|
||||||
|
|
||||||
export TopDIR ?= $(shell pwd)
|
export TopDIR ?= $(shell pwd)
|
||||||
|
|
||||||
|
@ -154,10 +161,7 @@ strip:
|
||||||
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -p -m 644 8188eu.ko $(MODDESTDIR)
|
install -p -D -m 644 8188eu.ko $(MODDESTDIR)/8188eu.ko
|
||||||
@if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi;
|
|
||||||
@echo "blacklist r8188eu" > /etc/modprobe.d/50-8188eu.conf
|
|
||||||
cp rtl8188eufw.bin /lib/firmware/.
|
|
||||||
/sbin/depmod -a ${KVER}
|
/sbin/depmod -a ${KVER}
|
||||||
mkdir -p /lib/firmware/rtlwifi
|
mkdir -p /lib/firmware/rtlwifi
|
||||||
cp rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
cp rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
||||||
|
@ -165,7 +169,6 @@ install:
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(MODDESTDIR)/8188eu.ko
|
rm -f $(MODDESTDIR)/8188eu.ko
|
||||||
/sbin/depmod -a ${KVER}
|
/sbin/depmod -a ${KVER}
|
||||||
@rm /etc/modprobe.d/50-8188eu.conf
|
|
||||||
|
|
||||||
config_r:
|
config_r:
|
||||||
@echo "make config"
|
@echo "make config"
|
||||||
|
|
41
README.md
Normal file → Executable file
41
README.md
Normal file → Executable file
|
@ -1,3 +1,43 @@
|
||||||
|
------下面是中文翻译 由yyw翻译-------
|
||||||
|
rtl8188eu
|
||||||
|
=========
|
||||||
|
|
||||||
|
RTL8188EU单独的驱动代码
|
||||||
|
|
||||||
|
编译驱动 & 安装
|
||||||
|
---------
|
||||||
|
###
|
||||||
|
编译这个驱动, 你要确保正确安装编译器. 除此之外,你必须要有linux编译头文件. ps:如果不理解这些,请自行查询
|
||||||
|
###编译流程
|
||||||
|
|
||||||
|
> make all
|
||||||
|
|
||||||
|
### 安装流程
|
||||||
|
|
||||||
|
> sudo make install
|
||||||
|
|
||||||
|
DKMS安装方式
|
||||||
|
---------
|
||||||
|
这个驱动模块也可以用 DKMS 来安装. 确保你已经争取安装 `dkms` 软件包
|
||||||
|
|
||||||
|
sudo dkms add ./rtl8188eu
|
||||||
|
sudo dkms build 8188eu/1.0
|
||||||
|
sudo dkms install 8188eu/1.0
|
||||||
|
|
||||||
|
错误提交
|
||||||
|
---------
|
||||||
|
|
||||||
|
|
||||||
|
常问错误
|
||||||
|
---------
|
||||||
|
|
||||||
|
### The network manager says: "Device is not ready"!
|
||||||
|
Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/
|
||||||
|
|
||||||
|
(翻译:network manager提示:Device is not ready 请确保你把固件rtl8188eufw.bin 复制到/lib/firmware/rtlwifi/目录)
|
||||||
|
|
||||||
|
|
||||||
|
英文原版README.md
|
||||||
rtl8188eu
|
rtl8188eu
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
@ -34,3 +74,4 @@ Frequently asked Questions
|
||||||
### The network manager says: "Device is not ready"!
|
### The network manager says: "Device is not ready"!
|
||||||
Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/
|
Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/
|
||||||
|
|
||||||
|
|
||||||
|
|
1
对于树莓派wifi 的bug解释.md
Executable file
1
对于树莓派wifi 的bug解释.md
Executable file
|
@ -0,0 +1 @@
|
||||||
|
这个驱动并非官方提供,而是第三方基于rtl8192cus进行修改,因此有很多模块并不能正常使用,导致wifi自动断线是POWER_SAVING模块问题,因此这个MakeFile将关闭此模块 提供者:yyw
|
Loading…
Add table
Add a link
Reference in a new issue