Ubuntu USB Problem - HD2 Ubuntu Q&A, Help & Troubleshooting and General

Hello,
Firstly, will this thing will work on my HD2? (of course in Ubuntu)
http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774 <-- I have bought that ready, shipping, just conifrm that will this work
Secondly, will the usb port will provide power to the usb devices? If not, will a USB hub with a DC power input will work?
Third, are there any NON-DISPLAYALINK tech.'s usb display will work on HD2??? (Display Link have no driver for ARM's Ubuntu)
I will open a new post after the item is shipped, and it works.
Thanks.

hopkinskong said:
Hello,
Firstly, will this thing will work on my HD2? (of course in Ubuntu)
http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774 <-- I have bought that ready, shipping, just conifrm that will this work
Click to expand...
Click to collapse
Yes, depence on the USB Cable you use (and what you want to do with it).
hopkinskong said:
Secondly, will the usb port will provide power to the usb devices? If not, will a USB hub with a DC power input will work?
Click to expand...
Click to collapse
A normal Hub is not enought for this
There are a lot of threads about this.
My favorite:
http://forum.xda-developers.com/showthread.php?p=10797562
You need to power up the HD2 side of the USB connection, because the phone doesn't provide the +5V like a normal USB host.
You can also use a y-cable (from a external HDD) and connect the second pc-connector for additional power to a +5V
source, there are also some threads around here
hopkinskong said:
Third, are there any NON-DISPLAYALINK tech.'s usb display will work on HD2??? (Display Link have no driver for ARM's Ubuntu)
Click to expand...
Click to collapse
I think I've read something in the ubuntu development thread that they want to try it, but haven't heard something about a running version
But important:
USB host is working with ubuntu, I'm using mouse and keyboard myself.
So, keep on trying
Regards
mf_1

But why that Ian hub will not work?
It have a extra power supplying port!
And I am going to buy a dc5v 2000ma(2a) dc power supply!

The power supply is only for the client side (mouse, HDD....).
Normal USB hosts provide the host side, but the HD2 doesn't.
mf_1

Yea
The host will not provide power
But my power supply will!
So my devices will ONLY get power from my dc power, not the the host!
Isn't it?

Yes, but you also need power on the host side. The controller chip in the hub is connected to the host device. (See link in my first answer)
Leo has no power on host side -> controller has no power -> client side not working, no USB device for ubuntu

But I have tried to NOT PLUG THE IN THE USB CABLE, only plug the dc power, but the hub still have led light, and the the 4 hub port still have power!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I didn't plug the USB...

Sorry, perhaps my english isn't understandable.
For USB Standard:
The additional power supply is only for client side.
The client side is working without additional power supply, if you use clients with low power consumption, such as mouse, keyboard, some memory sticks. They use the power provide by the host.
Most HDD need additional power.
But again: Leo isn't providing a normal host, there is no power on the host side.
Regards
mf_1

But i still don't understand...
Can't the client side USE the DC power(not use the host side), the Host side is only for data
And i conifrmed that the Client side can have power without host power support!

hopkinskong said:
But i still don't understand...
Can't the client side USE the DC power(not use the host side), the Host side is only for data
Click to expand...
Click to collapse
Yes, it uses the DC power if it is connected.
hopkinskong said:
And i conifrmed that the Client side can have power without host power support!
Click to expand...
Click to collapse
Yes.
mf_1

So why you said it will not work??
thx

Just try it
mf_1

My OTG not yet arrived, but i have already Find the way to test it! it works!
I have make a pice of 1.4cm*1cm(corrected to about 0.1 cm), and i cut off the middle of the paper, so the paper likes this shape: (attachment), and it have covered the USB 1st pin and the 4th pin(POWER), and only left Pin2+3(Data), so i put this paper in my USB and i plug in my computer, it have no supply! Then i plug in the DC power into the USBHub, i also plug in a USB Mouse as the Client, it works!

hopkinskong said:
My OTG not yet arrived, but i have already Find the way to test it! it works!
I have make a pice of 1.4cm*1cm(corrected to about 0.1 cm), and i cut off the middle of the paper, so the paper likes this shape: (attachment), and it have covered the USB 1st pin and the 4th pin(POWER), and only left Pin2+3(Data), so i put this paper in my USB and i plug in my computer, it have no supply! Then i plug in the DC power into the USBHub, i also plug in a USB Mouse as the Client, it works!
Click to expand...
Click to collapse
the light on the hub is just to inform you that an external power supply is connected to it, nothing more.
a good usb hub has 2 electrical circuits, 1 on the host side (computer/hd2), and 1 on the client side (the ports).
the host side uses the power from the host to power the usb controller in the hub, and send all left over power to the client side.
this is the first circuit, which is connected to the second circuit via a diode (1 way street for power).
the second circuit has a connector to hook up the external power supply.
now if what you say is really true, the manufactorer of your hub has saved about 2 cents by removing the diodes, which are there for safety.
not having those can result in a burn out of the host controller (the 1 inside your computer).
the hd2 is a usb client device, this means the powerlines on the connector are there to recieve power (charging).
but the hub needs a host usb connection (sending power).
so you either need to make a Y cable, or modify the hub.
plopper

I haven't this problem

