Post Reply

[DRIVER PACK] USB to Ethernet driver pack for Honeycomb 3.2

OP MarkLuk

23rd September 2011, 09:55 PM   |  #1  
OP Member
Thanks Meter: 55
 
41 posts
Join Date:Joined: Jul 2011
Donate to Me
More
The attached package contains USB to Ethernet driver pack for Honeycomb v3.2
It extends the support of stock ASUS kernel for USB to Ethernet adapters.
This thread is continuation of: http://forum.xda-developers.com/show....php?t=1224660


Installation and activation
-------------------------------------
- Install ZIP package via recovery
- Attach USB to Ethernet device to USB on the docking
- To setup network configuration execute the following sequence from terminal:
Code:
su
usb_ethernet

Known supported adapters
------------------------------------
- EDIMAX EU-4207 (http://goo.gl/OqR6X)
- Cisco USB200M (http://goo.gl/0I0W5)
- Cisco USB300M (http://goo.gl/g9sf1)
- AXIS based unbranded from DealExtreme (http://goo.gl/hn06o)
- QF9700 based unbranded (http://goo.gl/yKMyx)
- Apple USB Ethernet Adapter (http://goo.gl/RfWaT)
- Belkin F5D5055 (http://goo.gl/4FQle)
- SMC EZ Connect USB (SMC2206USB/ETH) (http://goo.gl/FtdOv)
- "Maxvalue" USB2 to 10/100 Ethernet adaptor (http://goo.gl/8qzfe)
- D-Link DUB-E100 (http://goo.gl/JJTCo)
- Airlink 101 USB 2.0 to Ethernet Adapter(http://goo.gl/rjgMz)
- BUFFALO LUA3-U2-ATX (http://goo.gl/0Emwq)
(Please report which devices works for you)

Known issues
------------------------
USB to Ethernet is not supported explicitly by Honeycomb v3.2 so there are some constrains in working with these devices:
- Executing 'usb_ethernet' with WiFi enabled is not recommended
- Some apps don't recognize that network connection is enabled via USB to Ethernet

Source
--------------
Source can be downloaded from github: https://github.com/MarkLuk/USB_Ethernet_DriverPack

Expanding the driver pack is quite straightforward:
- Add new driver source to 'src/drivers' folder
- Recompile by executing 'make' in the driver package root


Comments, contributions and suggestions are welcome


Download
------------------
USB to Ethernet Driver Pack v0.1: https://github.com/downloads/MarkLuk...iethinker].zip
Last edited by MarkLuk; 9th May 2012 at 06:42 AM.
The Following 29 Users Say Thank You to MarkLuk For This Useful Post: [ View ]
23rd September 2011, 10:25 PM   |  #2  
gnufabio's Avatar
Recognized Developer
Flag Milan
Thanks Meter: 3,533
 
1,386 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Awesome work mate, I didn't know there were usb to ethernet adapters
The Following 2 Users Say Thank You to gnufabio For This Useful Post: [ View ]
24th September 2011, 06:39 AM   |  #3  
Senior Member
Thanks Meter: 118
 
774 posts
Join Date:Joined: Nov 2010
I had much hope, but sounds like this is not working with my device.

Can't even ping the default gateway... ^^

I might have one of the 2 latter models : AXIS or QF9700 based unbranded... I have to check again.

It was working quite fine with Android-x86 : Froyo-x86 or Gingerbread-x86.

I'll try to check if I can see something wrong in the source code, when I have time... ^^

Thanks anyway for the try.
24th September 2011, 08:35 AM   |  #4  
OP Member
Thanks Meter: 55
 
41 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by Arobase40

I had much hope, but sounds like this is not working with my device.

Can't even ping the default gateway... ^^

I might have one of the 2 latter models : AXIS or QF9700 based unbranded... I have to check again.

It was working quite fine with Android-x86 : Froyo-x86 or Gingerbread-x86.

I'll try to check if I can see something wrong in the source code, when I have time... ^^

Thanks anyway for the try.

Connect your device to Linux box and check what 'lsusb' returns.
24th September 2011, 09:24 AM   |  #5  
Senior Member
Thanks Meter: 118
 
774 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by Quiethinker

Connect your device to Linux box and check what 'lsusb' returns.

Bus 001 Device 005: ID 9710:7830 MosChip Semiconductor MCS7830 Ethernet

With lsmod, I have : usbnet 26147 1 mcs7830

---------- Post added at 10:24 AM ---------- Previous post was at 10:21 AM ----------

Forgot to say, I receive a DHCP address and I can ping on it, but couldn't pass beyond the gateway...
24th September 2011, 09:33 AM   |  #6  
OP Member
Thanks Meter: 55
 
41 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by Arobase40

Bus 001 Device 005: ID 9710:7830 MosChip Semiconductor MCS7830 Ethernet

With lsmod, I have : usbnet 26147 1 mcs7830

---------- Post added at 10:24 AM ---------- Previous post was at 10:21 AM ----------

Forgot to say, I receive a DHCP address and I can ping on it, but couldn't pass beyond the gateway...

OK so the driver seems to work.
Please attach the output of the following commands from Transformer terminal:
'route'
'ifconfig'
The Following User Says Thank You to MarkLuk For This Useful Post: [ View ]
24th September 2011, 09:57 AM   |  #7  
Senior Member
Thanks Meter: 118
 
774 posts
Join Date:Joined: Nov 2010
route : invalid argument

ifconfig : nothing
24th September 2011, 10:10 AM   |  #8  
OP Member
Thanks Meter: 55
 
41 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by Arobase40

route : invalid argument

ifconfig : nothing

What ROM do you have? Is it rooted?
24th September 2011, 03:38 PM   |  #9  
Senior Member
Thanks Meter: 118
 
774 posts
Join Date:Joined: Nov 2010
It's Revolver 3.2 created by gnufabio (I guess) and yes rooted...
24th September 2011, 06:58 PM   |  #10  
OP Member
Thanks Meter: 55
 
41 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by Arobase40

It's Revolver 3.2 created by gnufabio (I guess) and yes rooted...

Strange i'm using the same ROM.
Check that you using 'usb_ethernet' with superuser permissions:
Code:
su
usb_ethernet
if this doesn't work, try to set your routing and IP manually:
Code:
su
ifconfig eth0 YOUR_MANUAL_IP (like 192.168.0.40) netmask 255.255.255.0 broadcast YOUR_NETWORK_PREFIX.255 (like 192.168.0.255)
route add default gw YOUR_GATEWAY_IP (like 192.168.0.1)
setprop net.dns1 8.8.8.8
Now check that the setting is working by:
Code:
ping google.com

The Following User Says Thank You to MarkLuk For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
driver, ethernet, usb
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes