RJ45 USB Ethernet 10/100Mbps android driver - Android Software Development

Can someone made a custom driver for this network card, i know that some of china aPad have this adapter in case and actually driver must be already interrated in OS.
its good to have some rj45 port on your tablet pc

Related

[Q] Mini USB to RJ45 adapter?

wondering if there is an adapter somewhere to allow me to plug in my Evo4g(or any mini USB phone) to an RJ45 connector...for example a console port on a switch/router and use a terminal app to configure it.
is this even possible?
thanks for any info
Wow...
Wow lol, while that's a pretty cool idea I doubt it could work... I use a USB to Serial adapter on my laptop to connect to switch gear with a Cisco cable, this one specifically,
http://www.amazon.com/Keyspan-USA-1...1?s=electronics&ie=UTF8&qid=1318030317&sr=1-1
but the phone itself would have to have a driver for it, or you'd have to custom code one yourself... Either way I'm not sure a phone would even support serial emulation over its USB connection. Cool thought though!

Using wifi modules usb port for another device

Hi everyone,
I was developing a tablet application for controlling a circuit but now i stuck here somewhere.. there are a few options that i think about what to do after this stage. I need 2 usb ports , one for a usb serial converter (namely pl-2303) and other one is a standart flash drive. I tried to use a hub connected to an OTG cable with no luck. When i plug only one of my devices to OTG port they all work but when i plug 2 of them to hub system freeze or doesn't mount my flash drive. I tried 3 different hubs they are not working. Sometimes i made this setup running with an sd card reader instead of flash and a digitus converter instead of pl-2303. Then i though this can be an issue with the USB 1.1 - 2.0 specifications because pl-2303 is a USB 1.1 device and the rest is 2.0.
After i realize the realtek wifi module in the tablet is also mounted to a USB port i removed the module to check if i can connect one of my devices to that port. But as usual the wifi driver of the system is controlling this port , so when i try to power up the port, system checks if it can find the realtek module and when it cant detect realtek wireless module just shuts down the port back. While this happens i can see my device is connected to system for a few seconds before the driver shut it down.
So this is the all story. I just need this 2 device to work together. I am waiting for your opinions
The tablet is a ATM 7021 processor based cheap tablet.
Thanks in advance.

ROM suggestions needed for OTG/Ethernet Y cable pairing

According to this thread = http://forum.xda-developers.com/showthread.php?t=2238840, I need to have either a custom Kernel or ROM in order to able to use my newly purchased Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Network Adapter and Micro USB Host OTG Cable with Micro USB Power.
Unfortunately, I'm having a bit of difficulty finding any that support or include the drivers for my adapter. Does anyone know of any that support USB Ethernet adapters out of the box?

USB-C LAN adapter that work on 9T?

