Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
potissimus
Old
#1  
Member - OP
Thanks Meter 6
Posts: 31
Join Date: Feb 2009
Default USB-Ethernet Driver Compilation

Could someone compile the following file for me? I'd do it myself, but, unfortunately, I don't have access to a computer, nor will I for a while (I'm touchpad only for now).

https://github.com/CyanogenMod/hp-ke.../usb/mcs7830.c

The driver is for a USB-Ethernet adapter that I'm trying to get working on the Touchpad through ICS (cm9).

Thanks.
 
ba114
Old
#2  
Member
Thanks Meter 11
Posts: 47
Join Date: Mar 2012
Is this for USB 3g dongles??
 
potissimus
Old
#3  
Member - OP
Thanks Meter 6
Posts: 31
Join Date: Feb 2009
No, not for a 3G adapter, but for one that goes from USB to Ethernet cable.

jcsullins compiled it for me, by the way, so I no longer need the driver (many thanks to him).

However, I can confirm that ICS on CM9 recognized it without problems as eth0 and once I ran dhcpd and assigned a DNS server, I had no problems connecting to the internet. So feel free to add a driver for your own adapter if you have one.

So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)

A couple caveats, I've noticed.
1) It doesn't play nice with wifi. I sort of expected this, but bringing up wlan0 and eth0 at the same time crashes the tablet.
2) Not all apps recognize the internet connection. This is a bit frustrating since most do (including the Browser), but not all.
 
all4adriver
Old
#4  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2013
Location: Edmonton
Quote:
Originally Posted by potissimus View Post
No, not for a 3G adapter, but for one that goes from USB to Ethernet cable.

jcsullins compiled it for me, by the way, so I no longer need the driver (many thanks to him).

However, I can confirm that ICS on CM9 recognized it without problems as eth0 and once I ran dhcpd and assigned a DNS server, I had no problems connecting to the internet. So feel free to add a driver for your own adapter if you have one.

So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)

A couple caveats, I've noticed.
1) It doesn't play nice with wifi. I sort of expected this, but bringing up wlan0 and eth0 at the same time crashes the tablet.
2) Not all apps recognize the internet connection. This is a bit frustrating since most do (including the Browser), but not all.
Thanks for the extra info--but a link the the driver jcsullins provided you would be a lot more helpful! Any chance you can post it somewhere for us?
 
all4adriver
Old
#5  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2013
Location: Edmonton
Quote:
Originally Posted by all4adriver View Post
Thanks for the extra info--but a link the the driver jcsullins provided you would be a lot more helpful! Any chance you can post it somewhere for us?
*bump*

is there a USB ethernet adapter that will work on our touchpads without a driver?
 
ba114
Old
#6  
Member
Thanks Meter 11
Posts: 47
Join Date: Mar 2012
Quote:
Originally Posted by all4adriver View Post
*bump*

is there a USB ethernet adapter that will work on our touchpads without a driver?
I figured out how to compile drivers manually myself shortly after my posts in this thread. I havent used my build environment in a while though, should still be able to check out what (if any) drivers are built into the kernel by default. Do you already have an adapter?
The Following User Says Thank You to ba114 For This Useful Post: [ Click to Expand ]
 
all4adriver
Old
#7  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2013
Location: Edmonton
Quote:
Originally Posted by ba114 View Post
I figured out how to compile drivers manually myself shortly after my posts in this thread. I havent used my build environment in a while though, should still be able to check out what (if any) drivers are built into the kernel by default. Do you already have an adapter?
OMG thank you for responding! No, I don't have an adapter yet--was waiting to find out which one works and I'll buy that. I'm open to suggestions. Thank you!
 
all4adriver
Old
#8  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2013
Location: Edmonton
You are my shining beacon of hope ba114! Have you had a chance to see what drivers might exist in the kernel?
 
all4adriver
Old
#9  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2013
Location: Edmonton
I read elsewhere that the cyanogenmod for the asus transformer contains a driver compatible with Asix AX88772. That chipset is what this cheapo adapter (OMG, no links for noobs!) uses. I have half a mind to buy one just to see, but it would help immensely if someone could confirm that jcsullins cm9 or cm10 for the touchpad also has support for this chipset baked in...

Hopefully giving you something to work with will make this less of a "needle in the haystack"...

Thanks!
 
all4adriver
Old
#10  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2013
Location: Edmonton
really wish I could post links, as jscullins has posted the driver!

hxxp://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko

The Following User Says Thank You to all4adriver For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more