Am I being dense or is it possible to plug the supplied usb cable into a laptop or desktop computer and use the computer's screen and keyboard to interface with the HD2 running Ubuntu? ie software hub in laptop.

Is there a place for us to buy such a USB host from the net instead of having to perform these delicate things ourselves? I know many here are DIY people, but what about for those of us who are electronic illiterate? Anyone found a supplier for such USB hubs? Thanks

So if i buy this, will it work great?
http://www.dealextreme.com/p/solar-...t-hub-with-white-light-2-led-flashlight-48411

Robbie P said:
Am I being dense or is it possible to plug the supplied usb cable into a laptop or desktop computer and use the computer's screen and keyboard to interface with the HD2 running Ubuntu? ie software hub in laptop.
Click to expand...
Click to collapse
sounds like remote desktop, aka VNC.
erlern said:
Is there a place for us to buy such a USB host from the net instead of having to perform these delicate things ourselves? I know many here are DIY people, but what about for those of us who are electronic illiterate? Anyone found a supplier for such USB hubs? Thanks
Click to expand...
Click to collapse
the 3th post in the thread about building the hub has a hint (3th Q&A).
hopkinskong said:
So if i buy this, will it work great?
http://www.dealextreme.com/p/solar-...t-hub-with-white-light-2-led-flashlight-48411
Click to expand...
Click to collapse
any hub you buy has to be modified.
looking at the size of the solar panel it is only ment to power the 2 leds from the torch.
as i doubt it can give out the 2 amps which we need.
plopper

Related

Atrix usb host without media or lap dock

Not sure if usb host without a Motorola media hub / lapdock has been mentioned. I managed to get my Atrix working with full host by applying 5vdc to the usb power rail. Seems to work with any usb hub and keyboard / mouse combo long as 5vdc is present on the host side(phone microusb connector). This works in both webtop and normal android shell. Mouse control in Android just jumps from widget to widget but works normally in Webtop mode. Anyone seen a cursor apps for android?
Demo of it in action.
http://www.youtube.com/watch?v=shvFmLRUNGA
*update* I got usb drive mounting to work!
It would seem to be very easy, Motorola seems to have blocked auto mounting without the media/lapdock (why must they be such c*&ts)
*MAKE SURE ITS FORMATED FAT32!* NTFS might be doable with a ntfs-3g module but I haven't tried yet.
Run file manager (root explorer ect...) browse to /dev/block and see what you have listed in there. I had sda and sda1 listed only when I inserted a usb drive so I knew it had to be the drive.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Run "Terminal Emulator"
su
mkdir /sdcard-ext/usb (this can be any directory you want on ether the internal or microsd)
mount -t vfat /dev/block/sda1 /sdcard-ext/usb
To unmout the drive safely before removing it. just make sure all apps that might be using the usb drive are close or it'll fail to unmount
umount /sdcard-ext/usb
That's it; your drive will now show up in the file manager and webtop. I decided on the microsd so applications could see it without messing about.
Optional
Grab gscript off the market and then run the mount / unmount script from it insted of typing it out.
So, correct me if I'm wrong, but here is what I understand about this.
By applying a constant 5V DC through a powered USB hub, we can get USB host functionality by plugging devices into the hub?
Could you be more specific, if this is not the case? Also, what adapter are you using on the Atrix side, and what cables are connected to the hub? It seems like you are using a straight microUSB male to USB male, then connecting a female to male cable from the atrix to the hub. I can't tell for sure though.
Either way, it works, which is awesome!
That's it exactly, haha. It's really just that simple.
Your micro to female A adapter isn't an OTG-specific one?
can you post links of the stuff you bought so others may do this?
agentdr8 said:
Your micro to female A adapter isn't an OTG-specific one?
Click to expand...
Click to collapse
It is, I got it from dealextreme
http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774
The rest is just a cheap dlink usb2.0 hub and a normal A to B usb cable. The +5vdc is need to activate the host port just like most newer arm soc's. This same trick works on the Nexus, Desire ect...
I would like details on where the wire needs to be soldered.
You don't need to solder any wires! That's the beauty of it!
rozzco said:
I would like details on where the wire needs to be soldered.
Click to expand...
Click to collapse
You do need to solder wires, you need to make a bridge from the DC power to the +5vdc usb host line. The little orange wire is my bridge, each usb hub will be a little different. If you don't bridge nothing will work, the Atrix doesn't supply any power to the devices.
You think this hub would work? I have around 9 dollars of DE credit, so I wanted to get the powered hub from there as well. There's no information on how much voltage the external power supplies though.
http://www.dealextreme.com/p/mini-usb-4-ports-hub-black-787
callen81 said:
You do need to solder wires, you need to make a bridge from the DC power to the +5vdc usb host line. The little orange wire is my bridge, each usb hub will be a little different. If you don't bridge nothing will work, the Atrix doesn't supply any power to the devices.
Click to expand...
Click to collapse
How do you bridge the power over without soldering?
rozzco said:
How do you bridge the power over without soldering?
Click to expand...
Click to collapse
I did solder.
callen81 said:
I did solder.
Click to expand...
Click to collapse
To pin 1 correct? http://en.wikipedia.org/wiki/File:USB.svg
Correct. My hub uses a USB B input but one with USB mini or micro should work just the same. All that matters is +5vdc makes it up stream to.
bad hub?
Maybe I got a bum hub. I have soldered the +5 from the power adapter terminal like in the video, to the power line of the usb hub's single "out" port. so then i plug in my atrix to that same port and the keyboard to one of the 4 "in" ports and I get nothing. seemed simple enough so maybe my usb hub is not compatible. I have usb debugging off, i have usb mounting set to none. if you do happen to notice anything i f'ed up please let me know. ill go hub shopping maybe tomorrow i guess.
tbm48813 said:
Maybe I got a bum hub. I have soldered the +5 from the power adapter terminal like in the video, to the power line of the usb hub's single "out" port. so then i plug in my atrix to that same port and the keyboard to one of the 4 "in" ports and I get nothing. seemed simple enough so maybe my usb hub is not compatible. I have usb debugging off, i have usb mounting set to none. if you do happen to notice anything i f'ed up please let me know. ill go hub shopping maybe tomorrow i guess.
Click to expand...
Click to collapse
Your also pluging the hub into a 5vdc source right?
yes, its a powered hub that is plugged in. it is a http://www.newegg.com/Product/Product.aspx?Item=N82E16817107609 and ive tested my soldering and work with a multimeter.
tbm48813 said:
yes, its a powered hub that is plugged in. it is a http://www.newegg.com/Product/Product.aspx?Item=N82E16817107609 and ive tested my soldering and work with a multimeter.
Click to expand...
Click to collapse
Are you using a usb micro OTG adaptor, or just spliced the wires. Cause I think it needs a few pins on the usb micro side to be crossed. I haven't read into it enough.
(UPDATE) Looks like I was right the ID pin on the microusb has to be grounded.
callen81 said:
Are you using a usb micro OTG adaptor, or just spliced the wires. Cause I think it needs a few pins on the usb micro side to be crossed. I haven't read into it enough.
(UPDATE) Looks like I was right the ID pin on the microusb has to be grounded.
Click to expand...
Click to collapse
that must be it. im just using a gender changer with a regular micro cable not thinking the otg adapter was anything special. thank you. ill rewire.
http://blogs.forum.nokia.com/blog/kate-alholas-forum-nokia-blog/2008/01/21/usb-on-the-go This shows which pins to jump, nice pictures and breakdown to making a OTG cable.

