Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
clotai
Old
(Last edited by clotai; 2nd February 2012 at 05:06 AM.)
#1  
Member - OP
Thanks Meter 32
Posts: 61
Join Date: Sep 2007
Location: HsinChu

 
DONATE TO ME
Talking [DRIVER] USB Ethernet driver dm9601 for EOS WiFi Nightlies[02/02/2012]

I am using usb ethernet dongle with chip dm9601.
so for anyone who needs it.
Basic usage:
Code:
su
modprobe dm9601
# if the above command is not working, use this instead.
insmod /system/lib/modules/dm9601.ko

# for dhcp
/system/bin/dhcpcd eth0 
setprop net.dns1 8.8.8.8

# for static ip
ifconfig eth0 10.0.10.5 netmask 255.255.255.0 broadcast 10.0.10.255
route add default gw 10.0.10.1
setprop net.dns1 8.8.8.8
And that's it.


update_dm9601.zip

ps. tested in EOS ROM #20
check if your kernel version is 2.6.39.4-Tiamat-02006-gd302a89
if yes, you can use this module.


20120116_dm9601.zip

ps. tested in EOS ROM #38
check if your kernel version is 2.6.39.4-Tiamat-02030-ge515569
if yes, you can use this module.


20120122_update.zip

ps. tested in EOS ROM #44
check if your kernel version is 2.6.39.4-Tiamat-02044-gf2b60b1-dirty
if yes, you can use this module.


20120202_update_dm9601.zip

ps. tested in EOS ROM #58
check if your kernel version is 2.6.39.4-Tiamat-3.0.4-gpuoc-02063-gf5229f7
if yes, you can use this module.
Attached Files
File Type: zip update_dm9601.zip - [Click for QR Code] (217.7 KB, 435 views)
File Type: zip 20120116_dm9601.zip - [Click for QR Code] (217.7 KB, 96 views)
File Type: zip 20120122_update.zip - [Click for QR Code] (217.7 KB, 95 views)
File Type: zip 20120202_update_dm9601.zip - [Click for QR Code] (216.7 KB, 142 views)
The Following 7 Users Say Thank You to clotai For This Useful Post: [ Click to Expand ]
 
ruvort
Old
#2  
ruvort's Avatar
Senior Member
Thanks Meter 351
Posts: 1,315
Join Date: Aug 2010
Awesome. Thank you very much :)

Sent from my Xoom using Tapatalk
 
darktyroll
Old
#3  
Senior Member
Thanks Meter 28
Posts: 256
Join Date: Jan 2010
Nice, but any thread with 3G usb dongle?
 
Craxx
Old
(Last edited by Craxx; 30th December 2011 at 02:49 PM.)
#4  
Craxx's Avatar
Senior Member
Thanks Meter 129
Posts: 924
Join Date: Feb 2005
Nice nice nice please can you make a version for hc 3.2 with Kernel Rogue "Rana 1.4.3"?
Best regards
Craxx:)

send from my MZ601 with Tapatalk
best regards
Craxx

Nexus 4
LG O2x P990
XOOM Mz601
Huawei Ideos X3
 
clotai
Old
#5  
Member - OP
Thanks Meter 32
Posts: 61
Join Date: Sep 2007
Location: HsinChu

 
DONATE TO ME
Quote:
Originally Posted by Craxx View Post
Nice nice nice please can you make a version for hc 3.2 with Kernel Rogue "Rana 1.4.3"?
Best regards
Craxx:)

send from my MZ601 with Tapatalk
what is your kernel version ?
Setting -> About tablet.
 
Craxx
Old
#6  
Craxx's Avatar
Senior Member
Thanks Meter 129
Posts: 924
Join Date: Feb 2005
Hy clotai,

My version is 2.6.36.4-rogue-1.4.3+taks@electrike #20

Thx a lot :)

Craxx

Send from my MZ601 with Tapatalk
best regards
Craxx

Nexus 4
LG O2x P990
XOOM Mz601
Huawei Ideos X3
 
clotai
Old
#7  
Member - OP
Thanks Meter 32
Posts: 61
Join Date: Sep 2007
Location: HsinChu

 
DONATE TO ME
Quote:
Originally Posted by Craxx View Post
Hy clotai,

My version is 2.6.36.4-rogue-1.4.3+taks@electrike #20

Thx a lot :)

Craxx

Send from my MZ601 with Tapatalk
Ok. Please Try this.
Attached Files
File Type: zip update_roguedm9601.zip - [Click for QR Code] (148.9 KB, 95 views)
 
Craxx
Old
#8  
Craxx's Avatar
Senior Member
Thanks Meter 129
Posts: 924
Join Date: Feb 2005
Hy clotai,

i tested your file but do not work. I think something should be corrected in your first post?
instead of /system/bin/dhcpd eth0 it should be /system/bin/dhcpcd eth0

This i put in console:
su
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8

but it doesn´t work.

When i write:
su
ifconfig eth0 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
I get an error: error: CIOCSIFADDR (No such device)
route add default gw 192.168.0.1
I get an error: Invalid argument
setprop net.dns1 8.8.8.8

Hope you can solve this
best regards
Craxx

Nexus 4
LG O2x P990
XOOM Mz601
Huawei Ideos X3
 
clotai
Old
#9  
Member - OP
Thanks Meter 32
Posts: 61
Join Date: Sep 2007
Location: HsinChu

 
DONATE TO ME
Quote:
Originally Posted by Craxx View Post
Hy clotai,

i tested your file but do not work. I think something should be corrected in your first post?
instead of /system/bin/dhcpd eth0 it should be /system/bin/dhcpcd eth0

This i put in console:
su
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8

but it doesn´t work.

When i write:
su
ifconfig eth0 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
I get an error: error: CIOCSIFADDR (No such device)
route add default gw 192.168.0.1
I get an error: Invalid argument
setprop net.dns1 8.8.8.8

Hope you can solve this
1. did you do 'modprobe dm9601' ?
2. if the answer of 1 is yes, please show me dmesg when you plug-in your
usb ethernet device
3. please also show me lsusb.
 
Craxx
Old
#10  
Craxx's Avatar
Senior Member
Thanks Meter 129
Posts: 924
Join Date: Feb 2005
Hy clotai,

Sorry i forgot. Yes i do modeprobe, but modeprobe couldn't find...
I am at work now so later i can post the rest of your questions:)

Craxx

Send from my MZ601 with Tapatalk
best regards
Craxx

Nexus 4
LG O2x P990
XOOM Mz601
Huawei Ideos X3

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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...