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/showthread.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/MarkLu...SB_Ethernet_DriverPack.v0.1.[Quiethinker].zip
Awesome work mate, I didn't know there were usb to ethernet adapters
Arobase40 said:
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.
Click to expand...
Click to collapse
Connect your device to Linux box and check what 'lsusb' returns.
Arobase40 said:
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...
Click to expand...
Click to collapse
OK so the driver seems to work.
Please attach the output of the following commands from Transformer terminal:
'route'
'ifconfig'
Arobase40 said:
route : invalid argument
ifconfig : nothing
Click to expand...
Click to collapse
What ROM do you have? Is it rooted?
Arobase40 said:
It's Revolver 3.2 created by gnufabio (I guess) and yes rooted...
Click to expand...
Click to collapse
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
Arobase40 said:
Yeah, I typed all these commands, but sounds like the problem comes from the route command !!! ^^
Whatever argument I type I have an "Invalid argument" response. Even with a single route without any argument...
Is it your own version of route or the one supplied by busybox (I have the latest version installed from the Market) ?
At least, we have narrowed the issue...
Click to expand...
Click to collapse
Maybe the problem is with the busybox from the market.
I suggest re-installing the ROM, not install the busybox from the market and re-test the device.
Arobase40 said:
Before reinstalling the ROM again, I first uninstall busybox, then Titanium just to be sure.
But this doesn't change anything : route still responds "Invalid argument" ???
So where does this route version come from ??? From revolver or your pack ? ^^
Click to expand...
Click to collapse
'route' is a busybox command.
Busybox comes with Revolver ROM build-in.
I don't know if Market's Busybox destroys ROMs busybox installation or not, and whenever uninstalling it helps to recreate the previous state of busybox (pathes, softlinks, etc).
There might be also that there is some issue with your busybox softlinks.
You can try execute 'busybox route' instead of 'route'.
Suggest using the command:
busybox route add default gw (IP to your router)
~J
Hi,
1) Thank you very much for this
2) It works great
3) I'm on Prime 1.9+21a
4) I use Apple Dongle
5) This was typed while using LAN with Wifi Off from settings.
PS: Thank you again.
Thank you! I have 2 adapters, the $6.99 unbranded from DealExtreme and a Belkin F5D5055 Gig adapter, and they both work.
Be careful: the DealExtreme adapter mentioned in the OP might not always be the ASIX chipset! I ordered the exact same model and got a MosChip Semiconductor MCS7830 chipset. Fortunately, your driver pack has its driver.
The Belkin F5D5055 adapter is the ASIX chipset, so it is in your pack as well.
I had to type SU in the terminal before 'usb_ethernet' would run with the correct permissions. I do not know if it was just me, or if you should modify the OP to add the SU command as well.
Anyways, thanks again! -SysWiz
SysWiz said:
Thank you! I have 2 adapters, the $6.99 unbranded from DealExtreme and a Belkin F5D5055 Gig adapter, and they both work.
Be careful: the DealExtreme adapter mentioned in the OP might not always be the ASIX chipset! I ordered the exact same model and got a MosChip Semiconductor MCS7830 chipset. Fortunately, your driver pack has its driver.
The Belkin F5D5055 adapter is the ASIX chipset, so it is in your pack as well.
I had to type SU in the terminal before 'usb_ethernet' would run with the correct permissions. I do not know if it was just me, or if you should modify the OP to add the SU command as well.
Anyways, thanks again! -SysWiz
Click to expand...
Click to collapse
Thanks!
Updated the first post regarding 'su'.
Arobase40 said:
Sorry, took me some times to rebuild a whole proper system, from stock Asus or with Revolver 3.2, with busybox from brk rootkit 6.3 or just busybox from titanium but got just the same issue with route... ^^
Still get an DHCP IP, but can't pass through gateway or route command (invalid argument, whatever the argument)...
Click to expand...
Click to collapse
Arobase40,
Please try NOT to install external busybox (from market, brk rootkit, titanium backup, whatever).
Anyhow, did you try to use 'busybox route' instead of 'route'?
Don't forget this is Linux at heart...
For default gateway...
route add -net 0.0.0.0 netmask 0.0.0.0 gw "your gw's IP here"
Mine was: route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.10.1
Also for the DNS:
setprop net.dns1 8.8.8.8
it works, but use your DNS IP, not 8.8.8.8
You may also want to check out this thread here: http://forum.xda-developers.com/showthread.php?p=17128491#post17128491 a little old, but still pertinent (maybe)
Paul
SMC EZ Connect USB (SMC2206USB/ETH) works fine - using ROM Prime 1.9.1 - Thanks !!
Great job!
Now, I want the same thing for my Huawai 3G USB stick!
Quiethinker said:
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/showthread.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)
(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/QuietThinker/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/QuietT...SB_Ethernet_DriverPack.v0.1.[Quiethinker].zip
Click to expand...
Click to collapse
Any chance you could port this to work with the nook since it has usb host support now ?
bled82 said:
Any chance you could port this to work with the nook since it has usb host support now ?
Click to expand...
Click to collapse
Nook doesn't have honeycomb yet, and uses different kernel version.
Unfortunately i don't have enough time to port this and i don't have this device available for testing.
I prefer to spend the little time i have to enhance the experience of my Transformer
Maybe you can ask some Nook kernel devs to take a look here. I'll be glad to help out.
SalsaForte said:
Great job!
Now, I want the same thing for my Huawai 3G USB stick!
Click to expand...
Click to collapse
Take a look here: http://forum.xda-developers.com/showthread.php?t=1259677
Hello.
I am triying to use a Huawei E173 HSPA Dongle in an APAD with Android 2.2 and kernel 2.6.32. When I insert the device it is not attached to the ttyUSB serial ports, but I can see in Terminal Emulator with the command lsusb. In Ubuntu I do sudo modprobe usbserial vendor=0xXXXX product= 0xXXXX and then the Dongle is attached to the serial ports and I can go to internet.
I was trying to do the same in android with Terminal Emulator but the problem is the module usbserial is not found. I don't have it.
I need advice in installing usbserial module in my android system. ¿do you think if I find the module file usbserial.ko compiled for 2.6.32 kernel and put it in my module folder will it work? ¿And where can I found it? ¿Anybody have it in his device?
So I have many many things I want to do with (Specifically) USB devices on my TF101. It's my baby and I use it for almost everything now, but there's still a few problems I haven't been able to shake or get other answers too.
I have a USB-MIDI cable that doesn't work (isn't detected, I think driver issue/isn't supported) Could I make a driver to do this so I can connect my keyboard to my tf and record some jams?
More Important
I have a USB - 3.5 mm converter/cable, usb in, headphone port out. It's by logitech and works fine on computer to plug any 3.5mm headphones into, not at all on android though. My headphone port is broken so this would be an amazing thing to get working properly.
Any help or guidance would be greatly appreciated, even workarounds to get these things working.
Well actually when you are rooted, you can anything!
If nothing helps, you can write your own kernel module since you can compile yourself a custom kernel.
Therefore: yes, we can
conizius said:
Well actually when you are rooted, you can anything!
Click to expand...
Click to collapse
Alright then step 1 is complete I suppose! xD I am rooted and running the tastymehICS kernel.
Gratz good luck for everything else - access to the whole system is open now!
In my opinion guvours kernel is a bit better (got less - not to say no - SoD).
Sent from my HTC Vision using XDA
I've tried both and guevor's seemed a bit more unstable for long periods of usage --just my preference, but that's beside the point xD"
So does anyone know how I could go about creating + adding drivers to the system?
You need download kernel source from asus site and prepare build environment according google andriod development site. Then you can build your kernel a start to add new features and write new kernel modules
Sent from my HTC Desire S using xda premium
I have windows drivers, all I'd need to do is port them, not necessarily write a whole new kernel X3
you don't need write whole kernel, source code for current stock kernel are on asus web site. And you don't have sources for guevor or other kernel. Is not possible to port windows driver to andriod without source code.
Try find if linux driver for you device exist. If yes, it is easy to add it to asus kerenel for transformer. And later is possible to combine your device driver (module) with some other custom kernel.
(I have working USB dvb-t stick on my transformer)
Thanks, I misread what I thought you read when I posted (if that makes any sense x.x")
Ok, it's plug and play on my linux machine too, where could I find the driver to import? So how would I make a module + combine with the guevor/tastymehics kernel?
ok, if your device is plug and play in linux, install any terminal emulation application into transformer (if you not have now) and use "lsusb" then plug your device into usb and use lsusb command again.
You should see something like BUS 001 Device 001: ID 1a4b:0003.
Then use google and try find what module is needed for device 1a4b:0003
then you need environment for building kernel and use some comamnd to build yout kernel module.
1) make menuconfig - choice module needed for your device
2) make ARCH=arm CROSS_COMPILE=mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi- modules
this comple kernel modules for your device. Or you can ask for help from one of developer of custom kernel what you use to comile module what you need from his suource. Kernel and kernel modules musbe compiled from same version.
then copy modules to transformer and use insmod command to load it into kernel. Then you can plug in your device and it should work. (use dmesg to check if device driver is loaded)
Please post "dmesg" output after you plug your device in.(e.g last 10 lines) and output from lsusb.
Take a look in the thread http://forum.xda-developers.com/showthread.php?t=1513490
There is a lot of possibilities to play with usb drivers.
crossik1 said:
Please post "dmesg" output after you plug your device in.(e.g last 10 lines) and output from lsusb.
Click to expand...
Click to collapse
Dmesg (relevant lines):
usb 1-1.2: new full speed USB device number 28 using tegra-ehci
usb 1-1.2: new usb device found, idvendor=046d, idproduct=0a17
usb 1-1.2: new usb device strings: mfr=1, product=2, Serialnumber=0
usb 1-1.2: Product: Logitech g330 Headset
usb 1-1.2: Manufacturer: Logitech
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 <-- These were here already
Bus 001 Device 026: ID 05e3: 0610<-- These were here already
Bus 001 Device 028: ID 046d:0a17 <--- this is the new entry after plugging in
These are the log results asked for. I'm looking into the module now, thanks
At this point I have 4 options to fix my headphone port (that I know of)
1. Open it and try to sauter the port back together (best but, dangerous :/)
2. Get this driver stuff to work so I can use my adapter (great)
3. Bluetooth headphones (meh sound quality from my experience, but good if they work, also expensive)
4. HDMI-Out to Rca to 3.5mm to headphones. (UGH CABLES, but all I would need is the hdmi-rca cable.)
Hi,
I bought an (awful) RD9700 USB-Ethernet adapter for my MK802IV stick (stock Rikomagic firmware).
I was able to compile qf9700 module, 'insmod' it without errors but, inserting USB adapter in the OTG port, it is not recognized at all, always same error from usb_otg stack.
Any help?
I'm not even able to post 'lsusb' output because there is no such command in default busybox
i have a usb to Ethernet adapter 10/100 which cabe with its CD. I hooked it up with my device but no luck. :crying:
could not see eth0 in terminal using netcfg .
after reading some posts about usb to Ethernet on xda , I rooted the phone, ran the makefile provided in the CD. still no luck.
So finally after reading for 2 days, I have options to
Install Ethernet drivers (don't know how)
Install kernel with Ethernet drivers (will change my phone config completely, maybe need to recalibrate later)
Flash a new ROM with Ethernet drivers (will need to reinstall everything)
Don't know the best option. Kinda stuck.
I don't want to loose the current config of cpu speed, etc. provided in the current Android
FYI: The device is detected on the device using usb host controller. Usb to Ethernet Model "Terabyte USB To Lan Card Ethernet Adapter Speed 10/100" found on Amazon. Manufacturer CH9100 Make CH9200. drivers provided has a "ch9x00.c" dunno what to do with it. (I mean after cross compiling).
attached the .c file for refrence.