rtl8189es driver?

1,794 views
Skip to first unread message

theRat

unread,
Apr 15, 2013, 4:12:31 AM4/15/13
to linux...@googlegroups.com
I recently got a device that looks exactly the same as the minix (mk805?), but instead of it having minix printed on the case it has Smartbox.

This device actually contains an a10s processor, axp152 pmu and a rtl8189es wifi chip.

Does anyone know if there is a driver available for the rtl8189es?  It is a sdio/mmc based device.  The android script.bin for the device contains the following:

[sdio_wifi_para]
sdio_wifi_used = 1
sdio_wifi_sdc_id = 1
sdio_wifi_mod_sel = 10
rtl8189es_shdn = port:PB18<1><default><default><0>
rtl8189es_wakeup = port:PB17<1><default><default><1>
rtl8189es_vdd_en = port:PA03<1><default><default><0>
rtl8189es_vcc_en = port:PA04<1><default><default><0>


Cheers
Simon

Hans de Goede

unread,
Apr 15, 2013, 6:00:20 AM4/15/13
to linux...@googlegroups.com
Hi Simon,
The driver you are looking for is called rtl8188eu, some more info
on it is here:
http://www.rikomagic.co.uk/forum/viewtopic.php?f=6&t=3299


Regards,

Hans

theRat

unread,
Apr 16, 2013, 3:53:54 AM4/16/13
to linux...@googlegroups.com
Hans,

Thanks for that info.
After some more scratching around I also found this site.


This source code has a few extra sdio wifi cards including the one I am looking for.  Currently downloading to see if it actually works.

Simon

Oliver Schinagl

unread,
Apr 15, 2013, 1:21:31 PM4/15/13
to linux...@googlegroups.com
On 16-04-13 09:53, theRat wrote:
Hans,

Thanks for that info.
After some more scratching around I also found this site.


This source code has a few extra sdio wifi cards including the one I am looking for.  Currently downloading to see if it actually works.
If you do, and can port it to 3.0/3.4; patches welcome :)

Simon

On Monday, 15 April 2013 20:00:20 UTC+10, Hans de Goede wrote:
Hi Simon,

On 04/15/2013 10:12 AM, theRat wrote:
> I recently got a device that looks exactly the same as the minix (mk805?), but instead of it having minix printed on the case it has Smartbox.
>
> This device actually contains an a10s processor, axp152 pmu and a rtl8189es wifi chip.
>
> Does anyone know if there is a driver available for the rtl8189es?  It is a sdio/mmc based device.  The android script.bin for the device contains the following:
>
> |
> [sdio_wifi_para]
> sdio_wifi_used = 1
> sdio_wifi_sdc_id = 1
> sdio_wifi_mod_sel = 10
> rtl8189es_shdn = port:PB18<1><default><default><0>
> rtl8189es_wakeup = port:PB17<1><default><default><1>
> rtl8189es_vdd_en = port:PA03<1><default><default><0>
> rtl8189es_vcc_en = port:PA04<1><default><default><0>

The driver you are looking for is called rtl8188eu, some more info
on it is here:
http://www.rikomagic.co.uk/forum/viewtopic.php?f=6&t=3299


Regards,

Hans
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Neal Peacock

unread,
Apr 16, 2013, 1:21:44 PM4/16/13
to linux...@googlegroups.com

On 04/16/2013 03:53 AM, theRat wrote:
Hans,

Thanks for that info.
After some more scratching around I also found this site.


This source code has a few extra sdio wifi cards including the one I am looking for.  Currently downloading to see if it actually works.
I have already merged in the 8188eu wifi driver into my repository here https://github.com/npeacock/linux-sunxi/commit/d37e534b012904c9ac69635120a88864a21341b7

I think thats the same one you need.  I have been testing and working with it for a few months now, everything seems to fine.  The commit was too big to send as a patch to the mailing list.


Simon

On Monday, 15 April 2013 20:00:20 UTC+10, Hans de Goede wrote:
Hi Simon,

