RTL8188CUS USB WiFi with Odroid X2 / Android

Moderators: mdrjr, odroid

RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby jbase » Sun May 14, 2017 6:12 am

Hello.

I am trying to use a Trendnet RTL8188CUS based WiFi adapter with Odroid X2 (Android 4.4.4), and have trouble it recognizing it.
My device has a different VID/PID from Hardkernel Wifi 3 module http://www.hardkernel.com/main/products ... 7447734369

It's 20f4:648b.

How can I make X2 recognize it? Maybe a different VID/PID is the problem?

I also have an RT5372 based WiFi module. Tried it, not working either.
jbase
 
Posts: 16
Joined: Mon May 09, 2016 4:57 am
languages_spoken: english, russian
ODROIDs: X2

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby odroid » Sun May 14, 2017 1:26 pm

There is no easy way.
You have to rebuild the Android source code after modifying the WiFi HAL source code.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby jbase » Sun May 14, 2017 5:52 pm

Will RTL8192 work or RTL8191 only?

Would RT5370 based module work?
jbase
 
Posts: 16
Joined: Mon May 09, 2016 4:57 am
languages_spoken: english, russian
ODROIDs: X2

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby odroid » Mon May 15, 2017 9:04 am

If your RT5370 chipset has ID 148F:5370, it should work.
http://www.hardkernel.com/main/products ... 5431421052
I have no idea about the RTL8192/8191 either.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby jbase » Tue May 16, 2017 2:43 am

There is /system/etc/wifi_id_list.txt file where a number of WiFi devices is listed.
Are they all supported?
jbase
 
Posts: 16
Joined: Mon May 09, 2016 4:57 am
languages_spoken: english, russian
ODROIDs: X2

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby jbase » Tue May 16, 2017 5:24 am

odroid wrote:If your RT5370 chipset has ID 148F:5370, it should work.
http://www.hardkernel.com/main/products ... 5431421052
I have no idea about the RTL8192/8191 either.


I found this adapter called Tenda W311MI from a local store. It's cheap and apparently it uses RT5370 chipset with Id 148f:5370, according to this:

https://wikidevi.com/wiki/Tenda_W311MI

However, this thread viewtopic.php?f=17&t=153 claims RT5370 does *not* work on X2. Can you tell me for sure which wi-fi modules are 100% supported? please? I wouldn't want to waste money on a non-working WiFi dongle... I already have 4 of them.
jbase
 
Posts: 16
Joined: Mon May 09, 2016 4:57 am
languages_spoken: english, russian
ODROIDs: X2

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby jbase » Tue May 16, 2017 8:13 am

I have added these lines to wifi_id_list.txt:

20f4 648b cfg80211 /system/lib/modules/cfg80211.ko
20f4 648b mac80211 /system/lib/modules/mac80211.ko
20f4 648b 8192cu /system/lib/modules/8192cu.ko

TrendNet TEW-648UBM (which is RTL8188CUS based) is now working.
jbase
 
Posts: 16
Joined: Mon May 09, 2016 4:57 am
languages_spoken: english, russian
ODROIDs: X2

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby odroid » Tue May 16, 2017 8:49 am

We will try RT5370 on X2 Android within a couple of days.
We need time to find an X2 board in somewhere.

BTW, check the logcat and demsg outputs whether your RTL8188CUS driver was loaded well or not.


Update: We tested our WiFi module 0 and WiFi module 3 on X2.
Both are working well.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby jbase » Tue May 16, 2017 6:11 pm

odroid wrote:We will try RT5370 on X2 Android within a couple of days.
We need time to find an X2 board in somewhere. BTW, check the logcat and demsg outputs whether your RTL8188CUS driver was loaded well or not.


Wi-Fi is working with my RTL8188CUS. I got the WiFi icon on top right, I got internet connection in the X2. Wi-Fi module 3 *is* RTL8188CUS, but the USB ids are different. Somehow, one of the previous threads mentioned 8188 is NOT supported on X2, which was misleading. Strange.
Last edited by jbase on Tue May 16, 2017 6:20 pm, edited 1 time in total.
jbase
 
Posts: 16
Joined: Mon May 09, 2016 4:57 am
languages_spoken: english, russian
ODROIDs: X2

Re: RTL8188CUS USB WiFi with Odroid X2 / Android

Unread postby odroid » Tue May 16, 2017 6:16 pm

Ah... You edited the wifi_id_list file and solved the issue.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to Hardware and peripherals

Who is online

Users browsing this forum: No registered users and 2 guests