From 5e9a06662b1d6404a9f7b01cd777b24ba08e2fd3 Mon Sep 17 00:00:00 2001 From: yewei <896882701@qq.com> Date: Fri, 27 Feb 2015 18:33:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E6=A0=91?= =?UTF-8?q?=E8=8E=93=E6=B4=BE=E4=B8=8A=E4=BD=BF=E7=94=A8=E5=9B=A0=E7=BD=91?= =?UTF-8?q?=E5=8D=A1=E7=9C=81=E7=94=B5=E6=A8=A1=E5=9D=97=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E8=B0=83=E7=94=A8=E8=80=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=BD=91=E5=8D=A1=E6=96=AD=E5=BC=80=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index ea1b316..8a20119 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -SHELL := /bin/bash EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) EXTRA_CFLAGS += -O1 @@ -23,6 +22,14 @@ CONFIG_USB_HCI = y CONFIG_BT_COEXIST = 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) @@ -150,10 +157,7 @@ strip: $(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded install: - install -p -m 644 8188eu.ko $(MODDESTDIR) - @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/. + install -p -D -m 644 8188eu.ko $(MODDESTDIR)/8188eu.ko /sbin/depmod -a ${KVER} mkdir -p /lib/firmware/rtlwifi cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/. @@ -161,7 +165,6 @@ install: uninstall: rm -f $(MODDESTDIR)/8188eu.ko /sbin/depmod -a ${KVER} - @rm /etc/modprobe.d/50-8188eu.conf config_r: @echo "make config" From e6e54acf3e7815e4110580147eac5d426ffee13a Mon Sep 17 00:00:00 2001 From: yewei <896882701@qq.com> Date: Fri, 27 Feb 2015 18:48:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20?= =?UTF-8?q?=20=20README.md=20=09=E6=96=B0=E6=96=87=E4=BB=B6=EF=BC=9A=20=20?= =?UTF-8?q?=20=20=E5=8A=A0=E5=85=A5=E6=A0=91=E8=8E=93=E6=B4=BE=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 41 +++++++++++++++++++++++++++++++++++++ 对于树莓派wifi 的bug解释.md | 1 + 2 files changed, 42 insertions(+) mode change 100644 => 100755 README.md create mode 100755 对于树莓派wifi 的bug解释.md diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 58fbc94..4923bc2 --- a/README.md +++ b/README.md @@ -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 ========= @@ -34,3 +74,4 @@ Frequently asked Questions ### The network manager says: "Device is not ready"! Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/ + diff --git a/对于树莓派wifi 的bug解释.md b/对于树莓派wifi 的bug解释.md new file mode 100755 index 0000000..b57437e --- /dev/null +++ b/对于树莓派wifi 的bug解释.md @@ -0,0 +1 @@ +这个驱动并非官方提供,而是第三方基于rtl8192cus进行修改,因此有很多模块并不能正常使用,导致wifi自动断线是POWER_SAVING模块问题,因此这个MakeFile将关闭此模块 提供者:yyw \ No newline at end of file