Jump to content


Photo

usb ethernet for the vega


  • Please log in to reply
23 replies to this topic

#1
Mickgoodie1

Mickgoodie1

    Newbie

  • Members
  • Pip
  • 22 posts
  • Devices:HTC Hero Advent Vega
Any ideas if anyone has tested a usb ethernet adapter on the vega?

I dont get wireless in my office and would like to hook my vega up to my lan to stream stuff off the internet.
Something like this off flea bay i had in mind

http://cgi.ebay.co.u...=item41535a1ccc

  • 0

#2
pdej

pdej

    Regular

  • MoDaCo Silver
  • PipPip
  • 125 posts

Any ideas if anyone has tested a usb ethernet adapter on the vega?

I dont get wireless in my office and would like to hook my vega up to my lan to stream stuff off the internet.
Something like this off flea bay i had in mind

http://cgi.ebay.co.u...=item41535a1ccc

I'm also interested in this. Does anyone have one they could try?

  • 0

#3
trevor432990

trevor432990

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,423 posts

Any ideas if anyone has tested a usb ethernet adapter on the vega?

I dont get wireless in my office and would like to hook my vega up to my lan to stream stuff off the internet.
Something like this off flea bay i had in mind

http://cgi.ebay.co.u...=item41535a1ccc


Don't think anyone has tried this yet and the chances it will work are slim as it will need specific drivers or an Android app to drive the hardware but if you want to give it a go and let us know the results I'm sure we'd all be interested. :huh:

  • 0
Advent Vega running Vegacomb v3.2 Build 6

#4
Mickgoodie1

Mickgoodie1

    Newbie

  • Members
  • Pip
  • 22 posts
  • Devices:HTC Hero Advent Vega
Are there any guides on this forumn that outline if additiional drivers can be installed? Happy to give this a go

  • 0

#5
warriorscot

warriorscot

    Addict

  • MoDaCo Silver
  • PipPipPipPipPip
  • 724 posts
  • Location:Scotland
  • Devices:Advent Vega
Haven't seen anything but XDA might have some more general android stuff that could help. Problem is that drivers and hardware is the more difficult things to work on and unless a similar device has a driver that iust needs a little tweaking it needs lots of knowledge of botb pieces of hardware and the o.s. which most of us amaateurs aren't going to learn in a guide.

  • 0

#6
pdej

pdej

    Regular

  • MoDaCo Silver
  • PipPip
  • 125 posts

Haven't seen anything but XDA might have some more general android stuff that could help. Problem is that drivers and hardware is the more difficult things to work on and unless a similar device has a driver that iust needs a little tweaking it needs lots of knowledge of botb pieces of hardware and the o.s. which most of us amaateurs aren't going to learn in a guide.



I'm not even at the amateur level so apologise if this is a silly idea. Could the drivers be taken from the Zt-180's? They have ethernet ports (or is it different if it is through usb?).

  • 0

#7
dbaseii

dbaseii

    Enthusiast

  • Members
  • PipPipPip
  • 287 posts
  • Gender:Male
  • Devices:POV Mobii 10.1
  • Twitter:@dbase

I'm not even at the amateur level so apologise if this is a silly idea. Could the drivers be taken from the Zt-180's? They have ethernet ports (or is it different if it is through usb?).


This would be excellent. It would allow me to do client network audits using overlook fing

  • 0

#8
Mickgoodie1

Mickgoodie1

    Newbie

  • Members
  • Pip
  • 22 posts
  • Devices:HTC Hero Advent Vega
Right who owns or knows someone with a zt-180 then! This would be so cool to get working, but i will have a hunt around the xda forumn as well.

  • 0

#9
pdej

pdej

    Regular

  • MoDaCo Silver
  • PipPip
  • 125 posts

Right who owns or knows someone with a zt-180 then! This would be so cool to get working, but i will have a hunt around the xda forumn as well.

Any luck with this?

  • 0

#10
dbaseii

dbaseii

    Enthusiast

  • Members
  • PipPipPip
  • 287 posts
  • Gender:Male
  • Devices:POV Mobii 10.1
  • Twitter:@dbase
I was in the local media markt today and came across a pov mobii that was different to mine. It had a home button like the ipad. Anyway it had a micro usb port for a network connection. But it was running android 2.1