How to make your own Motorola "Factory Cable"

Over in this post Cellzealot opined that I might be willing to share the pinout of the "factory cable" clone that I worked up. I absolutely am, but needed to find several hours of free time to do the writeup, images, etc.
The other night I set aside the time and did the writeup. If you would like to make your own cable, you can read the writeup here.
To oversimplify it, here is the map:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The map is simple enough. The main problem (as detailed in the writeup I linked to above) is that since pin 4 is normally unused in a Mini/Micro B connector, there is no wire connected to it (to tie to), and in the case of the Mini B that I surgically dissected, the actual pin for pin 4 was nipped off at the back of the connector as well.
This doesn't preclude you from making a cable as you can always order brand new connectors and solder them up any way you like.
I'll be happy to answer any questions you might have in this topic.
great guide
Thanks for linking this to us! This would be tremendously useful to many on this forum. My question is, since the docks Motorola sells basically do the same thing, could the process be applied like callen81 did to make USB host functionality? It seems like the same process is used, albeit simpler.
Or just buy a USB 3.0 cable!
ya i picked up like three for like 1.50 each. monoprice.com has alot of cables for super cheap, good quality too
edit, i also got the 10 footers so i dont have to be bounded to the 4 footer that comes with it
Moved to proper forum.
Guys, a factory cable is not like the micro USB cables you buy, nor the standard "OTG" micro usb cables/adapters to become USB host.
Notice that PIN4 is tied to POWER, the +5V on PIN1, not to ground on PIN5 as in OTG cables (or left floating like on most mini/micro cables.)
This cable is essentially for being able to nvflash the phone, although perhaps it has other uses I am unaware of.
eval- said:
Guys, a factory cable is not like the micro USB cables you buy, nor the standard "OTG" micro usb cables/adapters to become USB host.
Notice that PIN4 is tied to POWER, the +5V on PIN1, not to ground on PIN5 as in OTG cables (or left floating like on most mini/micro cables.)
This cable is essentially for being able to nvflash the phone, although perhaps it has other uses I am unaware of.
Click to expand...
Click to collapse
It can also be used to charge the phone while flashing SBF.
Sent from my MB860 using XDA App
eval- said:
Guys, a factory cable is not like the micro USB cables you buy, nor the standard "OTG" micro usb cables/adapters to become USB host.
Notice that PIN4 is tied to POWER, the +5V on PIN1, not to ground on PIN5 as in OTG cables (or left floating like on most mini/micro cables.)
This cable is essentially for being able to nvflash the phone, although perhaps it has other uses I am unaware of.
Click to expand...
Click to collapse
isn't it also possible to use a usb keyboard with this method given that you have a usb powering hub in the middle?
The most useful thing to do at this point would be linking places that sell easily modified cables / adapters. As he said 99% of cables you find will not have the 5th wire connected or soldered on to the connector. Even if I had a cable or source of cables that had an easily solderable 5th pin this cable would be decently cheap to make. Most of the space cables I've hacked apart just have 4 solder points and a 'dummy' pin #4 (what, to look cool?) sigh.
bearsfan172 said:
It can also be used to charge the phone while flashing SBF.
Click to expand...
Click to collapse
I can't say for the Atrix, but for every other phone I've used the cable on, while it will power the phone while flashing, it will not charge the phone while flashing.
eval- said:
Guys, a factory cable is not like the micro USB cables you buy, nor the standard "OTG" micro usb cables/adapters to become USB host.
Notice that PIN4 is tied to POWER, the +5V on PIN1, not to ground on PIN5 as in OTG cables (or left floating like on most mini/micro cables.)
They do indeed have many uses
This cable is essentially for being able to nvflash the phone, although perhaps it has other uses I am unaware of.
Click to expand...
Click to collapse
They do indeed have many other uses besides the nvflash interface which is strictly for Tegra based devices. They not only power the device without battery, but autoload the Motorola networking driver and other interfaces for diagnostic mode NV access with both Motorola and Qualcomm service ware as well as flash tools like RSD Lite.
The device is always initialized properly and identified by the applications for various operations.
Similar powered cables have been used for all P2K generation Motorola devices for many years in various configurations. The real factory cables are made with a Mini USB B end and come with an adapter so they are compatible across a much wider range of older devices.
We hope very much that getting this info out will generate a lot of outflow for the many ways to apply the unique properties of these cables for newer devices.
In another topic Kholk had an idea that does away with the "missing pin 4 on the micro" problem. You can sacrifice a Motorola Mini-to-Micro USB adapter (SKN6252) which is wired for all 5 pins. This makes it a heck of a lot easier for the average Joe to make one and avoid the expense of buying a custom-made cable.
For most folks that would try this, that tip is all they need to proceed. If you want more detail, I did a step by step here.
If you make one up, post up and let me know how it went.
Enjoy!
MotoCache1 said:
In another topic Kholk had an idea that does away with the "missing pin 4 on the micro" problem. You can sacrifice a Motorola Mini-to-Micro USB adapter (SKN6252) which is wired for all 5 pins. This makes it a heck of a lot easier for the average Joe to make one and avoid the expense of buying a custom-made cable.
For most folks that would try this, that tip is all they need to proceed. If you want more detail, I did a step by step here.
If you make one up, post up and let me know how it went.
Enjoy!
Click to expand...
Click to collapse
I'm working on making my own, just to see if it'll work. I think it's going to turn out more frankenstein-y than yours, however.
PixoNova said:
I'm working on making my own, just to see if it'll work. I think it's going to turn out more frankenstein-y than yours, however.
Click to expand...
Click to collapse
Cool. I'd love to see it when you're done (if you wouldn't mind posting a pic). As long as you get the pinout right, it will work. Your attempt can't possibly be worse than my initial prototype was. If you have an SKN6252 lying around, you could actually make a pretty respectable looking cable.
Where can you buy one of these if your not good at soldering??
Make a friend who is good at soldering.
Does anyone know why Moto is allowed to call their connector USB when they don't comply to USB.ORG's standards and do things their own way?
cellzealot said:
They do indeed have many other uses besides the nvflash interface which is strictly for Tegra based devices. They not only power the device without battery, but autoload the Motorola networking driver and other interfaces for diagnostic mode NV access with both Motorola and Qualcomm service ware as well as flash tools like RSD Lite.
The device is always initialized properly and identified by the applications for various operations.
Similar powered cables have been used for all P2K generation Motorola devices for many years in various configurations. The real factory cables are made with a Mini USB B end and come with an adapter so they are compatible across a much wider range of older devices.
We hope very much that getting this info out will generate a lot of outflow for the many ways to apply the unique properties of these cables for newer devices.
Click to expand...
Click to collapse
Moto has been using nonstandard USB cables since they came out, many of which were dumb devices. The reasoning that they needed to be different so that they can do X Y or Z is bull. They want to lock you into Moto cables. No one has ever shown a logical reason for being different. You can flash phones with regular USB cables so the logic for a different format holds no validity.
Does this mean we could make one of these cables and have the phone "think" its either docked in the car or in the HD dock? I assume for the HD dock you might need added power but why cant I make a USB cable, plug it into my phone and hook up a USB hub to it like the dock?
not to hi-jack but it would be interesting to see if anyone has made their own docks, somehow the 3.5mm audio is integrated into the dock and is played through the usb cable...
Using the factory cable, Not insert the battery, display SVF: 105:1:2
Failed to boot 0x1000, infinite reboot

KF OTG Discussion

So I have been playing around with various USB game controllers as well as various storage devices and everything has worked so far (except BT, its detected but thats it). Hashcode has put a low priority on OTG in the kernal dev queue so I would like to get a discussion going about possible hardware solutions to over come the current 3.3v limitation of the USB port when running as a host (which is why devices dont work directly, only through a hub). Someone already suggested a current pump DC-DC in the kernal thread so my current focus something like this: http://www.circuitsathome.com/dc-dc/33v-to-5v-dc-dc-converter
for some motivation to this end, here is my USB NES controller hooked via OTG:
Controller use brought to you by HaiKaiDo Inc. lol
usb otg will work nice if we can up the voltage
usb otg will work nice if we can up the voltage from 3.7 to 5 volt
southbird already did a proof of concept with a voltage regulator from pololu
http://forum.xda-developers.com/showthread.php?p=25943787#post25943787
barrmulio said:
southbird already did a proof of concept with a voltage regulator from pololu
http://forum.xda-developers.com/showthread.php?p=25943787#post25943787
Click to expand...
Click to collapse
Yep saw that. My aim here is to go beyond that and come up with a real design
Sent from my Xperia X10 using xda premium
Can the voltage regulator be wired into the OTG cable? If so I am willing to try this but I need help with the wiring. I am searching now for some type of soapbox enclosure to house the voltage regulator. Any suggestions?
It would serve as the otg cable. The vreg will sit on the power rail between the kf and the normal usb connector. Ultimately, i want to lay out a smd board with the micro usb and regulator that goes in some little enclosure.
Basically what I am thinking of doing is putting the regulator inbetween the micro usb and female usb. It will look like other otg cables but the enclosure with the female usb will be larger.
I am assuming that the red(power) from micro usb is connected to the vout and the red(power) from female usb is connected to vin on the regulator. Do both sides of the ground need to be connected to the regulator or just to each other?
Can this work with GPS receiver?
sent from the greezals fire.
meturne2 said:
Basically what I am thinking of doing is putting the regulator inbetween the micro usb and female usb. It will look like other otg cables but the enclosure with the female usb will be larger.
I am assuming that the red(power) from micro usb is connected to the vout and the red(power) from female usb is connected to vin on the regulator. Do both sides of the ground need to be connected to the regulator or just to each other?
Click to expand...
Click to collapse
You could but IMHO, it would be simpler and cheaper to integrate everything as one device. The OTG cable is nothing special, just a micro USB B to regular USB A. The power needs to run from the micro in the KF to the vReg Vin, vReg Vout to the USB A connector, the ground is connected to all three.
greezal said:
Can this work with GPS receiver?
sent from the greezals fire.
Click to expand...
Click to collapse
No clue. I'm sure a google search would yield some answers
OK I'll look it up now and see if I can get the answer.
sent from the greezals fire.
greezal said:
OK I'll look it up now and see if I can get the answer.
sent from the greezals fire.
Click to expand...
Click to collapse
Just looked it up and not much on the subject have not got a straight answer. Would be great though.
sent from the greezals fire.
Ok, the ones I ordered are in. Size is NICE, it should be really easy to integrate this into existing USB connector enclosures. This is the 120 mA version, the 600 mA version is about twice the size
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
altitude909 said:
Ok, the ones I ordered are in. Size is NICE, it should be really easy to integrate this into existing USB connector enclosures. This is the 120 mA version, the 600 mA version is about twice the size
Click to expand...
Click to collapse
very nice - i ordered the pololu one and still waiting for it to arrive
my thoughts were similar; integrate the regulator into the usb female header area of the otg, or somewhere mid-cable...but I'm having a hard time finding an elegant solution to either re-enclosing the plastic end of the female header or enclosing it mid cable
i just back another otg cable today, i'll be cutting it apart to see if there's enough space by the usb a
success! kinda.. For super low current devices (i.e. NES game controller) it is working fine, anything larger (flash memory) its drawing too much current causing the voltage to sag below 2.5V which is not enough to power the regulator. Will try the LTC3426 one tomorrow since that should be able to operate at a lower input voltage
altitude909 said:
success! kinda.. For super low current devices (i.e. NES game controller) it is working fine, anything larger (flash memory) its drawing too much current causing the voltage to sag below 2.5V which is not enough to power the regulator. Will try the LTC3426 one tomorrow since that should be able to operate at a lower input voltage
Click to expand...
Click to collapse
just to make sure I got your wiring right
from micro usb b
- red to vReg Vin
- pin 4 to ground
- pin 5 to ground
from usb a
- red to vReg Vout
- black/pin 4 to ground
?
my stupid otg cable doesn't have standard colors (it's green, blue, yellow, red, yellow&red), so other than vcc i'm not sure what's what (edit: now i think blue is gnd and yellow/red is sense, yellow is d-, green is d+).
I was also expecting the otg short to be on the micro side and not on the usb a side, but it wasn't
my idea is to have the regulator sit inside the hollowed out area of the female header seen on the bottom left
Just take a meter and see what is connected to what. It does not matter where pin 4 and 5 are shorted.
Unfortunately, it looks like without some sort of magic, the port on the kf cannot supply enough current to drive these regulators. Im observing the same thing as southbird did, the devices show up but do not work. Measuring the voltages at the power pins with a flash drive connected i get 2.4v at the vreg input and 4.5 at the output which means that there is too much load. Time to start looking for battery powered usb hubs
this battery charger or this usb charger both work well for me with a y usb cable...i've seen some other posts with folks that just wired right into the charger, e.g. here
ok, the regulator arrived today and i played around with it
the otg cable was too frail for my poor soldering skills to do properly, so i ended up cutting up a usb extension cable to about 1' in length and soldering it halfway...i'll enclosure in heat shrink later
my results were pretty much the same as southbird and altitude909
My 8Gb centon usb however mounts perfectly *every* time, however my 4Gb, 2Gb or 512Mb sticks will not mount. When I try the elago w/ a 32Gb micro it conks out mounting as a whole, requiring a reboot of the KF to remount the 8Gb stick (probably some kernel protection)
so you need a regulator to get flash drives to work? that explains why it never worked for me lol

