Delock USB 2.0 Ethernet Adapter and HG20F9-based adapters added.
Davicom DM9600 and QF9700-based devices added. Please give it a shot and report back your findings in this tread. Thanks.
It's me again ... I've updated the USB2Ethernet-Helper to a new version. I added support for dongles containing a QF9700 chip. Please note, I don't own such a device and thus can't testify if it is working correctly or not. Give it a shot and report your findings back to this thread so that I have a chance to fix it.
The best way to assist is to post a logcat from your Mediapad. Start an "adb logcat" over Wifi, connect your OTG cable and the dongle, and then start my App. Record the output in case you encounter errors.
For the initiated : Please also provide a dmesg log.
Thanks, DFahren
Hi all,
I developled a small App that can be used to connect our Mediapad to an Ethernet-based Internet router.
You can find it as attachment to this post.
Why does one need such an App? Here's the case...
Picture yourself in a hotel. You have got your Mediapad with you and would like to surf a bit in the Internet. The hotel does not offer wireless lan, but nevertheless has Ethernet-based Internet access. Since Ethernet-to-Wifi converters are kinda expensive, you think of getting yourself a USB-to-Ethernet adapter dongle to help you out of this misery. However, our Mediapad does not support Internet-by-Ethernet-adapter right out of the box....
Click to expand...
Click to collapse
You need to know a few things about this App.
In order to run this App successfully you need to have the 'su' binary installed on your Mediapad, i.e., your pad needs to be rooted. The App will fail if you don't have a rooted phone.
You need to have a USB-to-Ethernet adapter such as the "Edimax USB2.0 Fast Ethernet Adapter" and a USB-to-Go cable. Currently, my App only supports adapters that have the following chips from Asix built in: AX88772, AX88760, AX8817. If you have an adapter that uses a different controller chip, please contact me via this forum or write a PN. Linux has drivers for almost every controller chip and I might be able to compile the appropriate one for you and bundle it with this App.
You need to have a router that has DHCP enabled. This App does everything automatically. It won't work with IP addresses that need to be statically assigned.
You must have a non-modified Linux kernel on your Mediapad! That is, a 3.0.8 kernel that comes with the original Android ICS. If you have a modified kernel such as bart543's one, then this App won't work for you. May be in the future I gonna support those modified kernels.
Once you managed to install this App, you can surf the Internet using one of your favorite browsers.
Although Android has rudimentary support for Ethernet devices built in (as far as I can tell from looking at the source code), Android ICS on our Mediapad only supports Wifi and Mobile data. What this means to you is some Apps from the Market that need Internet access may work, unfortunately many Apps don't seem to work (e.g. TuneIn Radio, Skype, etc.). If your favorite App(s) do(es) not work, I'm afraid I can't help you. Blame it on Android. Usually all Apps that access networking functions right away without querying Android which network types may be available and up should run correctly.
How to install this app
Download this App to your PC.
Type
Code:
adb install USB2Ethernet-Helper.apk
What if I run into errors?
The UI will show a short message as to why a specific step fails. Post this message in this thread.
Install "TerminalIDE" from the Market, if you don't have yet.
Open a shell and type
Code:
logcat
Post the logcat output in this thread. Maybe I can help.
Please be aware that I will do my best to help you, but I'm not the quickest to respond because I have a lot other commitments to follow.
That's it. Have fun!
Cheers, Dfahren
dfahren said:
It's me again ... I've updated the USB2Ethernet-Helper to a new version. I added support for dongles containing a QF9700 chip. Please note, I don't own such a device and thus can't testify if it is working correctly or not. Give it a shot and report your findings back to this thread so that I have a chance to fix it.
The best way to assist is to post a logcat from your Mediapad. Start an "adb logcat" over Wifi, connect your OTG cable and the dongle, and then start my App. Record the output in case you encounter errors.
For the initiated : Please also provide a dmesg log.
Thanks, DFahren
Hi all,
I developled a small App that can be used to connect our Mediapad to an Ethernet-based Internet router.
You can find it as attachment to this post.
Why does one need such an App? Here's the case...
You need to know a few things about this App.
In order to run this App successfully you need to have the 'su' binary installed on your Mediapad, i.e., your pad needs to be rooted. The App will fail if you don't have a rooted phone.
You need to have a USB-to-Ethernet adapter such as the "Edimax USB2.0 Fast Ethernet Adapter" and a USB-to-Go cable. Currently, my App only supports adapters that have the following chips from Asix built in: AX88772, AX88760, AX8817. If you have an adapter that uses a different controller chip, please contact me via this forum or write a PN. Linux has drivers for almost every controller chip and I might be able to compile the appropriate one for you and bundle it with this App.
You need to have a router that has DHCP enabled. This App does everything automatically. It won't work with IP addresses that need to be statically assigned.
You must have a non-modified Linux kernel on your Mediapad! That is, a 3.0.8 kernel that comes with the original Android ICS. If you have a modified kernel such as bart543's one, then this App won't work for you. May be in the future I gonna support those modified kernels.
Once you managed to install this App, you can surf the Internet using one of your favorite browsers.
Although Android has rudimentary support for Ethernet devices built in (as far as I can tell from looking at the source code), Android ICS on our Mediapad only supports Wifi and Mobile data. What this means to you is some Apps from the Market that need Internet access may work, unfortunately many Apps don't seem to work (e.g. TuneIn Radio, Skype, etc.). If your favorite App(s) do(es) not work, I'm afraid I can't help you. Blame it on Android. Usually all Apps that access networking functions right away without querying Android which network types may be available and up should run correctly.
How to install this app
Download this App to your PC.
Type
Code:
adb install USB2Ethernet-Helper.apk
What if I run into errors?
The UI will show a short message as to why a specific step fails. Post this message in this thread.
Install "TerminalIDE" from the Market, if you don't have yet.
Open a shell and type
Code:
logcat
Post the logcat output in this thread. Maybe I can help.
Please be aware that I will do my best to help you, but I'm not the quickest to respond because I have a lot other commitments to follow.
That's it. Have fun!
Cheers, Dfahren
Click to expand...
Click to collapse
Hi
I am trying to connect a HUAWEI MediaPad 7 (ICS 4.0.3 kernal 3.0.8) to wired internet (ADSL) connection through a USB ethernet adapter (found on ebay)
OTG cable & above adapter yet to arrive and mean time I saw this post
Do I need any driver for this or will your workaround could solve it?
I'm not sure about the chip of this USB Ethernet adapter, I bought it since they mentioned its supporting Android
I don't want to use Wifi and very eager on fixing this with ADSL. I have a router and no need to dial to connect when I'm connecting from PC password is saved in the router.
Thanks
Indunil
Hi Indunil,
ok, your kernel specs seem to fit to my app.
But with your adapter I doubt that it will work with my app right out of the box. If you do not know the transceiver chip in the adapter, then chances are that it might be the wrong one. Try my app and if it works, cool, if not, please come back and I might find a solution to your problem.
Please be aware that a driver for adapters containing a AX88772 chip is included in the app. This is currently the only driver in the app.
Recall, you need to have an SU binary installed on your Mediapad!
Best wishes,
DFahren
living_legend said:
Hi
I am trying to connect a HUAWEI MediaPad 7 (ICS 4.0.3 kernal 3.0.8) to wired internet (ADSL) connection through a USB ethernet adapter (found on ebay)
OTG cable & above adapter yet to arrive and mean time I saw this post
Do I need any driver for this or will your workaround could solve it?
I'm not sure about the chip of this USB Ethernet adapter, I bought it since they mentioned its supporting Android
I don't want to use Wifi and very eager on fixing this with ADSL. I have a router and no need to dial to connect when I'm connecting from PC password is saved in the router.
Thanks
Indunil
Click to expand...
Click to collapse
I installed this app in my galaxy s3. This recognize the adapter but it give an error which said that that application could not download the right driver could anybday helpme.
Sent from my GT-I9300 using xda app-developers app
Hi
Thank you very much for the reply, I just wrote to the ebay seller asking about the chip in that adapter. BTW to install SU binary I have to root the media pad is it? I'm an extreme new b to android but was able to root n install cyanogen mod 7 on a Samsung galaxy pop previously but that was following a chrystal clear user guide from web. But when it comes to Huawei media pad I'm not sure any accurate and valid info available... If you know a good source pls help!
Thanks again for coming forward with this idea! I'm actually nervous to use WiFi at home because of the baby :cyclops:
Hi Fausto,
could you please give the exact error message the app outputs on the screen. (The one that is written in small print).
Fausto89 said:
I installed this app in my galaxy s3. This recognize the adapter but it give an error which said that that application could not download the right driver could anybday helpme.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
whePubl avenger
Hi living_legend,
hmmm, you need to browse a bit the forums on how to root the Mediapad. I think there are some pretty good posts out there.
Of course, you are right. Installing SU means rooting the pad.
Indeed the less electromagnetic waves you produce around human beings the better. I second your attitude.
living_legend said:
Hi
Thank you very much for the reply, I just wrote to the ebay seller asking about the chip in that adapter. BTW to install SU binary I have to root the media pad is it? I'm an extreme new b to android but was able to root n install cyanogen mod 7 on a Samsung galaxy pop previously but that was following a chrystal clear user guide from web. But when it comes to Huawei media pad I'm not sure any accurate and valid info available... If you know a good source pls help!
Thanks again for coming forward with this idea! I'm actually nervous to use WiFi at home because of the baby :cyclops:
Click to expand...
Click to collapse
dfahren said:
Hi living_legend,
hmmm, you need to browse a bit the forums on how to root the Mediapad. I think there are some pretty good posts out there.
Of course, you are right. Installing SU means rooting the pad.
Indeed the less electromagnetic waves you produce around human beings the better. I second your attitude.
Click to expand...
Click to collapse
Rooting process look very tedious (sigh!) & I'm so confused! (no knowledge about Linux) also No info in cyanogenmod.org regarding rooting this particular device
I received the adapter today and the chip seems to be AX88772A. When I plug everything nothing pop up or no activity happen in the device
Is there any way to write a patch like the Ethernet patch used in Android-x86 4.0.4 ICS RC2 devices. Currently my device got only Bluetooth, wifi and mobile network
no Ethernet though :silly:
If rooting is so tedious, you could flash a pre-rooted image, such as HWMOD's boot.img. Look here: http://forum.xda-developers.com/showthread.php?t=1725345&highlight=root
Here someone presents a rooted image, too: http://forum.xda-developers.com/showthread.php?t=1544855&highlight=root
Good to hear you've finally got your adapter that day. This is perfectly normal that once you plug in the adapter together with the USB-OTG cable into the Mediapad nothing happens. You have to use my app to see the lights flickering.
Just try it once again and if anything goes wrong, note down the error message.
Best wishes,
DFahren
living_legend said:
Rooting process look very tedious (sigh!) & I'm so confused! (no knowledge about Linux) also No info in cyanogenmod.org regarding rooting this particular device
I received the adapter today and the chip seems to be AX88772A. When I plug everything nothing pop up or no activity happen in the device
Is there any way to write a patch like the Ethernet patch used in Android-x86 4.0.4 ICS RC2 devices. Currently my device got only Bluetooth, wifi and mobile network
no Ethernet though :silly:
Click to expand...
Click to collapse
Hi,
I found this thread of yours and thought it could help me getting my USB-to-Ethernet Adapter to work on Android 4.0.4.
My device is a cheap rootet X7GS tablet, the Adapter is a UA0025C from LogiLink.
When running your App it tells me on the second step:
"Both host adapter and Usb-to-Ethernet adapter not found".
Usb-Host is definately supported (connected an SD-Card-Reader for testing) and the driver seems to be related to asix. It's a MosChip MCS7830, I have the linux driver on a disc here. I'll try to create this logcat you mentioned and post it here later. How can it be that the host adapter is not found?
Many thx in advance,
Technose
Edit: This should be the device (I bought it in germany where it is distributed by LogiLink):
MCS7830 -- USB 2.0 to 10/100M Fast Ethernet Controller from Asix
It can be found on the asix website, I can't post the link though due to Forum restrictions.
Thx again
Ok, here is the logcat output (the part I would assume to be relevant):
Code:
I/CmdRunner( 1669): Running command: id
D/dalvikvm( 1669): GC_CONCURRENT freed 470K, 10% free 6058K/6663K, paused 2ms+31ms
E/su ( 2537): sudb - Opening database
E/su ( 2537): sudb - Database opened
E/su ( 2537): sudb - Database closed
D/su ( 2537): 10056 de.df.usbethernethelper executing 0 /system/bin/sh using shell /system/bin/sh : sh
I/USB2Ethernet-Service( 1669): Capable to SU? true
D/USB2EthernetHelper( 1669): Shared prefs key: SU binary installed?_feedb
D/USB2EthernetHelper( 1669): Shared prefs key: SU binary installed?
D/USB2EthernetHelper( 1669): Shared prefs key: Host and ethernet adapter up and running?_feedb
I/USB2Ethernet-Service( 1669): ProdID: 0001
I/USB2Ethernet-Service( 1669): ProdID: 8176
I/USB2Ethernet-Service( 1669): ProdID: 0002
I/USB2Ethernet-Service( 1669): ProdID: 0002
I/USB2Ethernet-Service( 1669): ProdID: 7830
D/USB2EthernetHelper( 1669): Shared prefs key: Host and ethernet adapter up and running?
D/USB2EthernetHelper( 1669): Shared prefs key: Host and ethernet adapter up and running?_feedb
E/USB2Ethernet-Service( 1669): Service thread finishes with failure.
I/USB2EthernetHelper( 1669): Stopping service.
I/USB2EthernetHelper( 1669): Stopping alarm.
E/audio_hw_primary( 899): start_output_stream() persist.sys.spdif_setting=
D/audio_hw_primary( 899): pcm_open out: card(0), port(0)
D/USB2Ethernet-Service( 1669): +++ USB2EthernetHelperService Destroy called +++
D/USB2EthernetHelper( 1669): +++ Called onPause! +++
W/HardwareRenderer( 1197): Backbuffer cannot be preserved
W/InputManagerService( 999): Starting input on non-focused client [email protected] (uid=10056
pid=1669)
D/USB2EthernetHelper( 1669): +++ onDestroy called +++
D/dalvikvm( 1073): GC_CONCURRENT freed 340K, 69% free 6968K/22087K, paused 4ms+5ms
Hi Technose02,
thanks for the log. It may be that Mediapads differ from one another in certain parts of the hardware, I'm not sure about this. It's irritating that my app tells you it didn't find the host adapter. This really puzzles me since I always thought USB host adapters would be the same on all Mediapads. That said, the log does not show too much information, unfortunately....
Anyway, do you know how to do "adb shell" but not via USB cable but via WIFI? If so, could you please plug in your OTG cable and your adapter in the USB port and type on the command line in the shell "cat /d/usb/devices" and after that "dmesg" (of that the last, say, 20 lines) and post the output here? Would be great!
In fact, MosChip has been acquired by Asix some time ago. However, I'm unsure whether Asix develops MosChip Linux drivers any further. Logilink provides its own drivers for your adapter, but they seem to be 2.4 or 2.6 drivers - really old stuff. The may need tweaks to get them running on Linux 3.0.
Ok, first things first, would be great if you provided the other logs as well.
Cheers,
DFahren
Technose02 said:
Ok, here is the logcat output (the part I would assume to be relevant):
[.. log deleted ..]
Click to expand...
Click to collapse
Hi and thanks a lot for your reply.
I managed to get the adb connection over wifi and here you go:
result of cat /d/usb/devices:
Code:
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 3.00
S: Manufacturer=Linux 3.0.8-tcc ohci_hcd
S: Product=TCC OHCI
S: SerialNumber=tcc
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=8176 Rev= 2.00
S: Manufacturer=Realtek
S: SerialNumber=00e04c000001
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=rtl8192cu
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.00
S: Manufacturer=Linux 3.0.8-tcc ehci_hcd
S: Product=Telechips EHCI HS
S: SerialNumber=tcc-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.00
S: Manufacturer=Linux 3.0.8-tcc dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=dwc_otg.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=9710 ProdID=7830 Rev= 1.00
S: Manufacturer=Moschip Semiconductor
S: Product=UA0025C
S: SerialNumber=6e000001
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=125us
[email protected]:/ #
Result of dmesg (my apologies if it's too large), I called dmesg after plugging in the USB-Ethernet-Controller and trying to connect to it via your app:
Code:
<4>[ 6.238149] link to Broadcom AP
<4>[ 6.238216] <=rtw_wx_set_essid, ret 0
<4>[ 6.238352] Set BSSID under fw_state=0x00000088
<4>[ 6.519609] link to Broadcom AP
<4>[ 6.522108] OnAuthClient
<4>[ 6.522142] network.SupportedRates[0]=82
<4>[ 6.522153] network.SupportedRates[1]=84
<4>[ 6.522163] network.SupportedRates[2]=8B
<4>[ 6.522173] network.SupportedRates[3]=96
<4>[ 6.522183] network.SupportedRates[4]=24
<4>[ 6.522193] network.SupportedRates[5]=30
<4>[ 6.522204] network.SupportedRates[6]=48
<4>[ 6.522214] network.SupportedRates[7]=6C
<4>[ 6.522224] network.SupportedRates[8]=0C
<4>[ 6.522234] network.SupportedRates[9]=12
<4>[ 6.522244] network.SupportedRates[10]=18
<4>[ 6.522254] network.SupportedRates[11]=60
<4>[ 6.522266] bssrate_len = 12
<6>[ 6.523791] usb 2-1: USB disconnect, device number 2
<4>[ 6.524279] ###=> usb_read_port_complete => urb status(-108)
<4>[ 6.524354] +rtw_dev_remove
<4>[ 6.524366] rtw_sta_flush
<4>[ 6.524446] (2)871x_drv - drv_close, bup=1, hw_init_completed=1
<4>[ 6.524461] -871x_drv - drv_close, bup=1
<4>[ 6.645561] ===> rtw_dev_unload
<4>[ 6.648566] usb_read_port_cancel
<4>[ 6.651827] usb_write_port_cancel
<4>[ 6.655306] ###> rtw_cmd_thread break.................
<4>[ 6.667830] <=== rtw_dev_unload
<4>[ 6.667843] +r871xu_dev_remove, hw_init_completed=1
<4>[ 6.668292] free_recv_skb_queue not empty, 3
<4>[ 6.668310] rtw_unregister_early_suspend
<4>[ 6.668324] =====> rtl8192c_free_hal_data =====
<4>[ 6.668334] <===== rtl8192c_free_hal_data =====
<4>[ 6.668365] -r871xu_dev_remove, done
<6>[ 6.945572] usb 2-1: new high speed USB device number 3 using tcc-ehci
<3>[ 7.605726] hub 2-0:1.0: unable to enumerate USB device on port 1
<6>[ 8.085681] usb 3-1: new full speed USB device number 2 using tcc-ohci
<6>[ 8.767894] usb 3-1: not running at top speed; connect to a high speed hub
<4>[ 8.800305] register rtw_netdev_ops to netdev_ops
<4>[ 8.804843] CHIP TYPE: RTL8188C_8192C
<4>[ 8.808704] ------------------usb_dvobj_init
<4>[ 8.812809]
<4>[ 8.812814] usb_endpoint_descriptor(0):
<4>[ 8.823099] bLength=7
<4>[ 8.825201] bDescriptorType=5
<4>[ 8.828301] bEndpointAddress=81
<4>[ 8.831300] wMaxPacketSize=40
<4>[ 8.834287] bInterval=0
<4>[ 8.836698] RT_usb_endpoint_is_bulk_in = 1
<4>[ 8.840716]
<4>[ 8.840721] usb_endpoint_descriptor(1):
<4>[ 8.846048] bLength=7
<4>[ 8.848255] bDescriptorType=5
<4>[ 8.851201] bEndpointAddress=2
<4>[ 8.854253] wMaxPacketSize=40
<4>[ 8.857596] bInterval=0
<4>[ 8.859866] RT_usb_endpoint_is_bulk_out = 2
<4>[ 8.864031]
<4>[ 8.864036] usb_endpoint_descriptor(2):
<4>[ 8.869497] bLength=7
<4>[ 8.871594] bDescriptorType=5
<4>[ 8.874561] bEndpointAddress=3
<4>[ 8.894440] wMaxPacketSize=40
<4>[ 8.897312] bInterval=0
<4>[ 8.899671] RT_usb_endpoint_is_bulk_out = 3
<4>[ 8.903819]
<4>[ 8.903822] usb_endpoint_descriptor(3):
<4>[ 8.912184] bLength=7
<4>[ 8.914281] bDescriptorType=5
<4>[ 8.917335] bEndpointAddress=84
<4>[ 8.920348] wMaxPacketSize=40
<4>[ 8.923294] bInterval=1
<4>[ 8.925764] RT_usb_endpoint_is_int_in = 4, Interval = 1
<4>[ 8.930930] nr_endpoint=4, in_num=2, out_num=2
<4>[ 8.930937]
<4>[ 8.937358] NON USB_SPEED_HIGH
<4>[ 8.940889] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C.
<4>[ 8.948746] RF_Type is 3!!
<4>[ 8.955890] EEPROM type is E-FUSE
<4>[ 8.959065] ====> ReadAdapterInfo8192C
<4>[ 8.963886] Boot from EFUSE, Autoload OK !
<4>[ 9.584921] [set_dma_outbuffer], original len[8192]
<4>[ 11.209991] EEPROMVID = 0x0bda
<4>[ 11.213135] EEPROMPID = 0x8176
<4>[ 11.216151] EEPROMCustomerID : 0x00
<4>[ 11.219716] EEPROMSubCustomerID: 0x00
<4>[ 11.223255] RT_CustomerID: 0x00
<4>[ 11.226633] _ReadMACAddress MAC Address from EFUSE = 00:12:05:06:07:43
<4>[ 11.233234] EEPROMRegulatory = 0x0
<4>[ 11.236625] _ReadBoardType(0)
<4>[ 11.239719] BT Coexistance = disable
<4>[ 11.243298] RT_ChannelPlan: 0x0a
<4>[ 11.247052] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportR
emoteWakeup(0)
<4>[ 11.255213] ### PS params=> power_mgnt(1),usbss_enable(0) ###
<4>[ 11.261136] ### AntDivCfg(0)
<4>[ 11.264094] readAdapterInfo_8192CU(): REPLACEMENT = 1
<4>[ 11.269161] <==== ReadAdapterInfo8192C in 2310 ms
<4>[ 11.276801] rtw_register_early_suspend
<4>[ 11.280782] rtw_macaddr_cfg MAC Address = 00:12:05:06:07:43
<4>[ 11.288350] MAC Address from pnetdev->dev_addr= 00:12:05:06:07:43
<4>[ 11.318266] +871x_drv - drv_open, bup=0
<4>[ 11.322380] bDriverStopped:0, bSurpriseRemoved:0, bup:0, hw_init_completed
:0
<4>[ 11.375083] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
<4>[ 11.381534] FirmwareDownload92C accquire FW from embedded image
<4>[ 11.387594] fw_ver=v79, fw_subver=0, sig=0x88c0
<4>[ 11.781025] fw download ok!
<4>[ 11.783696] Set RF Chip ID to RF_6052 and RF type to 1T1R.
<4>[ 12.479616] IQK:Start!!!
<4>[ 12.652988] Path A IQK Success!!
<4>[ 12.777034] Path A IQK Success!!
<4>[ 12.853028] IQK: final_candidate is 0
<4>[ 12.857129] IQK: RegE94=102 RegE9C=11 RegEA4=fe RegEAC=2 RegEB4=0 RegEBC=0
RegEC4=0 RegECC=0
<4>[ 12.857158] Path A IQ Calibration Success !
<4>[ 13.115043] pdmpriv->TxPowerTrackControl = 1
<4>[ 13.196053] MAC Address from REG_MACID = 00:12:05:06:07:43
<4>[ 13.201443] rtl8192cu_hal_init in 1880ms
<4>[ 13.205321] MAC Address = 00:12:05:06:07:43
<4>[ 13.283044] ------------------usb_intf_start
<4>[ 13.287861] -871x_drv - drv_open, bup=1
<6>[ 13.297729] ADDRCONF(NETDEV_UP): wlan0: link is not ready
<4>[ 13.303158] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
<4>[ 13.307612] set_mode = IW_MODE_INFRA
<4>[ 13.336356] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
<4>[ 15.305716] ==>pwr_state_check_handler .fw_state(8)
<4>[ 15.310552] ==> rtw_ps_cmd , enqueue CMD
<4>[ 15.351211] ==>rtw_ps_processor .fw_state(8)
<4>[ 15.355365] ==>ips_enter cnts:1
<4>[ 15.362107] ==>power_saving_ctrl_wk_hdl change rf to OFF...LED(0x00020808)
....
<4>[ 15.362132]
<4>[ 15.371440] ===> rtw_ips_pwr_down...................
<4>[ 15.379104] ====> rtw_ips_dev_unload...
<4>[ 15.625779] usb_read_port_cancel
<4>[ 15.632101] usb_write_port_cancel
<4>[ 15.635503] ==> rtl8192cu_hal_deinit
<4>[ 15.639168] bkeepfwalive(0)
<4>[ 15.641799] card disble without HWSM...........
<4>[ 15.719126] <=== rtw_ips_pwr_down..................... in 350ms
<4>[ 17.245539]
<4>[ 17.245560] rfpwrstate_check call ips_leave....
<4>[ 17.254263] ==>ips_leave cnts:1
<4>[ 17.257405] ===> rtw_ips_pwr_up..............
<4>[ 17.261702] ===> ips_netdrv_open.........
<4>[ 17.319221] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
<4>[ 17.325372] FirmwareDownload92C accquire FW from embedded image
<4>[ 17.331369] fw_ver=v79, fw_subver=0, sig=0x88c0
<4>[ 17.730218] fw download ok!
<4>[ 17.732894] Set RF Chip ID to RF_6052 and RF type to 1T1R.
<4>[ 18.396201] IQK:Start!!!
<4>[ 18.556209] Path A IQK Success!!
<4>[ 18.665202] Path A IQK Success!!
<4>[ 18.741213] IQK: final_candidate is 0
<4>[ 18.744759] IQK: RegE94=102 RegE9C=11 RegEA4=fe RegEAC=2 RegEB4=0 RegEBC=0
RegEC4=0 RegECC=0
<4>[ 18.744786] Path A IQ Calibration Success !
<4>[ 19.004229] pdmpriv->TxPowerTrackControl = 1
<4>[ 19.085234] MAC Address from REG_MACID = 00:12:05:06:07:43
<4>[ 19.090802] rtl8192cu_hal_init in 1830ms
<4>[ 19.094582] ------------------usb_intf_start
<4>[ 19.099067] <=== rtw_ips_pwr_up.............. in 1840ms
<4>[ 19.105234] ==> ips_leave.....LED(0x00028008)...
<4>[ 21.195299] survey done event(3e)
[...]
<4>[ 21.270595] rtw_select_and_join_from_scanned_queue: candidate: localWifiFi
VoRoe(90:a4:de:21:e1:2c)
<4>[ 21.279507] link to Broadcom AP
<4>[ 21.283431] <=rtw_wx_set_essid, ret 0
<4>[ 21.294413] Set BSSID under fw_state=0x00000088
<4>[ 21.471355] link to Broadcom AP
<4>[ 21.477323] OnAuthClient
<4>[ 21.479738] network.SupportedRates[0]=82
<4>[ 21.483643] network.SupportedRates[1]=84
<4>[ 21.487555] network.SupportedRates[2]=8B
<4>[ 21.491449] network.SupportedRates[3]=96
<4>[ 21.495313] network.SupportedRates[4]=24
<4>[ 21.499244] network.SupportedRates[5]=30
<4>[ 21.503101] network.SupportedRates[6]=48
<4>[ 21.507043] network.SupportedRates[7]=6C
<4>[ 21.510913] network.SupportedRates[8]=0C
<4>[ 21.514832] network.SupportedRates[9]=12
<4>[ 21.518741] network.SupportedRates[10]=18
<4>[ 21.522689] network.SupportedRates[11]=60
<4>[ 21.526724] bssrate_len = 12
<4>[ 21.536384] OnAction_back
<4>[ 21.538992] OnAssocRsp
<4>[ 21.541242] report_join_res(1)
<4>[ 21.544393] rtw_joinbss_update_network
<4>[ 21.548185] +rtw_update_ht_cap()
<4>[ 21.551296] rtw_joinbss_update_stainfo
<4>[ 21.555201] rx bc/mc packets, to perform sw rtw_aes_decrypt
<4>[ 21.563967] HW_VAR_BASIC_RATE: BrateCfg(0x15d)
<6>[ 21.577530] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<4>[ 21.597332] WMM(0): 0, a42b
<4>[ 21.600305] WMM(1): 0, a44f
<4>[ 21.603302] WMM(2): 0, 5e4322
<4>[ 21.615305] WMM(3): 0, 2f3222
<4>[ 21.619306] [HW_VAR_ACM_CTRL] Write 0x0
<4>[ 21.623298] HTOnAssocRsp
<4>[ 21.710327] update raid entry, mask=0xfffff, arg=0xa0
<4>[ 21.738309] rtl8192c_set_FwJoinBssReport_cmd mstatus(1)
<4>[ 21.747397] OnAction_back
<4>[ 21.749872] OnAction_back, action=0
<4>[ 21.753342] issue_action_BA, category=3, action=1, status=0
<4>[ 21.778459] SetFwRsvdPagePkt
<4>[ 21.781378] Set RSVD page location to Fw.
<4>[ 21.796742]
<4>[ 21.796764] ~~~~stastakey:unicastkey
<4>[ 21.804713]
<4>[ 21.804734] ~~~~stastakey:groupkey
<4>[ 21.809898] ==> rtw_set_key algorithm(4),keyid(2),key_mask(4)
<4>[ 21.826097] =>mlmeext_joinbss_event_callback
<4>[ 24.192385] rtl8192c_dm_RF_Saving(): RF_Save
<4>[ 28.106532] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 28.131502] rtl8192c_dm_RF_Saving(): RF_Normal
<4>[ 28.135869] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 28.845670] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 28.853477] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 30.106590] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 30.112324] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<7>[ 31.876233] wlan0: no IPv6 routers present
<4>[ 32.106677] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 32.126840] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 32.264611] rtl8192c_dm_RF_Saving(): RF_Save
<4>[ 36.106787] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 36.131745] rtl8192c_dm_RF_Saving(): RF_Normal
<4>[ 36.136101] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 36.926694] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 36.934915] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 38.106781] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 38.112457] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 40.108352] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 40.115913] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 40.225908] rtl8192c_dm_RF_Saving(): RF_Save
<4>[ 42.116544] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 42.140880] rtl8192c_dm_RF_Saving(): RF_Normal
<4>[ 42.145156] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 62.438236] [set_dma_outbuffer], original len[8192]
<4>[ 63.010087] UMP<2>: New session opened
<4>[ 70.121821] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 70.130852] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 72.107909] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 72.113646] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 72.185319] ID change ISR : Host (0)
<4>[ 72.188869] Set ID to host mode(0)
<4>[ 72.192119] set wakelock for otg0
<4>[ 72.388612] Using Buffer DMA mode
<4>[ 72.391761] Periodic Transfer Interrupt Enhancement - disabled
<4>[ 72.397689] Multiprocessor Interrupt Enhancement - disabled
<4>[ 72.447551] Init: Port Power? op_state=1
<4>[ 72.451293] Init: Power Port (0)
<3>[ 72.454561] DWC_OTG : [tcc_set_vbus] vbus_state:1
<4>[ 72.459243] SRP: Host mode
<4>[ 72.461869] Start called p = d61126a0
<4>[ 72.465505] starting connect time
<3>[ 72.567584] DWC_OTG : [tcc_set_vbus] vbus_state:1
<6>[ 73.157651] usb 1-1: new high speed USB device number 2 using dwc_otg
<3>[ 73.973286] usb 1-1: device v9710 p7830 is not supported
<4>[ 75.747908] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 75.757782] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 76.176019] rtl8192c_dm_RF_Saving(): RF_Save
<4>[ 78.108101] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 78.133073] rtl8192c_dm_RF_Saving(): RF_Normal
<4>[ 78.137408] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 92.228164] unset wakelock for otg0
<4>[ 106.108973] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 106.117312] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 106.205992] rtl8192c_dm_RF_Saving(): RF_Save
<4>[ 108.109033] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 108.134011] rtl8192c_dm_RF_Saving(): RF_Normal
<4>[ 108.148733] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
<4>[ 109.725123] [set_dma_outbuffer], original len[8192]
<4>[ 110.155226] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
<4>[ 110.168053] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
<4>[ 112.109163] rtw_set_ps_mode(): Enter 802.11 power save mode...
<4>[ 112.115168] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
[email protected]:/ #
I expect the problems are here?
Code:
<3>[ 7.605726] hub 2-0:1.0: unable to enumerate USB device on port 1
<6>[ 8.085681] usb 3-1: new full speed USB device number 2 using tcc-ohci
<6>[ 8.767894] usb 3-1: not running at top speed; connect to a high speed hub
Does this mean, that my USB-Port is not 2.0? To be honest, it is not promoted to have USB 2.0, just "micro USB with Host Mode". Now who would expect a tablet designed for running Android 4 to ship with a slow USB Connector these days...
Well but even if this was the case and even if it would be a very slow lan-connection: the USB-Ethernetcontroller claims to be complaint to USB 2.0/1.1 Standard.
Thx again for your help!!
Hi Technose02,
ok, now I see why I thought it must be a non-standard configuration. I think you are operating a Realtek USB Wifi dongle and your Usb-Ethernet dongle together plugged in an external hub. This configuration differs from mine since I simply have an OTG cable plugged into the USB port and my Edimax Usb-to-Ethernet dongle.
In fact the line that shows, that this configuration doesn't currently work is
Code:
<6>[ 73.157651] usb 1-1: new high speed USB device number 2 using dwc_otg
<3>[ 73.973286] usb 1-1: device v9710 p7830 is not supported
Ok, I see the problem, but I think I can solve it. Please stay tuned, it's going to take a little while.
So long,
DFahren
Technose02 said:
Hi and thanks a lot for your reply.
I managed to get the adb connection over wifi and here you go:
result of cat /d/usb/devices:
Code:
...
Result of dmesg (my apologies if it's too large), I called dmesg after plugging in the USB-Ethernet-Controller and trying to connect to it via your app:
Code:
...
Does this mean, that my USB-Port is not 2.0? To be honest, it is not promoted to have USB 2.0, just "micro USB with Host Mode". Now who would expect a tablet designed for running Android 4 to ship with a slow USB Connector these days...
Well but even if this was the case and even if it would be a very slow lan-connection: the USB-Ethernetcontroller claims to be complaint to USB 2.0/1.1 Standard.
Thx again for your help!!
Click to expand...
Click to collapse
Thanks a lot! I flashed OsiMod and so far its working fine appart from few glitches in battery progress indicator.
And your app is working perfectly with the adapter I purchased through ebay....! Means this app works with ASIx chips ?
You can place the app in google play cz it really works
Sent from my HUAWEI OsiMood MediaPad using Tapatalk 2
It's me again.
I managed to compile a driver suitable for your dongle. I used the most recent mcs7830 driver source code I could find on kernel.org, compiled it for Android and did test it on my Mediapad. Testing, howver, is limited to checking if it can be "insmod-ed". It can.
Then I registered your otg host adapter with my app. Altogether you will find my updated app in the first post. Download it, give it a shot and if there are still problems, you can also write me a PN with the logs you formerly provided. There is no need to clutter this thread with log files any further.
Yep, I can tell you my app works with my Edimax adapter like it should. Please notice, you need to read my first post carefully. I wrote not each and every app that uses networking will work with an ethernet adapter. This is not due to my app being uncapable, but Android 4.0 not having full ethernet support. So there are some networking apps that work, some (perhaps most) don't. The browser, though, works like a charm.
That's why I don't want to put it in the play store, since it has too many drawbacks and there are other (most notably Asus) Android portings that have full ethernet integration right out of the box.
Cheers,
DFahren
living_legend said:
Thanks a lot! I flashed OsiMod and so far its working fine appart from few glitches in battery progress indicator.
And your app is working perfectly with the adapter I purchased through ebay....! Means this app works with ASIx chips ?
You can place the app in google play cz it really works
Sent from my HUAWEI OsiMood MediaPad using Tapatalk 2
Click to expand...
Click to collapse
yes true, browser works like a miracle
Skype, playstore downloads (searching ok), google talk won't work any alternative as you may know for video calling
Sent from my HUAWEI OsiMood MediaPad using Tapatalk 2
Hmm, no, unfortunately not. I think you need to try potential video calling apps yourself.
Good to know my app now works for you, sounds very good. May be, once I finde lots of time, I do an integration of my app in Android so that you don't need any app and can activate ethernet support right from Settings menu ...
Cheers,
DFahren
DFahren,
As You have environment up and running, would You be so kind to compile module for D-Link DUB-E100 H/W Rev. C1 ?
It is AX88772B, but with 2001:1a02 ID's.
I hope DUB_E100_Linux_v420.zip along with
Code:
--- DUB_E100_Linux_v420/asix.c 2011-09-19 12:48:58.000000000 +0600
+++ asix.c 2012-12-24 13:35:18.000000000 +0600
@@ -3412,6 +3412,10 @@
USB_DEVICE (0x2001, 0x1a00),
.driver_info = (unsigned long) &dlink_dub_e100_info,
}, {
+ // DLink DUB-E100 H/W Rev. C1 (AX88772B)
+ USB_DEVICE (0x2001, 0x1a02),
+ .driver_info = (unsigned long) &ax88772b_info,
+}, {
// DLink DUB-E100B
USB_DEVICE (0x2001, 0x3c05),
.driver_info = (unsigned long) &dlink_dub_e100b_info,
will do the trick?
@skleroz: Might well be, that this diff will do the trick. Stay tuned a bit longer. I gonna give it a shot next year. This year my time left is a little too short to get a new driver compiled for my App.
Wish all of you an incredible New Year!!
DFahren
skleroz said:
DFahren,
As You have environment up and running, would You be so kind to compile module for D-Link DUB-E100 H/W Rev. C1 ?
It is AX88772B, but with 2001:1a02 ID's.
...
Click to expand...
Click to collapse