Page 1 of 1

A10 Networking fixes - 8188eu driver

Posted: Tue Feb 12, 2013 2:32 am
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.

Re: A10 Networking fixes - 8188eu driver

Posted: Tue Feb 12, 2013 3:12 am
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

Re: A10 Networking fixes - 8188eu driver

Posted: Wed Feb 20, 2013 3:00 am
by admin
thanks, nice catch.