So there must be a way to use a usb to lan adaptor

  • 0

#11
Lupulus

Lupulus

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Devices:Point of View Mobii
I have managed to get my moschip-based ethernet dongle working, partially. Browser and default mail client work. GMail doesn't work (acknowledges network but won't fetch new mail), Market starts downloading apps but never finishes and GTalk doesn't even try.

Since I am not that familiar with the internal workings of linux, my solution consists of stuff I found on the net MacGyvered together with chewing gum and duct tape.

The short version (which may be useless - if you understand this stuff you probably don't need my help) is basically to build the kernel with these options enabled in the .config:
CONFIG_USB_NET_AX8817X (this is apparently needed even for non-asix devices)
CONFIG_USB_NET_CDC_EEM
CONFIG_USB_NET_MCS7830 (this is the moschip device)
CONFIG_USB_NET_RNDIS_HOST
CONFIG_USB_ANDROID_RNDIS
CONFIG_USB_ANDROID_RNDIS_WCEIS

Then install the kernel and reboot to host mode with the dongle plugged-in. After that, it's a matter of mucking about in a terminal using various combinations of
netcfg (Should show an entry for eth0. If there is no eth0, try dmesg to see if the dongle has been found on usb0 and is assigned eth0)
setprop net.dns1 192.168.0.1 (which is the IP of my router)
dhcpcd
netcfg eth0 dhcp

I have begun writing a more detailed description, but I will be grateful for any helpful pointers* along the way, and if anyone knows how to get GMail, GTalk and market to work properly, I will be very happy indeed.


*except maybe suggesting that I buy a wifi router, as that would interfere terribly with the tinfoil hats of certain family members

  • 0

#12
xaboren

xaboren

    Newbie

  • Members
  • Pip
  • 9 posts
  • Devices:HTC Desire

I have managed to get my moschip-based ethernet dongle working, partially. Browser and default mail client work. GMail doesn't work (acknowledges network but won't fetch new mail), Market starts downloading apps but never finishes and GTalk doesn't even try.

Since I am not that familiar with the internal workings of linux, my solution consists of stuff I found on the net MacGyvered together with chewing gum and duct tape.