[Q] USB OTG and charging?

I haven't ordered a Nexus 7 yet, as I need to get this question answered. I have read the OTG thread in general, but no answers to this.
Since OTG is now working, if you use a Y cable, can you charge while playing media off of a thumb drive?
I want to use the nexus to replace my in car dash mountEd Samsung galaxy tab 7, and 16 gigs isn't enough space (podcasts, [video and audio] and my music), and I need it to be able to charge while driving.
Thanks in advance.
Sent from my ADR6425LVW using Tapatalk 2
It sounds like it would work, but I've never seen a Y usb cable, only usb hubs.
Sent from my R800i using xda app-developers app
There are a lot of them.
http://www.amazon.com/Apricorn-Power-Adapter-Cable-AUSB-Y/dp/B000JIOHDE
There is an example. Plug one end into the charger, the USB thumb drive into the female end, and the other into the USB OTG dongle.
Sent from my ADR6425LVW using Tapatalk 2
RED ZMAN said:
There are a lot of them.
http://www.amazon.com/Apricorn-Power-Adapter-Cable-AUSB-Y/dp/B000JIOHDE
There is an example. Plug one end into the charger, the USB thumb drive into the female end, and the other into the USB OTG dongle.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
http://www.amazon.com/Utstarcom-Uni...=1342116083&sr=1-1&keywords=usb+power+y+cable
http://www.cellphoneshop.net/usbycable.html
Here are some cheaper versions
Off the top of my head, the cables listed won't work as-is.
USB OTG is a male micro plug to female USB receptacle.
The Y cables have the requisite 2 male ends and one female, but they are connected wrong.
(I own several different ones, and they are all wired the same way, so I'm assuming that will be the case for a majority of these types of cables...)
These are desired to draw data & power from one of the male plugs, as well as drawing power from the second male plug. The female plug receives the data and the increased power from the second plug.
You would need a cable that actually has a male where those have female, and replaces the existing data/power male with a female.
(The more times I read that, the less sense it makes to me, so please let me know if more clarification is needed...)
Guys, that's just the first cable I found what I searched the Internet for a USB Y cable from my phone.
Thanks for your input though.
The question still stands, with the appropriate cables will it charge while you access data from a memory card?
I'm told this setup will work on the galaxy tab, I just want to know if it will work before I buy one.
Sent from my ADR6425LVW using Tapatalk 2
Now that these are arriving and in some peoples hands, can someone try this for me please?
Sent from my ADR6425LVW using Tapatalk 2
This is exactly a question I asked in general q&a. I would also love to know this as I was thinking about doing this.
Sent from my SGH-I777 using xda app-developers app
Eagletec H10A USB OTG
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Would this work, it seems to have a micro usb which I assume is a through power for changing and maybe would power usb hd?
Unknown.
I'm really surprised barely anyone is interested in this question...
Sent from my ADR6425LVW using Tapatalk 2
this is my understanding
otg usb take pin 4 and ground to pin 5, that's all that's special about them, and doesn't mess with the vcc (power wire)
however since the N7 is powering devices downstream, then also sending power upstream can damage the device...
i use the y-cable+power setup for my kindle fire because the usb port doesn't supply enough power, all it does is provide enough to power the device so the KF can read it
maybe we'll get this when we can use the pogo plugs
good reading in these threads:
http://forum.xda-developers.com/showthread.php?t=1613536
http://forum.xda-developers.com/showthread.php?t=1712117
@twobikes - there's a button on the top there that switches it from usb host to usb slave (thus turning off otg), which allows it to charge
twobikes said:
Would this work, it seems to have a micro usb which I assume is a through power for changing and maybe would power usb hd?
Click to expand...
Click to collapse
I have something exactly like that, didn't work.
Bump, anyone try yet?
Sent from my ADR6425LVW using Tapatalk 2
it works on samsung S3 with a usb hub i can connect a 160gb HDD wireless keyboard tongle and mouse and charge it at the same time why this should work for the N7 ??? /i will get on tomorrow afternoon then i can report
cazzo69 said:
it works on samsung S3 with a usb hub i can connect a 160gb HDD wireless keyboard tongle and mouse and charge it at the same time why this should work for the N7 ??? /i will get on tomorrow afternoon then i can report
Click to expand...
Click to collapse
Hey, that adapter that was posted above works for you? OTG and Charge at same time. I really need your reply. Thank you.
May be in the future, modder can modify Nexus 7' s kernel n add sth which make OTG cable work.
I'm not sure, because I've not received my N7 yet, but I think it will works
Sent from my MI-ONE Plus using xda premium
The VCC pin supplies energy to device from Android, right?
If we plug the VCC pin of the Android in a external source and the VCC pin of the device in another, sure, don't closing the circuit of VCC from Android to device, and supplying 5v, it will work, charging Android and using OTG function?
I was wondering if some kind of "jerry-rigged" solution, almost "doing a MacGyver on it" haha, would work.
* Please note the image is only for explanation, this is not a valid configuration, is totally fictitious.
I remember the problem with xperia arc before that using usb otg y-cable does not charge the phone. I even made one myself. It must have been the standard usb spec not to accept voltage in vbus when in host mode. But the xperia dock can charge and usb host at the same time. There is some sort of circuitry inside but none has posted a disassembly yet. I am guessing the current might have been pulsed via pwm.
My cheap china tablet won't do both either. It has two usb ports but only one hosts (but not charging), the other guests and charges.
The samsung has a proprietary port with many pins so it is irrelevant.
Yes the LiveDock charges and enable OTG at the same time.
This pic is from a member:
http://dl.xda-developers.com/attach...01fc2c2/1/1/0/4/0/1/7/IMG_20120603_234200.jpg
Is the LiveDock circuit board.

[Hardware] Teardown JXD S18 Mini Pad (RK2926/RK2928)

The specification on their website:
http://dx.com/p/jxd-s18-4-3-resisti...ad-tablet-pc-w-tf-wi-fi-g-sensor-black-161536
Teardown time!
RockChip RK2926 AE4T278 1245 (soc)
T659102 A1 TI 2GI A70T G4 (chip power controller)
Realtek RTL8188EUS 802.11b/g/n (wlan over usb 2.0 host, yes rk29xx supports up to 3 usb devices! 2x host 1x otg but they are not connected)
2x Geil 256X8DDR3 WT 1248 <CG1L256M88BA15DH> (ram)
Hynix H27UBG8T2BTR BC 250A (nand flash 2gb i believe)
F88_V1 <2012.12.06HM FS 1552> (pcb itself)
ZBH043GT-12 V1 (blacklight type: led 50k before eol, res; 480*272 4.3'' lcd)
Mali 400 MP2 (gpu)
Battery 3.7v 1100mah lithium ion
Pictures!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Take care guys.
Hi and thank you !
do you know if the usb port is the OTG one ?
i try to figure out how to add bluetook or gps on this device, maybe if anyone know where are the free usb pins ..
Bizen-Ya said:
Hi and thank you !
do you know if the usb port is the OTG one ?
i try to figure out how to add bluetook or gps on this device, maybe if anyone know where are the free usb pins ..
Click to expand...
Click to collapse
I have the same problem i know that the realtek wifi device is usb connected to the soc but other then that i cannot find any other options of ways of connection more devices to it. I cannot find a datasheet of this chip on the www. And i have no idea what the right pins are. Maybe we can connect a hub to that usb port what is used by the wireless device and do it this way but i have no idea if this will work.
And no out of the box this little tablet does not have OGT.
The soc in fact does support's it (2x host 1x OGT) but it is not connected to anything on this pcb design. If i knew the pins i would surely try to mod it.
Thank you for providing information to everyone
ok, i have OTG working now..
this is just a power issue, i haved used a OTG+Power cable, that's working fine
next step, make the bluetooth dongle working ...
Bizen-Ya said:
ok, i have OTG working now..
this is just a power issue, i haved used a OTG+Power cable, that's working fine
next step, make the bluetooth dongle working ...
Click to expand...
Click to collapse
The OTG really works with this type of cable?
If so, then we should be using bluetooth dongles easily (as long as the firmware supports it or has drivers that can detect it)
Going to try the OTG+power cable, this would really make a difference in terms of usability.
Also guys the stock battery is weak. I replaced it with "2500mAh Rechargeable Li-ion Battery for Samsung Galaxy S 3 III I9300", only had to ditch the speaker, since the battery is quite bigger.
Lemzy said:
The OTG really works with this type of cable? View attachment 2314266
If so, then we should be using bluetooth dongles easily (as long as the firmware supports it or has drivers that can detect it)
Click to expand...
Click to collapse
No this wont work on the S18 tab. But yes if you replace the wireless realtek module and for example connect a hub to those pins and if android has the firmware you could connect more devices to the hub. Not sure if this will work through.
swcdude said:
Going to try the OTG+power cable, this would really make a difference in terms of usability.
Also guys the stock battery is weak. I replaced it with "2500mAh Rechargeable Li-ion Battery for Samsung Galaxy S 3 III I9300", only had to ditch the speaker, since the battery is quite bigger.
Click to expand...
Click to collapse
But really nice let me know some progress it indeed makes a huge different in use usability, i also replaced the battery with a 1800mah ion battery from a dead tom tom system(broken display), that had the same voltage(3.7) but the battery was dead so i had to put back the default one since i didn't had anything else that did fit in this tiny little tab haha.
Sorry for the quite slow response.
thank you very much
NiTrOwow said:
No this wont work on the S18 tab. But yes if you replace the wireless realtek module and for example connect a hub to those pins and if android has the firmware you could connect more devices to the hub. Not sure if this will work through.
But really nice let me know some progress it indeed makes a huge different in use usability, i also replaced the battery with a 1800mah ion battery from a dead tom tom system(broken display), that had the same voltage(3.7) but the battery was dead so i had to put back the default one since i didn't had anything else that did fit in this tiny little tab haha.
Click to expand...
Click to collapse
So is it possible to connect a game controller through the OTG + Power cable?
Lemzy said:
So is it possible to connect a game controller through the OTG + Power cable?
Click to expand...
Click to collapse
Please see the image of the soc. It does not have OTG on default. You have to got the datasheet and solder a OTG port on the soc itself.
That's actually the only thing that sucks about this device. No OTG, out of the box and no soc datasheet. Limilted support to all of the internal stuff itself. Is what makes it less fun for most of us. We are no pro's or people who are really good in reserving without a little bit of documentation or help. I would be glad if JXD would release more stuff about this device so more people can take a look at it and have fun with it in a diffrent way because the device itself it pretty useless out of the box in my opinion.
As i already said Otg is working fine on mine ....
I have sucessfully used my s18 with a USB GPS + powered USB otg cable and usbgps4 droid
Bizen-Ya said:
As i already said Otg is working fine on mine ....
I have sucessfully used my s18 with a USB GPS + powered USB otg cable and usbgps4 droid
Click to expand...
Click to collapse
So you're saying that otg worked on your S18-03-XXXX device?
Strange i still did not had time to check it yet. And is also is strange because manufacturer does not say it had any. The soc is capable of 3 otg devices on the host but those aren't connected following all the technical details i read on their website and other re-seller's website. If you pull the device brand new out of the box and connect a otg device it should not work according to the manuals and details on their website, or they changed the pcb design and newer version has this feature enabled.. Can you post your model number?
Otg works with external power
I hope this is no considered spamming, as I posted same info on other thread.
I have s18-03-201305-4GB-01748.
I guess they are not listing device as otg capable because device is not delivering any power to otg devices, so you need always power injecting cable. Otherwise device is not anyway restricted. Actually firmware has quite extensive hardware support as you can see by browsing driver folders on device.
I registered just to tell you that otg works perfectly with power injecting cable. Tested 2 TB NTFS drive and apple usb - Ethernet dongle. Both work well. Also you can use this device as WiFi ap with Ethernet dongle. I am planning to use this as portable server. I just hope somebody gets interested making updated firmware.
I may be repeating but I say once more. There is no need to do any hardware hacking to get otg working. Just get power injecting USB cable. You might have to put WiFi off and back on to get your USB device connected. I think this triggers device initialization.
Frank Blah said:
I hope this is no considered spamming, as I posted same info on other thread.
I have s18-03-201305-4GB-01748.
I guess they are not listing device as otg capable because device is not delivering any power to otg devices, so you need always power injecting cable. Otherwise device is not anyway restricted. Actually firmware has quite extensive hardware support as you can see by browsing driver folders on device.
I registered just to tell you that otg works perfectly with power injecting cable. Tested 2 TB NTFS drive and apple usb - Ethernet dongle. Both work well. Also you can use this device as WiFi ap with Ethernet dongle. I am planning to use this as portable server. I just hope somebody gets interested making updated firmware.
I may be repeating but I say once more. There is no need to do any hardware hacking to get otg working. Just get power injecting USB cable. You might have to put WiFi off and back on to get your USB device connected. I think this triggers device initialization.
Click to expand...
Click to collapse
Thanks Frank and Nitrow.
Yes, don't give up too quickly when testing Host mode on USB ports.
They might have no charge pump, an inadequate charge pump or inadequate capacitance for inrush current.
You usually will need an OTG adapter to ground the ID pin.
A power splitter cord will work, but you can't usually find one locally.
I use a "back-powering" hub.
That's a cheapy hub that has the protection diode bypassed.
Some really cheap hubs already have it shorted.
See: http://forum.xda-developers.com/showpost.php?p=25639514&postcount=8
Try a keyboard first because they draw minimal current and they have a simple driver.
Some flash drives and GPS units are real current hogs.
Renate NST said:
Yes, don't give up too quickly when testing Host mode on USB ports.
They might have no charge pump, an inadequate charge pump or inadequate capacitance for inrush current.
You usually will need an OTG adapter to ground the ID pin.
A power splitter cord will work, but you can't usually find one locally.
I use a "back-powering" hub.
That's a cheapy hub that has the protection diode bypassed.
Some really cheap hubs already have it shorted.
See: http://forum.xda-developers.com/showpost.php?p=25639514&postcount=8
Try a keyboard first because they draw minimal current and they have a simple driver.
Some flash drives and GPS units are real current hogs.
Click to expand...
Click to collapse
Yes but i wanted to make a dedicated otg connected hard-wired to the print. but those connections (pins) on the board are too small and i can still not find a soc datasheet for the rockchip. I searched on the entire internet. It still isn't there...
Step one is to get USB host mode working any way you can.
Then you can discuss hacking it internally.
The other USB ports may be internally hubbed and not do host mode.
They may not have Id connections and you'd have to hack the driver/issue device commands.
Renate NST said:
Step one is to get USB host mode working any way you can.
Then you can discuss hacking it internally.
The other USB ports may be internally hubbed and not do host mode.
They may not have Id connections and you'd have to hack the driver/issue device commands.
Click to expand...
Click to collapse
That's not the problem since it is already reported to work on never soc, i only need datasheet and chip pin-out.
http://pdf.elecfans.com/NXP/LPC2926.html
It just sucks. I will sell this thing and buy myself a beagleboard instead. That's what i probably will do.
Did any of you try to run this without an battery in the unit. So only on adapter?
I am thinking of using one as an dedicated clock.
I also want to point out that there are two versions of this device for those that don't know this.

Categories

Resources