On 04/15/2013 10:12 AM, theRat wrote:
> I recently got a device that looks exactly the same as the minix (mk805?), but instead of it having minix printed on the case it has Smartbox.
>
> This device actually contains an a10s processor, axp152 pmu and a rtl8189es wifi chip.
>
> Does anyone know if there is a driver available for the rtl8189es?  It is a sdio/mmc based device.  The android script.bin for the device contains the following:
>
> |
> [sdio_wifi_para]
> sdio_wifi_used = 1
> sdio_wifi_sdc_id = 1
> sdio_wifi_mod_sel = 10
> rtl8189es_shdn = port:PB18<1><default><default><0>
> rtl8189es_wakeup = port:PB17<1><default><default><1>
> rtl8189es_vdd_en = port:PA03<1><default><default><0>
> rtl8189es_vcc_en = port:PA04<1><default><default><0>

The driver you are looking for is called rtl8188eu, some more info
on it is here:
http://www.rikomagic.co.uk/forum/viewtopic.php?f=6&t=3299


Regards,

Hans
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
Neal Peacock
PengPod

theRat

unread,
Apr 16, 2013, 6:40:09 PM4/16/13
to linux...@googlegroups.com
Neal,

I believe you have done most of the work as that appears to include all the network drivers.

There is however one area of the code you missed for the sdio stuff.  Since the the sdio drivers rely on mmc as the underlying hardware interface there are some changes in the /drivers/mmc/pm_mmc directory that also need to be included.

I will apply your changes (once I figure out how to download them) and apply to a fresh stage-3.0 and then make the changes to the mmc so see if it works.

Thanks very much for your efforts :)

Cheers
Simon

theRat

unread,
Apr 17, 2013, 3:47:58 AM4/17/13
to linux...@googlegroups.com
Neal,

Today I downloaded you patch for the realtek drivers and applied it to a fresh stage/sunxi-3.0.  I had a problem in that recently another patch has been applied that contains a subset of yours (the 8188eu stuff).  I just blew that away and reverted the Kconfig and Makefile so I could apply you code.

I ported the extra bits in the pm_mmc directory and now have the 8189es wifi working.

Are you able to get your patch sorted and submitted?  If you can I will then do a patch for the other bits for the SDIO cards.

Cheers
Simon

theRat

unread,
Apr 21, 2013, 5:58:18 PM4/21/13
to linux...@googlegroups.com
For anyone else wishing to test this, here is a more detailed description of what I did.

1. Delete drivers/net/wireless/rtl8188eu directory
2. Remove references to rtl8188 in drivers/net/wireless/Kconfig and drivers/net/wireless/Makefile
4. Download https://www.dropbox.com/s/3nvttsp96sjgjnb/mmc_pm.tar.gz and place the files in drivers/mmc/mmc-pm
5. Enable the driver in the config and build

Hope this helps.
Simon

Neal Peacock

unread,
Apr 23, 2013, 11:52:30 AM4/23/13
to linux...@googlegroups.com

On 04/17/2013 03:47 AM, theRat wrote:
Neal,

Today I downloaded you patch for the realtek drivers and applied it to a fresh stage/sunxi-3.0.  I had a problem in that recently another patch has been applied that contains a subset of yours (the 8188eu stuff).  I just blew that away and reverted the Kconfig and Makefile so I could apply you code.

I ported the extra bits in the pm_mmc directory and now have the 8189es wifi working.

Are you able to get your patch sorted and submitted?  If you can I will then do a patch for the other bits for the SDIO cards.
I think when I tried this before the patch was just too big to be mailed.  I looked at a pull request to the community repo but it would have brought it an bunch of other changes as well so that was no good.

I've honestly got zero time.  If you wanted to work out how to submit it as a patch you are welcome to all the credit.

Altiveus Fact

unread,
Jul 11, 2013, 5:14:08 AM7/11/13
to linux...@googlegroups.com
theRat,
Hello
. do you have a
lubuntu img working with Wi fi module for mk805 a10s?

theRat

unread,
Jul 16, 2013, 7:39:20 PM7/16/13
to linux...@googlegroups.com
Nothing that is reliable, the NIC stops working after a few days.  My image is a real hack from before Hans started adding A10S support.

gtsits...@gmail.com

unread,
Mar 25, 2014, 12:48:53 PM3/25/14
to linux...@googlegroups.com
can you please reupload the driver?
Reply all
Reply to author
Forward
0 new messages