Does anyone have tested usb lan adapters with the 9T?
I used all the time a ASIX lan adapter in my old Moto X2 with Lineage OS, so i was wondering i anyone have a "working" adapter/IC with the 9T so i can get one for me?
thanks!
I tried LAN adapter on my mi 9t and i can confirm that sadly it doesn't work :/. It worked on my older Mi 4c but not on the recent models.
Dawidqo said:
I tried LAN adapter on my mi 9t and i can confirm that sadly it doesn't work :/. It worked on my older Mi 4c but not on the recent models.
Click to expand...
Click to collapse
good news! tried a "ASIX AX88178" usb 2.0 to gigabit adapter and worked fine! don't know if is only this one, but i think newer asix usb 3.0 will work too (usb on this phone is 2.0 only)
can scan LAN and get internet from it. just need to connect on a network with DHCP ( i don't think you can set manual ip on lan on android)
beware of cheap otg adapters, some of them (tiny dongle) does not have all GND and VCC pins, so they don't get a proper "multiple connection" pins to get better amperage from phone. usb lan adapter can use a bit of power from phone
malowz said:
good news! tried a "ASIX AX88178" usb 2.0 to gigabit adapter and worked fine! don't know if is only this one, but i think newer asix usb 3.0 will work too (usb on this phone is 2.0 only)
can scan LAN and get internet from it. just need to connect on a network with DHCP ( i don't think you can set manual ip on lan on android)
beware of cheap otg adapters, some of them (tiny dongle) does not have all GND and VCC pins, so they don't get a proper "multiple connection" pins to get better amperage from phone. usb lan adapter can use a bit of power from phone
Click to expand...
Click to collapse
Hi, can you tell me the steps to follow to make it work? I have a Mi9t Pro and a USB Lan X88179 adapter connected to an OTG to the mobile, but the internet does not work. How did you do it?
Can you explain this part to me?
"can scan LAN and get internet from it. just need to connect on a network with DHCP ( i don't think you can set manual ip on lan on android)"
Thank you.
Hi, i used a otg adapter cable (make sure it works correctly with a thumb drive for example, to make sure every thing is ok and detect the device)
then i just connected the lan adapter. i would appear as if it is not working, but you need to connect to a network router/switch/etc with the cable and the leds should light up on the lan adapter. to "properly" work, you need to connect to a device with DHCP enabled (by default all lan routers have this) so it will give the phone a IP and work normally. (a network icon should appear on the notification bar)
then you can disable wifi and see if there is internet (if have it in the router) or use the network analyzer to scan the network (if it detect the device and work, you will be able to scan the network and find the devices on it)
malowz said:
Hi, i used a otg adapter cable (make sure it works correctly with a thumb drive for example, to make sure every thing is ok and detect the device)
then i just connected the lan adapter. i would appear as if it is not working, but you need to connect to a network router/switch/etc with the cable and the leds should light up on the lan adapter. to "properly" work, you need to connect to a device with DHCP enabled (by default all lan routers have this) so it will give the phone a IP and work normally. (a network icon should appear on the notification bar)
then you can disable wifi and see if there is internet (if have it in the router) or use the network analyzer to scan the network (if it detect the device and work, you will be able to scan the network and find the devices on it)
Click to expand...
Click to collapse
My otg works by putting the usb memory (yes, it detects it, so OTG is right).
When I connect USB lan adapter (AX88179) to the OTG, the operation lights do not light. And the network icon does not appear on the mobile, and I havent internet. (However, with another Huawei mobile and the Huawei tablet the lights do turn on, the network icon appears, and the internet works via ethernet).
My router is connected in DHCP.
What could be the problem? I need to connect the 9t pro by cable but I can't find the way.
I thought it could be a problem with Xiaomi and 9t pro, but if you connect your 9t I suppose it is possible.
Why don't you use some small modem?
yaro666 said:
Why don't you use some small modem?
Click to expand...
Click to collapse
you mean connect the ethernet cable directly to a small modem and this via USB to the mobile? it would be to use the modem instead of the lan adapter, right? it's a good option, I can try it to see if it works for me.
But I still have the doubt as to why in Mi 9t pro the lan adapter does not work
perhaps the AX88179 is not supported... i tested mine ( AX88178 ) with MIUI and LineageOS and works on both,
malowz said:
perhaps the AX88179 is not supported... i tested mine ( AX88178 ) with MIUI and LineageOS and works on both,
Click to expand...
Click to collapse
Hello, I have gone to the Xiaomi store and another to fix mobile phones, in both they have told me that the ethernet option through an adapter to the 9t pro is not possible because my USB is only for transferring photos, videos (pendrive) but it is not compatible with connections. In developer options, the RNDIS option (USB ethernet) does not appear, which would be the one you would have to have to be able to do it. Do you have the RNDIS option in 9T? it would be: developer options -> default USB settings
RNDIS is for using usb <>usb connection to a computer and make a network over usb, NOT a usb lan adapter.
if usb support OTG (send power via usb to connect a device like usb pendrive) it means it "can" support any usb device, but depend only on the device to have drivers and support for the type of device.
Again, i've tested mine in MIUI and Lineage, and works fine. will post a video showing...
malowz said:
RNDIS is for using usb <>usb connection to a computer and make a network over usb, NOT a usb lan adapter.
if usb support OTG (send power via usb to connect a device like usb pendrive) it means it "can" support any usb device, but depend only on the device to have drivers and support for the type of device.
Again, i've tested mine in MIUI and Lineage, and works fine. will post a video showing...
Click to expand...
Click to collapse
Thank you for your answers. In the Mi community forum, users have the same problem as mine, updates from MIUI 10 do not work for the ethernet option (my MIUI is 12.0.3.0. Another girl asked Xiaomi directly and in an email They answered that they had eliminated that option for not going "with their philosophy" (they are also eliminating the headphone jack connection in many mobiles, it can only be used by bluetooh). This is the general trend, I cannot find anyone who has found a solution Only you! Even in this forum there is a thread about rooting the mobile to make it work with ethernet (but it is too complicated for me). Also other people on the forum work the lan adapter by activating RNDIS in the developer options.
So far, none of this has worked for me.
Summary: Since I don't know exactly what the problem or compatibility is, I am going to try the AX88178 lan adapter. So, wish me luck!
Video (sorry for the low quality, i only have a very old extra phone)
malowz said:
Video (sorry for the low quality, i only have a very old extra phone)
Click to expand...
Click to collapse
Hello! I'm writing to you from my Xiaomi 9t pro in airplane mode with an ethernet cable connected. You were finally right, now it works with the AX88178!! Thanks thanks!!!
Great! if anyone knows a 10/100 adapter that works too with 9T, please share.
10/100 are slower, but consume less power. would be nice to have the option
malowz said:
Great! if anyone knows a 10/100 adapter that works too with 9T, please share.
10/100 are slower, but consume less power. would be nice to have the option
Click to expand...
Click to collapse
This is mine https://www.amazon.es/Plugable-USB2...(“chipset”+ASIX+AX88178&qid=1611769255&sr=8-2
evamel5 said:
This is mine https://www.amazon.es/Plugable-USB2-E1000-Adaptador-Ethernet-Negro/dp/B003VSTDFG/ref=mp_s_a_1_2?dchild=1&keywords=(“chipset”+ASIX+AX88178&qid=1611769255&sr=8-2
Click to expand...
Click to collapse
mine is the same, without the case. but this one is gigabit over usb 2.0 (max around 400mbps).
a 10/100 would be enough for me, smaller and with less power consumption. will try to find a compatible chip from asix perhaps in the future
AX88179 = usb 3.0, yours that wasn't working
asix has these usb 2.0 to 10/100 lan IC's:
AX88172A
AX88772A
AX88772B
AX88772C
will try to find any in Brazil.
something like this:
Amazon.com: USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45) : Electronics
Buy USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45): USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
or this:
Amazon.com: Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: Computers & Accessories
Buy Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
i will test hubs and network + hub in the future also
EDIT:
If connecting on a network without DHCP, you can add manually the ip by using "ifconfig eth0 192.168.1.100" in termux for example. i believe needs root for that. ("su" before running ifconfig)
without setting manual ip on network without DHCP, the network won't work .
EDIT2:
my brother has the tp-link usb 3.0 to gigabit USB adapter, also did not work. The chip is Realtek RTL8153.
malowz said:
mine is the same, without the case. but this one is gigabit over usb 2.0 (max around 400mbps).
a 10/100 would be enough for me, smaller and with less power consumption. will try to find a compatible chip from asix perhaps in the future
AX88179 = usb 3.0, yours that wasn't working
asix has these usb 2.0 to 10/100 lan IC's:
AX88172A
AX88772A
AX88772B
AX88772C
will try to find any in Brazil.
something like this:
Amazon.com: USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45) : Electronics
Buy USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45): USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
or this:
Amazon.com: Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: Computers & Accessories
Buy Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
i will test hubs and network + hub in the future also
EDIT:
If connecting on a network without DHCP, you can add manually the ip by using "ifconfig eth0 192.168.1.100" in termux for example. i believe needs root for that. ("su" before running ifconfig)
without setting manual ip on network without DHCP, the network won't work .
EDIT2:
my brother has the tp-link usb 3.0 to gigabit USB adapter, also did not work. The chip is Realtek RTL8153.
Click to expand...
Click to collapse
thanks! Yes, it consumes battery. the option you say would be good. I want to ask you something: on the box of the pluggable USB 2.0 it says: warm cancer and reproductive, for p65 California. I have read that it may be from the lead. Is that why you don't have the case on your adapter?
evamel5 said:
thanks! Yes, it consumes battery. the option you say would be good. I want to ask you something: on the box of the pluggable USB 2.0 it says: warm cancer and reproductive, for p65 California. I have read that it may be from the lead. Is that why you don't have the case on your adapter?
Click to expand...
Click to collapse
???? no... its because the original cable was bad and i soldered a new one... as i didn't like the bulk case, i just put heat shrink tube and glue
malowz said:
???? no... its because the original cable was bad and i soldered a new one... as i didn't like the bulk case, i just put heat shrink tube and glue
Click to expand...
Click to collapse
Ahh ok!! Here de message in box.

S8+ ethernet usb to rj45

A question: .... someone already tried to use this usb cable rj45 from apple with android? tried on windows ... it works when you install the driver ... on android it was not recognized. i have it here unused and i would love to be able to use it with dex.

Categories

Resources