• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

honey ICE + USB ethernet

12 posts in this topic

Posted · Report post

I have USB ethernet dongle..no work.. help me pleas..

0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm in a similar boat, the kernels in all of the vega ROMs aren't compiled driver support for the ethernet-to-usb adapter I happen to have. I've been trying to build a custom kernel with the driver enabled, but no luck yet. Will update this post if I get anywhere.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Corvus supports some ethernet adapters see this thread. You can't expect it to support all ethernet adapter chipsets though as there's limited space in a vega so more a case of finding a compatible one.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Ian, I had a look at the Corvus5 kernel and it doesn't have CONFIG_USB_RTL8150 enabled either so it won't work for my case. However, someone in that thread (or a thread linked from there) suggested just compiling the driver as a module instead of recompiling the whole kernel, I'll have to give that a try.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Or just buy this from Amazon for just over £10 as it uses the chipset specified in that thread as working with corvus.

General rule of thumb with the vega and usb devices other than storage is search for them in the forums as odds are against them being supported except for particular devices owned by the developers of the roms.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I've tried this adapter out and it works with a stock linux kernel using the rtl8150 module. I guess since the vega is running a linux kernel I didn't anticipate any issues just enabling the driver, of course I have much less experience than you. Do you think it's likely some porting/kernel hacking is required to get the adapter working?

0

Share this post


Link to post
Share on other sites

Posted · Report post

You have more experience than me in linux I should think as the nearest I get is application development on QNX and I have yet to change the kernel from that created by installing direct to the target system.

Take into consideration that Android is a small footprint embedded version so will have had a fair amount stripped from it. I'm just good at ferreting around for answers. Note in that thread that though one poster suggested you should be able to just add the built in modules to an existing installation of a kernel with a bit of fiddling that another said they were having problems so it all rather depends on how much time you're prepared to spend doing this.

Possibly xda-developers forums might be a better place to post kernel build related questions

0

Share this post


Link to post
Share on other sites

Posted · Report post

the latest honeyice update has this one added:

-Added USB Ethernet support

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for your wisdom Ian, you made me slow down and verify each step I was taking when trying to deploy a kernel. I'm making some progress... before yesterday all the kernels I built just booted the vega to a black screen, now I've at least built a few that display a loading splash screen. They don't boot past that, but I got one with my driver enabled to get that far :)

I tried the module based approach, and I built an rtl8150.ko that insmod'd fine on the vega, but the usb stack doesn't detect anything when I plug it in... nothing in dmesg or lsusb.

So, a little progress. My biggest problem now is finding the exact source code required to reproduce the moddedStock kernel. (Tried rebel1's git with eduardo's patches but no luck)

0

Share this post


Link to post
Share on other sites

Posted · Report post

derp! as I was browsing other posts I just realised I had the vega in USB peripheral mode when I plugged the adapter in... switched to host mode and now it detects the adapter. I'm not getting an interface yet, but there's a dchpd error in dmesg and it looks like the hardware is detected, maybe just some userspace support required from here!

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

BAM, it's working :D

Not perfectly, there's no dhcpcd service set up for eth0 so it doesn't automatically get an IP when I plug the adapter in, I have to manually start dhcpcd.

Also, android doesn't properly detect the network - when I press down the bottom right where the wifi signal strength is displayed it says "No Internet Connection". Browser said the same thing ("Browser cannot work because there is no internet connection"), and then proceeded to work fine :D

The Market however, won't let me setup my google account... think it is only trying to use wifi...

Edited by sqweek
0

Share this post


Link to post
Share on other sites

Posted · Report post

Was easy enough to get dhcpd going. I made some modifications to the init ramdisk - firstly I copied my kernel module into it[1], then added an insmod and dhcpcd service to init.harmony.rc. The diff is below (from vegacomb 9n update 3 boot image):

[1] /system/lib/hw is a much more sensible place for kernel modules than / of course, but cbf messing with squashfs and friends

diff -ur vegacomb9n3/init.harmony.rc ramdisk_RTLm/init.harmony.rc

--- vegacomb9n3/init.harmony.rc 2012-03-05 17:27:55.202003631 +0800

+++ ramdisk_RTLm/init.harmony.rc 2012-03-05 15:48:24.888581376 +0800

@@ -7,6 +7,7 @@

symlink /mnt/sdcard /sdcard

mkdir /mnt/external1 0000 system system

mkdir /mnt/external2 0000 system system

+ insmod /rtl8150.ko

on fs

mount yaffs2 mtd@system /system wait ro

@@ -96,6 +97,10 @@

disabled

oneshot

+service dhcpcd_eth0 /system/bin/dhcpcd eth0

+ disabled

+ oneshot

+

# bluetooth

service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL

disabled

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.