N7100, charge while in USB host mode. - General Omni Discussion

Hello.
I'm aware that it is possible to get an N7100 to charge while in USB host mode via a h/w mod.
I was wondering if the same thing were possible via a kernel modification? Has anyone got any idea where I need to look?
I found an answer to this question for a different phone:
"On the*Galaxy*Nexus, removing the complete body of method tuna_set_vbus_drive() in arch/arm/mach-omap2/board-tuna-connector.c will disable charging of OTG slave devices and will allow the OTG host itself to be charged. The battery icon will not be updated by this modification alone."
This particular file doesn't exist on the N7100 + Omni (or i haven't it), so i guess the functionality must be somewhere else.
Thanks.

kaleb500 said:
Hello.
I'm aware that it is possible to get an N7100 to charge while in USB host mode via a h/w mod.
I was wondering if the same thing were possible via a kernel modification? Has anyone got any idea where I need to look?
I found an answer to this question for a different phone:
"On the*Galaxy*Nexus, removing the complete body of method tuna_set_vbus_drive() in arch/arm/mach-omap2/board-tuna-connector.c will disable charging of OTG slave devices and will allow the OTG host itself to be charged. The battery icon will not be updated by this modification alone."
This particular file doesn't exist on the N7100 + Omni (or i haven't it), so i guess the functionality must be somewhere else.
Thanks.
Click to expand...
Click to collapse
With the 4210s, the USB interface chip WAS capable of detecting a USB ACA (Accessory Charger Adapter). CM and derivatives supported ACAs on the 4210 devices thanks to a patch.
I'm not sure if the Exynos 4412 USB interface chip (Samsung used the same chip on all 4412-based devices to my knowledge, except for maybe the N80xx family) has the same capability.
Unfortunately, many of the Y-adapters out there aren't proper ACAs. I'd be willing to support proper ACAs IF they can be detected correctly, but I'm not going to allow any workaround hacks that don't follow the USB standards.

Related

[Q] USB Host on P9xx