The short version (which may be useless - if you understand this stuff you probably don't need my help) is basically to build the kernel with these options enabled in the .config:
CONFIG_USB_NET_AX8817X (this is apparently needed even for non-asix devices)
CONFIG_USB_NET_CDC_EEM
CONFIG_USB_NET_MCS7830 (this is the moschip device)
CONFIG_USB_NET_RNDIS_HOST
CONFIG_USB_ANDROID_RNDIS
CONFIG_USB_ANDROID_RNDIS_WCEIS

Then install the kernel and reboot to host mode with the dongle plugged-in. After that, it's a matter of mucking about in a terminal using various combinations of
netcfg (Should show an entry for eth0. If there is no eth0, try dmesg to see if the dongle has been found on usb0 and is assigned eth0)
setprop net.dns1 192.168.0.1 (which is the IP of my router)
dhcpcd
netcfg eth0 dhcp

I have begun writing a more detailed description, but I will be grateful for any helpful pointers* along the way, and if anyone knows how to get GMail, GTalk and market to work properly, I will be very happy indeed.
*except maybe suggesting that I buy a wifi router, as that would interfere terribly with the tinfoil hats of certain family members


Since my wifi isn't working I'am really interested in whatever you got working so far, even if should be "just" the browser (that would be totaly awesome btw. ;). I am not a dev though.
Something that might help you, I know there is a dock for the viewsonic Gtablet with an ethernet port, which I think is almoste the same.
link to Ebay

  • 0

#13
Lupulus

Lupulus

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Devices:Point of View Mobii
I haven't done anything with the vega for two weeks now, been busy playing with my new phone (galaxy II), but I will get back to it soon enough.

If you tell me which rom you are using and the brand of the dongle, I can make a build so you can try it out.


Since my wifi isn't working I'am really interested in whatever you got working so far, even if should be "just" the browser (that would be totaly awesome btw. ;). I am not a dev though.
Something that might help you, I know there is a dock for the viewsonic Gtablet with an ethernet port, which I think is almoste the same.
link to Ebay


  • 0

#14
ju88a

ju88a

    Newbie

  • Members
  • Pip
  • 27 posts
Lupulus have you got any further forward with this? I am interested in trying to get this to work can you post up a firmware somewhere with what you have got working thus far please.

Thanx
ju88a

  • 0

#15
Lupulus

Lupulus

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Devices:Point of View Mobii
Sorry, real life has intervened (like midsummer which is a pretty big deal in Sweden).
I'll try to get things moving again :)

In order to get a kernel working I need to know the type and make of dongle, otherwise it won't work.
I can make a build with everything (sort of) built as modules, that way you can start experimenting at least.

  • 0

#16
ju88a

ju88a

    Newbie

  • Members
  • Pip
  • 27 posts

Sorry, real life has intervened (like midsummer which is a pretty big deal in Sweden).
I'll try to get things moving again :)

In order to get a kernel working I need to know the type and make of dongle, otherwise it won't work.
I can make a build with everything (sort of) built as modules, that way you can start experimenting at least.


Hi Lupulus

Sounds great. Dongle is of chinese origin http://cgi.ebay.co.u...ht_11216wt_1139. I am creently using Vegacomb as its great for me, but any flavour rom I am happy to test and work on to try to get this working.

I cracked open the dongle and it has 3 chips, LF8505 and two identical looking chips which say SR8201, SR9600. Looks like the LF8505 is the right chip made by Delta, http://www.delta.com...m...id=2&ssid=1

Let me know if I can be of further assistance and thank you.
ju88a

Edited by ju88a, 28 June 2011 - 11:13 AM.

  • 0

#17
Lupulus

Lupulus

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Devices:Point of View Mobii
I couldn't determine which usbnet device to enable in the kernel, so I chose all of them :)

Please try this kernel, it might just work.

Install it the usual way in CWM, "choose a zip file" etc.
Insert the dongle with network plugged in and restart
Unplug and re-plug the dongle

In a terminal, type
su
dmesg
and hopefully there will be a message that the device has been identified and assigned a network interface.

then it's a matter of trying something like

setprop net.dns1 192.168.0.1 (which is the IP of my router)
dhcpcd
netcfg eth0 dhcp

And hopefully things will magically start to work. It's not a reliable process, so it may take a few tries.

Gotta go, late for work...

  • 0

#18
ju88a

ju88a

    Newbie

  • Members
  • Pip
  • 27 posts
thanks, ok so I have tried this both on vegacomb and corvus5. Results are as follows I see the new modules being loaded, the usb is recognised as a network device but it dosent get assigned anything no eth0 for example. Anything I can do to force this to happen?

Also once this has been applied it knocks out the wifi and just says error for wifi, will this be the case a tradeoff eth but no wifi or wifi but no eth?

thanks for your help its much appreciated

  • 0

#19
Lupulus

Lupulus

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Devices:Point of View Mobii
I haven't been able to build with working wifi so that's the tradeoff for now. It doesn't have to be, I'm still hoping for someone knowledgeable to give me a few hints.
The kernel is based on corvus kernel so it should work with corvus5.

I also had the situation with "identified but not assigned", but enabling AX8817X when building the kernel solved that for me. It is enabled in the build you tried so that's probably not the cause.

When the device is identified, what manufacturer and ID does it say? I could try building with just the necessary stuff enabled instead of the shotgun approach.

  • 0

#20
ju88a

ju88a

    Newbie

  • Members
  • Pip
  • 27 posts
<6>[ 428.301238] usb 1-1: new full speed USB device using tegra-ehci and address 3
<6>[ 428.459927] usb 1-1: New USB device found, idVendor=0fe6, idProduct=8101
<6>[ 428.466689] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=3
<6>[ 428.473876] usb 1-1: Product: USB Network Controller
<6>[ 428.481455] usb 1-1: configuration #1 chosen from 1 choice

This is what is reported in vegacomb unmodified kernel. I noticed no difference with your modified kernel. One thing I noticed was the ar6000 in your modified files asfaik this relates to an atheros chipset have u tried ur modification without this file?

Vegacomb is halfway there as it recognises the usb correctly as a network interface, now if only it would assign it properly. I have tried to force it with my limited linux ifconfig knowledge but to no affect.

I will try again with corvos but was having a problem with the keyboard not displaying in terminal on that rom.
Thanks j8

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users