A10 Networking fixes - 8188eu driver

Allwinner A10 systems

Moderator: Mattk

Post Reply
User avatar
Rainman32
Senior Boarder
Senior Boarder
Posts: 51
Joined: Wed Feb 24, 2010 5:25 pm

A10 Networking fixes - 8188eu driver

Post by Rainman32 »

If you have found issues with your wireless rtl819x card disconnecting from the network randomly, it is likely because of sleep function, here is the fix.

you will see something like this over and over in dmesg:

[2144242.770000] rtl8192c_dm_RF_Saving(): RF_Save
[2144254.730000] rtw_set_ps_mode(): Enter 802.11 power save mode...
[2144254.750000] rtl8192c_dm_RF_Saving(): RF_Normal
[2144254.770000] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
[2144258.730000] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
[2144258.750000] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
[2144258.780000] rtl8192c_dm_RF_Saving(): RF_Save
[2144260.730000] rtw_set_ps_mode(): Enter 802.11 power save mode...
[2144260.750000] rtl8192c_dm_RF_Saving(): RF_Normal
[2144260.770000] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
[2144262.730000] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
[2144262.770000] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
[2144262.830000] rtl8192c_dm_RF_Saving(): RF_Save


to turn off power save, create a file /etc/modprobe.d/8192cu.conf with the following contents:

Code: Select all

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0 
This prevents the power down/up cycles of the 8192 wifi chip.

Here is a copy of the file also, simply extract and copy the file to /etc/modprobe.d/
8192cu.zip
(244 Bytes) Downloaded 621 times
Reboot for change to take effect.
User avatar
Rainman32
Senior Boarder
Senior Boarder
Posts: 51
Joined: Wed Feb 24, 2010 5:25 pm

Re: A10 Networking fixes - 8188eu driver

Post by Rainman32 »

Attached is a working driver for the 8188eu card found on several MK802 varieties and now showing up in some usb chips too.

Copy the attached driver into /lib/modules/3.0.39-sun4i+/kernel/drivers/net/wireless/rtl8188eu/ (this directory does not exist by default) ie: /lib/modules/3.0.39-sun4i+/kernel/drivers/net/wireless/rtl8188eu/8188eu.ko

run depmod -a
run modprobe 8188eu

you should now have the driver loaded and available to meteohub, this can be verified with lsmod

edit the /etc/modules file and add the line:
8188eu

That's it, the module should load automatically next time.
rtl8188eu.zip
(250.9 KiB) Downloaded 652 times

Notes: This driver was compiled against the current kernel in meteohub (3.0.39-sun4i+) from the following source:

https://github.com/Red54/linux-shumeipa ... /rtl8188eu
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: A10 Networking fixes - 8188eu driver

Post by admin »

thanks, nice catch.
Post Reply