Hi all, I did a search under this forum and do not actually found any info.
Actually, many older Android phone/device do come with USB Host (OTG) function, hardware or software, with hacks or officials,
Mod/Hacks:
MOTO droid, N1, ZTE Blade, etc
Officials support:
Samsung GS2, MOTO Xoom, MOTO Atrix4G, EEETransformer, Many CN crappy Android Tablet.
I tried using a OTG Cable with a USB thumbdrive on LGP9xx but no luck, browsing thru the system I found that there are USBDisk DIRs on / or /mnt/USBDisk, there are no define on vold.fstab at all on LG, not like the MOTO Xoom..
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
So my wild guess is it was not turned on kernel level?
As far as I can tell, there is USBHost OTG support on Tegra2, seen post related to that on that, I understand that hardware might not be wired (that's what we gonna check), anyone any info/hints/directions/ideas about this on the LGP9xx?
It would just be great if we can use OTG on LG99x...
thanks.
utp said:
Hi all, I did a search under this forum and do not actually found any info.
Actually, many older Android phone/device do come with USB Host (OTG) function, hardware or software, with hacks or officials,
Mod/Hacks:
MOTO droid, N1, ZTE Blade, etc
Officials support:
Samsung GS2, MOTO Xoom, MOTO Atrix4G, EEETransformer, Many CN crappy Android Tablet.
I tried using a OTG Cable with a USB thumbdrive on LGP9xx but no luck, browsing thru the system I found that there are USBDisk DIRs on / or /mnt/USBDisk, there are no define on vold.fstab at all on LG, not like the MOTO Xoom..
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
So my wild guess is it was not turned on kernel level?
As far as I can tell, there is USBHost OTG support on Tegra2, seen post related to that on that, I understand that hardware might not be wired (that's what we gonna check), anyone any info/hints/directions/ideas about this on the LGP9xx?
It would just be great if we can use OTG on LG99x...
thanks.
Click to expand...
Click to collapse
It needs to be turned on via menuconfig. I could do a quick compile later, if you want. The downside is, that a enabled USBHost disables the slave mode. So no mass storage (Or you implement something like holding back while booting up etc to enable usb host)
Benee said:
It needs to be turned on via menuconfig. I could do a quick compile later, if you want. The downside is, that a enabled USBHost disables the slave mode. So no mass storage (Or you implement something like holding back while booting up etc to enable usb host)
Click to expand...
Click to collapse
Wow, that's a quick and straight to the point reply!!!!!
I think I can live without a slave mode, most of my files are copied to the phone by samba, dropbox or ftp....
just wonder what trick did SGS2 or others uses, I know many of the devices which support OTG has 2 diff USB port, 1 for host and 1 for slave, but I "think" got that working too in 1 port, wonder is it the same as our case here that needs special reboot or so? (SGS2 is not available here yet...so I have never tried it instead of watching in on the youtube VID online...)
Anyway, THANKS! waiting for your releases. thumbs up to all DEVs!!!!!!!!
utp said:
Wow, that's a quick and straight to the point reply!!!!!
I think I can live without a slave mode, most of my files are copied to the phone by samba, dropbox or ftp....
just wonder what trick did SGS2 or others uses, I know many of the devices which support OTG has 2 diff USB port, 1 for host and 1 for slave, but I "think" got that working too in 1 port, wonder is it the same as our case here that needs special reboot or so? (SGS2 is not available here yet...so I have never tried it instead of watching in on the youtube VID online...)
Anyway, THANKS! waiting for your releases. thumbs up to all DEVs!!!!!!!!
Click to expand...
Click to collapse
Don't know. One part maybe only with other hardware drivers. The reboot solution would be best for us (but needs some work). So the easy enable via menuconfig would be enough. Anyway I started to working on this, but I don't know if my otg cable isn't working (slave function was disabled but host didn't worked). So I wanted to test it anyway. What do you need? only mass storage?
The compile could take a while (working on fixing cust toolchain build)
I am aiming on USB thumb drive, keyboard and mouse..thx..
Honeycomb 3.1 has USB Host support.
Hopefully someone can pull it out and use it somehow.
Since there's no source it might not be easy.
Or you can just wait for Ice cream Sandwich(Q4 2011), i'm guessing there will be Host support.
Any news on development?
i think the usb port of phone has no more power to use the flashdrive.
So is this a dead project? Or is there any hope left?
Not being picky or challenging to admin, I originally post this thread under development, which is should be more related since I am not asking generally how to "use" USB Host but related to kernel/drivers development....
I think this thread in general would not actually get much development attention at all...
Anyway, nope, no news, I understand hacks/dev is not a piece of cake, thanks for everyone who is working on the topic here!!!!!!!
and since CM distro do not support USB host at all, then I would suggest there may not be enough attention or momentum at all on this...
dusitmon123 said:
i think the usb port of phone has no more power to use the flashdrive.
Click to expand...
Click to collapse
I may not agree, I did use a O2Graphite with a USB host cable with a USB jostick, and keyboard+mouse on many CN made crappy Tablets, they just works...
Many USB devices do not drain that much power, especially some Flashdrives...
Hello
So is this thread as good as dead, or is anyone trying to develop this?
as far as seen on the thread, it seems dead.....
hello
the usb memory stick must be formatted in fat32 to work.
Which specfic cable works with it?
flavianoxxl said:
the usb memory stick must be formatted in fat32 to work.
Click to expand...
Click to collapse
Sent from my LG-P990 using Tapatalk
Nothing works with it, no-one has produced a kernel with OTG support for the P990.
No idea what that post is about.

[Q] USB Host

Hi!
I've been wondering if our device could act as an USB host. It would be good to experiment with that feature, adding new drivers to the kernel, and using external devices like a printer, or an usb drive. Is it possible?
I've read some forums, I've seen that on Motorola Droid and ZTE Blade, that they have attached an usb keyboard, or a usb flash drive. These devices did not have a power supply on the port, they solved it externally.
So, the big question is can we enable the host mode on the USB somehow?
I've heard this has to be supported by the processor, and as far as I know the MSM7227 does not support the USB-host function. :/
nutterbg said:
I've heard this has to be supported by the processor, and as far as I know the MSM7227 does not support the USB-host function. :/
Click to expand...
Click to collapse
I did some research on this, and found something interesting:
https://picasaweb.google.com/lh/photo/sEQxpLaNfqmYjQ0clvLM2Q?feat=directlink
I found this in the service manual of our phone So it's not impossible - the MSM7227 supports the host mode by hardware - the question is how do we get use of this?
zte blade has MSM7227 -> so if they got it workin ... maybe we can use their drivers?
that would be a great feature
smg72523889 said:
zte blade has MSM7227 -> so if they got it workin ... maybe we can use their drivers?
that would be a great feature
Click to expand...
Click to collapse
I've googled a little more on this, here's what I found :
USB keyboard+ZTE Blade: http://www.youtube.com/watch?v=B1ydScM0sXU
The guy's webpage, who made the custom kernel for USB Host mode to ZTE Blade and Nexus One - could be useful http://sven.killig.de/android/N1/2.2/usb_host/
And his kernel: https://github.com/sonic74/kernel_msm - the only problem is that this kernel is .35, i don't know if we could port the host drivers from that
If any devs are here, please help us
(I'd love the next SwiftDroid with usb host support)
Before I try looking into this, wtf is USB hosts. I'm gessing its different to Adb and mass storage by the looks of this conversation :/
lukemovement1 said:
Before I try looking into this, wtf is USB hosts. I'm gessing its different to Adb and mass storage by the looks of this conversation :/
Click to expand...
Click to collapse
USB host is the 'boss' device so to speak. It gives commands to its connected devices (USB Slaves) So, when your phone is connected to computer, the PC is Host where the phone is a slave. So using USB host on a phone/tablet, means you can connect a manner of devices such as keyboards, mice, flash drives and such. Hope that answers your question
any progress?
http://rumah-android.com/read-your-flashdisk-into-android-deviceusb-on-the-go.html any one try this and give us result.........
USB Host will come with platform 3.0+ ( for tablet )
So, you connect USB device to it.
If you want to control other device with Android platform below 3.0.
May use IOIO Board.
more detail
http://androidcontrol.blogspot.com/2011/10/ioio-board-for-android-control-io.html

USB Ethernet adapter and driver for Note

Hi,
i would really need a USB Ethernet adapter for my Galaxy Note. I searched forums and all i found was for tablets. I also noticed several times that people were talking that you can build the driver for specific device from official driver. If i understand right i could buy some USB Ethernet adapter and then build it's driver for galaxy note? Or not? Or is there maybe some "universal" driver already made?
I would be really thankful if someone explained this a little more.
Tnx
Moved To Q&A​
Please do not post questions in a dev section.​
alyosha said:
Hi,
i would really need a USB Ethernet adapter for my Galaxy Note. I searched forums and all i found was for tablets. I also noticed several times that people were talking that you can build the driver for specific device from official driver. If i understand right i could buy some USB Ethernet adapter and then build it's driver for galaxy note? Or not? Or is there maybe some "universal" driver already made?
I would be really thankful if someone explained this a little more.
Tnx
Click to expand...
Click to collapse
The drivers are included in the linux kernel of android, so the driver support is directly linked to the version of the kernel used on your device.
A small search gave me a result: look for USB to RJ45 Ethernet Adapter on amazon (you'll need a USB - micro usb adaptater tho.
shoutr said:
The drivers are included in the linux kernel of android, so the driver support is directly linked to the version of the kernel used on your device.
A small search gave me a result: look for USB to RJ45 Ethernet Adapter on amazon (you'll need a USB - micro usb adaptater tho.
Click to expand...
Click to collapse
So if i understand there are drivers already in kernel? Because i'm almost sure i red before that there are no drivers in kernel so this doesn't work out of the box.
I have OTG adapter so this is not problem. I'll try and buy some adapter and we will see if this will work. I have hydra-core kernel on stock rom.
alyosha said:
So if i understand there are drivers already in kernel? Because i'm almost sure i red before that there are no drivers in kernel so this doesn't work out of the box.
I have OTG adapter so this is not problem. I'll try and buy some adapter and we will see if this will work. I have hydra-core kernel on stock rom.
Click to expand...
Click to collapse
Sadly you'll have to try by yourself, but apparently, the one i found on amazon (around 16£) works on android 3.1+ devices.
shoutr said:
Sadly you'll have to try by yourself, but apparently, the one i found on amazon (around 16£) works on android 3.1+ devices.
Click to expand...
Click to collapse
Aham Do you maybe have Name and model of that device?
How about this? MicroUSB to RJ45..no need of a OTG in between I havent try it though..just found it on ebay & amazon..
http://www.amazon.com/Micro-Etherne...&sr=8-6&keywords=USB+to+RJ45+Ethernet+Adapter
http://www.ebay.com/itm/Tablet-5PIN...ablet_A_V_Cables_Adapters&hash=item4abdf06875
Ebay Adapter
Hi,
here is my unhelpful comment:
I have one of the little buggers (see attached image) boght on eBay:
Search for "USB to LAN RJ45 Network"
It works under Linux and identifies itself as:
"Davicom DM9601 USB Ethernet" and uses the Linux-Kernel-Module dm9601 (as it seems).
(NOTE: One strange thing: The newly bought device uses a MAC address, that was registered to an colleague on our network here. So it spoofs the address?!?!)
Combined with the Host-USB-Adater (OTG) it can be connected to the N7000 - BUT:
A) The LED lights up and blinks to show the trafic on the line
B) Nothing happens on the screen
C) In Elixir it shows up as
Name: /dev/bus/usb/002/002
ID: 2002
Product-ID: 38656
Vendor-ID: 4070
I Get no Menu to configure the wired connection.
So I guess there is no Driver.
I Used Hydracore v7 and Thor Kernel 0.26. (which is WAAAY slower then hydracore)
are there other things I could try?
This looks an interesting idea, wonder is its possible to to have PoE as well, disconnecting network access just to charge would be pretty annoying otherwise.

Enable AX88772 CHIP SET on Android 7.0

Hello,
I am not a developer but hope to get some support here as samsung has not been a big help so far.
Before updating Android versions my Samsung Galaxy Tab S2 SM-T713 would connect to Ethernet via the plugable USB 2.0 OTG Micro-B adapter.
It seems that the specific chipset used by the adapter is no longer enabled on this specific device, while I am told it is still included in all Android version 4 and up.
So my question is how can I enable the AX88772 CHIP SET in order to regain ethernet connectivity.
I tried going into dev mode and selecting "RNDIS Ethernet" in the USB configuration but that did not do anything.
Another issue possibly related is that when connecting the tablet to a Win 10 laptop it is not recognized. Here I tried many solutions including installing the media pack and other options available. No success. If this is an unrelated problem then I will post this secondary issue in another post.
Any ideas or suggestions would be greatly appreciated.
Thanks
jgessentials said:
Hello,
I am not a developer but hope to get some support here as samsung has not been a big help so far.
Before updating Android versions my Samsung Galaxy Tab S2 SM-T713 would connect to Ethernet via the plugable USB 2.0 OTG Micro-B adapter.
It seems that the specific chipset used by the adapter is no longer enabled on this specific device, while I am told it is still included in all Android version 4 and up.
So my question is how can I enable the AX88772 CHIP SET in order to regain ethernet connectivity.
I tried going into dev mode and selecting "RNDIS Ethernet" in the USB configuration but that did not do anything.
Another issue possibly related is that when connecting the tablet to a Win 10 laptop it is not recognized. Here I tried many solutions including installing the media pack and other options available. No success. If this is an unrelated problem then I will post this secondary issue in another post.
Any ideas or suggestions would be greatly appreciated.
Thanks
Click to expand...
Click to collapse
Is there a reason why you need Ethernet rather than wifi?
ashyx said:
Is there a reason why you need Ethernet rather than wifi?
Click to expand...
Click to collapse
Yes, we live in a house without wifi on purpose. My wife get's immediate headaches and body pains when she is exposed to a direct signal. After having been removed from it for several years in our house I feel the same way when it is on. Our house is wired and we use both ethernet over power or ethernet over coax depending on what room we are in. The last one works beautifully.

External screen?

Hey!
This is my first thread I've ever created, so don't be too harsh on me
As far as I know, the new Android 10 includes a so called "desktop mode". So you can connect a compatible device via USB to an external screen. I think thats pretty cool and samsung already implemented this idea from the S8 upwards with Samsung Dex.
I understand that this needs USB 3.1, but the Motorola G7 Plus only has USB 2.0!
According to the datasheet of the build-in Snapdragon 636 processor, it does support USB 3.1!
So here comes the question: Is it possible to "activate" the required functionality in order to use the desktop mode?
So like changing a few things inside the root files (Like you can activate for example OTG)?
If not, is the hardware build that way, that it just doesn't have the data-lines?
And also, if all of that doesn't work, you surely saw such USB 2.0 to HDMI adapter, which do work on older computers, but do they might work with Android 10 connected to otg?
It would be really cool if something of that might work.
Thanks for your response!
TimTheDev said:
Hey!
This is my first thread I've ever created, so don't be too harsh on me
As far as I know, the new Android 10 includes a so called "desktop mode". So you can connect a compatible device via USB to an external screen. I think thats pretty cool and samsung already implemented this idea from the S8 upwards with Samsung Dex.
I understand that this needs USB 3.1, but the Motorola G7 Plus only has USB 2.0!
According to the datasheet of the build-in Snapdragon 636 processor, it does support USB 3.1!
So here comes the question: Is it possible to "activate" the required functionality in order to use the desktop mode?
So like changing a few things inside the root files (Like you can activate for example OTG)?
If not, is the hardware build that way, that it just doesn't have the data-lines?
And also, if all of that doesn't work, you surely saw such USB 2.0 to HDMI adapter, which do work on older computers, but do they might work with Android 10 connected to otg?
It would be really cool if something of that might work.
Thanks for your response!
Click to expand...
Click to collapse
Unfortunately this device does not support MHL so usb to HDMI dongles do not work. Apparently moto hasn't supported MHL for some time .
digitaljeff said:
Unfortunately this device does not support MHL so usb to HDMI dongles do not work. Apparently moto hasn't supported MHL for some time .
Click to expand...
Click to collapse
Thanks for your answer. But I knew that before. I am trying to finde some "workarounds" for this, because I do really like this phone!
Found a solution
So, after a bit of research, I found a solution to add external screens to any OTG compatible Android phone!
There are so called "DisplayLink adapters" and those seem to be compatible with any Android phone that supports OTG.
After installing the official app "DisplayLink Presenter", you should be able to get everything working.
I din't tested it yet, but I hope that this will help someone in the future.

Categories

Resources