Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
MK808 - USB LAN Gigabit Ethernet with SMSC75xx chipset and various drivers in github.
Collapse
X
-
OK here is a complete test ROM. YES I want you to flash this and erase nand please.
TO ALL OTHERS! DO NOT TRY THIS ROM! IT IS BETA TEST.....
Here is the full download:
https://docs.google.com/file/d/0B9BF...gtWXNjSWc/edit
Let me know whan you have downloaded this so I can remove it. I do not want others downloading this for now.
In this ROM I also added ES File explorer built in. I cannot add Jackpal terminal emulator but in the ROM kit I give you the APK. I want you to side load this please. DO NOT setup wifi and get connected! Put the terminal.apk in the ROM kit on sdcard and install it from there.
Now try the ethernet device. If it still does not work I will give you further instructions.
GOD... I am hoping it works
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Originally posted by Finless View PostOK here is a complete test ROM. YES I want you to flash this and erase nand please.
TO ALL OTHERS! DO NOT TRY THIS ROM! IT IS BETA TEST.....
Here is the full download:
https://docs.google.com/file/d/0B9BF...gtWXNjSWc/edit
Let me know whan you have downloaded this so I can remove it. I do not want others downloading this for now.
In this ROM I also added ES File explorer built in. I cannot add Jackpal terminal emulator but in the ROM kit I give you the APK. I want you to side load this please. DO NOT setup wifi and get connected! Put the terminal.apk in the ROM kit on sdcard and install it from there.
Now try the ethernet device. If it still does not work I will give you further instructions.
GOD... I am hoping it works
Bob
ROM has been downloaded and extract successfully. You may now remove the file if you want.
Commencing the test now... I'll let you know the result asap.
I'm hoping this one will work too
Comment
-
I await your testing....
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Originally posted by KasSGT View PostThe suspense is killing me...
Verstuurd van mijn GT-P1000 met Tapatalk
Too funny!
Unfortunately it is dinner time. So I have to stop tonight for now.
So the suspense may kill you longer...
I have some time tomorrow to work on this more... Monday IT IS BACK to the REAL job
So time will be less...
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Originally posted by Finless View PostI await your testing....
Bob
I've done 4 testing, details are in the attached file.
In brief, the driver can successfully detect the SMSC75xx USB LAN Ethernet device after boot up, after the static IP has been set, it still unable to connect to local gateway. I've tried to ping the MK808 ip addresss and it can be done successfully but when I tried to ping local gateway the "destination host is unreachable" message was shown.
I've tried to dump the routing table and can't see the default gateway routing being set in the table.
I've tried to add routing entry manually but it did not work, most probably I did it incorrectly.
Anyway...attached is the footprint of my tests... I hope I will help you a lot in doing further diagnosis.
Enjoy your dinner and relaxing evening...
I'll back to work again next Monday, so it will be less time for me as well to tinker with MK808...
Once again, thank you for looking into this.
Comment
-
Originally posted by Finless View PostYou can try it per my instructions above.
chronozen, logcat if full of all kinds of errors coming from other applications. ES File explorer is erroring bad and crashing. Possibly due to mounts you have setup over wifi? There are a few other apps also having problems that possibly were mapped before?
Bottom line I do not see any errors with the LAN adapter! What I do see is apps crashing VM and Dalvick.
I hate to tell you this but to continue I will make you a new boot.img and inject the driver there on boot. Then I will want you to flash the ROM again and erase NAND. Then install nothing nor setup wifi even. We can then debug this much easier.
Which kernel and boot are you using, 1080 or 720? I will make you one for this further testing.
Bob
thx a lot !
Comment
-
Question. Are you connecting the ethernet adapter to the side OTG port?
Have you tried the the full sized port on the back of the unit instead of the OTG port?
Also try a subnet mask of 255.255.255.254
I am not seeing much in the logs as to why it is not working! It seems like it should.
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
I think I may have found it possibly.
go into /system/lib/modules and either delete tun.ko or rename tun.ko to tun.old
See if that helps. It's possible there is some incompatability with that ko module.
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
There are some oddities here and I see no reason why this is not working!
Logcat clearly shows eth0 is up and enabled with no errors. That fact that at one time you got the browser to geekbuying shows it is working. And that you could ping another destination (host) but not the gateway is very odd... like something is screwy with the network?
Also why are you entering DNS2 as 8.8.8.8 ? I would leave it blank.
Is your router setup to also be a DHCP server? I see when it was set for DHCP it got a non-response from the router. Maybe try setup your router as DHCP and see if that will work at all?
The driver is not crashing or hanging you. It is applications running in the background that are going crazy trying to talk to google for sync, etc... Almost like your dropping a TON of packets. Have you verified a good cable and connection? Maybe hook a laptop to this cable and check?
Really, I see no reason this should not work.... Nothing on the ethernet side of logcat or dmesg is showing a problem with the driver.
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Good Day Bob,
Initially the USB Ethernet always connected directly to OTG port, with my latest test, I move it into the Normal Size USB port but it still not working.
I've renamed tun.ko into tun.old in /system.lib.modules, it still not working.
I've change the subnet mask to 255.255.255.254, it's not working because it only knew itself and don't care about other devices in 192.168.82.0/24. No default gateway routing entry was created.
In the test yesterday, I forgot to turn off the AutoSync feature, for today's test, I've turned it off.
My router is a DHCP server and set to serve IP from 192.168.82.100 - 192.168.82.200.
The primary DNS is set to my router 192.168.82.1 and secondary i set it to google's primary DNS server just in case my router can not resolve address.
I've tried to disable static IP and let DHCP set the IP but when using netcfg command, there is no IP address assigned to the eth0.
I've found out that the 192.168.82.92 ip address is conflicting with my old android mobile phone that still on, so I've change it to different IP address 192.168.82.30 but it still not able to find devices in local network 192.168.82.0/24 and can't connect to Internet. I think if the Ethernet IP assignment can be done successfully logcat will show ip conflict error, but from your observation, this error was never occurred before/not detected by logcat.
I've tried to replace my Air Mouse (Astone R3 or Mele F10) with corded usb mouse; just in case the driver conflict with the USB ethernet but it still not working.
With USB Ethernet connected to MK808 and 192.168.82.30 static ip address assigned, i tried to ping the device from my desktop pc but come back with Destination Host unreachable.
I think the SMSC75xx driver itself is running fine but the Ethernet configuration (althought I've already put static ip) is not set properly / it cannot route network traffic properly to local network.
I'm agree with you that there is some oddities here....
Attached is my latest test logs and details, if you still interested to have a look at it
if not it's ok, i can understand that it is very hard to debug something remotely that mix with some oddities...
I guess we better leave it for a while, enjoy the coming weekend before start working on Monday, 7 Jan 2013...
Thank you a lot for looking into this Bob.... I hope you enjoy your weekend.... and I hope this suspense not killing KasSGT anymoreAttached Files
Comment
-
Hmmmm.... do me one more favor please.... 1.6 has many changes to framework and maybe mixing some things from MX1 is a permissions problem i pulled from framework.
My very old 1.4 ROM was basically stock with root, etc. No other tweaks.
Please flash this 1.4 ROM.
Then, like first time insmod the KO module using terminal emulator and try again.
I have a feeling this is a bug I induced maybe in 1.6????
If you get some success, I will make a custom ROM for you so we cant test further.
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Originally posted by Finless View PostHmmmm.... do me one more favor please.... 1.6 has many changes to framework and maybe mixing some things from MX1 is a permissions problem i pulled from framework.
My very old 1.4 ROM was basically stock with root, etc. No other tweaks.
Please flash this 1.4 ROM.
Then, like first time insmod the KO module using terminal emulator and try again.
I have a feeling this is a bug I induced maybe in 1.6????
If you get some success, I will make a custom ROM for you so we cant test further.
Bob
Hi Bob,
I will try the 1.4 ROM after I post this message...downloading now...
After return from lunch with friends, I remembered that when I try to install my SMSC7500 device on my Windows machine, although I successfully install the driver, the device is not instantly plug and play. I have to set the Speed and Duplex manually to 100baseTx-FD before I can connect to local network using the USB Gigabit Ethernet LAN adapter.
I'm just wondering what is the tool/command in Android to manually set Ethernet Speed and Duplex?
I'll let you know the result of ROM 1.4 in my next post.
Thank you for your kind attention.
Comment
-
Hi Bob,
After flashing 1.4 ROM and manually inject smsc75xx.ko, the USB LAN device is recognize by MK808 and Ethernet is up and running but it still can't connect to network.
After browsing around, i found the place where to check active ethernet eth0 setting in the system;
it is located at /sys/class/net/eth0/
inside that folder i can see the "duplex" and "speed" of eth0 which set to Half Duplex and Speed is 1000 (1Gbps).
My router only support up to 100 Mbps Full Duplex, that's why MK808 never sonnects to the local network.
If we can find the way to enforce/change duplex/speed of the Ethernet in Android, the USB Lan SMSC75xx device to 100baseTx-FD, i think it will work in both 1.4 and 1.6 ROMs. Not sure whether this setting is hard coded in the source of SMSC75xx.c or SMSC75xx.h, if we can change it manually in the source code and have the smsc75xx.ko that configured for 100baseTx-FD, it might solve this mystery.
Thank you for your kind attention.
Comment
What's Going On
Collapse
There are currently 2692 users online. 2 members and 2690 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment