Hi, I am relatively new to digital 'prototyping' so USB protocols and almost everything digital is new to me.
The long and short of my question is, if I plugged a standard USB flash drive into an OTG adapter, and then plugged all that into a micro USB to standard USB (which I doubt actually exists) and plugged that combo into a PC, would I be able to access the flash drive? How exactly do OTG devices VS 'regular' USB devices work?
From the circuit schematics I've studied, it appears that the only difference between a standard USB and OTG interface is a bridge across pins 4 and 5. So how would this affect plugging said OTG device into a PC?
Yes. Long as your device supports it.
{
"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"
}
That is my $2 otg adapter...I plug in external HDD...flash drives ...keyboard... Mouse...PlayStation controller..
.tech you can make your own BC the pin config is only diff.
Sent from my Galaxy Nexus using Tapatalk 2
So if I directly hardmodded a standard USB flash drive with a micro USB plug, bridging pins 4 and 5 to make the device OTG-ready, if I plugged that now hardmodded flash drive into a micro USB (female) to USB A (male) the PC would still read the drive as a standard flash drive?
This makes sense because apparently on the micro-usb interface, pin 4 is "sense"?
Elite83 said:
So if I directly hardmodded a standard USB flash drive with a micro USB plug, bridging pins 4 and 5 to make the device OTG-ready, if I plugged that now hardmodded flash drive into a micro USB (female) to USB A (male) the PC would still read the drive as a standard flash drive?
This makes sense because apparently on the micro-usb interface, pin 4 is "sense"?
Click to expand...
Click to collapse
Yes .
Sent from my Galaxy Nexus using Tapatalk 2
Thank you for your assistance.
Yes/no.
The standard (full-size) USB A and B connectors only have 4 contacts and 4 conductors.
The ID pin (#4) is only on USB mini and micro connectors.
You need to signal your cell phone to go into host mode.
That means that the connector plugged directly into the cell phone has to have a grounded pin #4.
Pin #4 is never carried over the cable.
In short, you need an OTG adapter plugged into your cell phone.
Modding other parts of the cable or the USB device you are using won't do anything.
You can (as I have done) take a razor to the connector that plugs into your cell phone,
take the connector apart and solder a wire from pin #4 to ground.
Related
Can anyone confirm that the Universal does not have USB host. Most places just say no but there isn't really any hard evidence of it. I know the processor supports it but did they put in the necessary circuitry for it? Whats strange is that the Universal's miniUSB port is the same as my Sharp Zaurus's miniUSB port and my USB host adapter fits in. Does not fit into normal miniUSB ports. Just the Zaurus which had USB host and the HTC Universal. Just seemed a bit odd to me. I tried it of course and did not do anything.
I'll experiment with this further and check that image of the mainboard closely.
everybody who posted about it in this forum reported it to not support host
connector means nothing all htc devices since the universal have had the same connector
heck these days they are talking about making it the std connector for all phones nokia and the likes too
This all hinges on the connector, and the hardware used to drive the connector. The Universal(and indedd, all mobile devices) use mini-USB connectors, which do NOT incorporate a host control circuit. This means that, since USB uses a protocol that might be termed as "Speak when spoken to", your device can answer the computer when it asks, it can NOT ask another device to speak to it.
To sum it up, you can't connect a pendrive to your PDA, but you can connect it to your computer, precisely because of the lack of the USB host controller unit.
Hope this cleared it up for you...
Cheers
This is not what I meant. I'm talking about a specific type of miniUSB connector.
And in the recent announcement to make a standard cell phone connector, they chose microUSB.
This is what I mean.
{
"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"
}
HTC Universal's miniUSB port.
A normal miniUSB port.
My miniUSB -> USB host adapter from my Sharp Zaurus fits into only the Zaurus and the HTC Universal. Doesn't do anything in the HTC Universal though.
Not possible.
If you check on the internals, you will find that there is no power output to the usb port in anyway. so, its a hardware limitation and there is no way it will support hosting, be rest assured!
San
http://en.wikipedia.org/wiki/USB
host vs. peripherals
connectors mean nothing
I found a thread in the German PPCWelt.info forum where several people say that there MDA Pro supported USB host, with a special driver:
http://www.ppc-welt.info/community/showthread.php?t=74113&highlight=mda+pro+usb+host
I don't know how reliable this is (not every USB client can act as a USB host because of different hardware AND software), but perhaps you want to try it.
Alex
EDIT: They also say that your USB device needs a power supply because the MDA can't do that (external hub). Other people even say that without such a power supply your MDA could be damaged. This Engadget article is also mentioned:
http://www.engadget.com/2005/09/02/youve-got-htc-universal-questions-weve-got-htc-universal/
EDIT2: http://forum.xda-developers.com/viewtopic.php?t=26742&start=25 (with an official statement of HTC: no, it WON'T work.)
Rudegar said:
http://en.wikipedia.org/wiki/USB
host vs. peripherals
connectors mean nothing
Click to expand...
Click to collapse
I know that. I just wanted to know if the hardware was there for it thats all.
the hardware maybe there deep inside the cpu but the pcb lanes where maybe support chips were never connected rendering it absent
can some of german guys test it and report it to this thread.?>
Is it possible to use this cheap 5-pin Micro-USB, type B - male to 4 pin USB typ A - female adapter to plug in a usb-keyboard to the note?
Or is it something special about these OTG-cables?
Please see the attached file.
digitalaflaesk said:
Is it possible to use this cheap 5-pin Micro-USB, type B - male to 4 pin USB typ A - female adapter to plug in a usb-keyboard to the note? Or is it something special about these OTG-cables?
Click to expand...
Click to collapse
I have tried a simple adaptor and it did not work - there are very similar looking adaptors that are OTG though.
Personally, I prefer to use a mini Bluetooth keyboard with integral "mouse" touchpad or an OTG cable to connect a similar USB keyboard rather than an OTG adaptor as I worry that I may lever the adaptor by catching it and cause damage by the straining the micro USB socket in the Note.
When you plug in an OTG adaptor or cable, the Note comes up with the message "USB connector connected" - a plain adaptor does not cause a message.
The picture below shows, from top to bottom, OTG USB adaptor connector, OTG USB adaptor lead, Wireless mini keyboard with mouse "touchpad", Bluetooth mini keyboard with mouse "touchpad".
Both mini keyboards came with wireless or bluetooth receivers which do not work with the Note as, I assume, they need "Windows" type drivers. The Wireless one cannot therefore be used with the Note (even though it also has a mini USB connection - probably only for charging use) whereas the Bluetooth one does work can as it connects using the inbuilt Android/Note bluetooth rather than using the supplied mini USB bluetooth receiver.
Hope this helps!
{
"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"
}
USB-OTG (they're all the same) works perfectly with some USB keyboards and mouses but not with all of them. I'm using Genius mouse and Microsoft Wired 200 keyboard.
Thanks, i'll try it. If it works it works
btw, neat bluetooth keyboard/mouse you got there!
I have a mini-wireless USB keyboard/trackpad from Kogan that looks closer to the mini-Bluetooth one in the 2nd post, and that works fine with my usb2Go adaptor and the Note. I know both look similar, but the button configuration under the trackpad on mine is the same as the Bluetooth one.
I like the idea of the bluetooth one mind you!
Regards,
Dave
htc6500uk said:
whereas the Bluetooth one does work can as it connects using the inbuilt Android/Note bluetooth rather than using the supplied mini USB bluetooth receiver.
Click to expand...
Click to collapse
Thanks for that info, very useful. I'm considering getting one, can you advise where you got yours (a link would be great, if not, a manufacturer name and/or part number would do ... worst case can you advise approx price & dimensions?)
Although I have a USB one I bought from Kogan, this thread made me aware that there were now bluetooth ones too, so I've just ordered this one from Ebay:
http://www.ebay.co.uk/itm/Rii-Mini-i6-Bluetooth-IR-Keyboard-Touchpad-2-1-UK-Latest-Version-2011-/250901297139?pt=UK_Computing_ComputerComponents_KeyboardsMice&hash=item3a6ae1f7f3#ht_2215wt_905
It seems to be a slightly later design/model than the one shown in the 2nd post here, but you can find that too if you search ebay with the term "mini bluetooth keyboard rii".
Regards,
Dave
looks good - the universal learning IR remote is a nice add-on too. Let us know how it performs when you get it ...
meantime, I see you've got a wireless USB k/b already working via USB OTG. I'm awaiting my OTG adaptor so I can try that out with my existing (compact, but not mini) wireless k/b with optical trackball. Not sure how much current the Note can supply for OTG usage but I guess I can just use a powered hub if required?
After playing around with a few different cables and set ups I final have a Pi powered laptop with great battery life!
{
"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"
}
Below is a simple guide to what I used to set everything up including cables needed etc.
Feel free to reply if you have any questions about the set up or to share your own Pi laptops!
---------- What is needed? ----------
Raspberry Pi
Motorola Lapdock - I have the original for the Atrix but any with the micro HDMI and USB ports should work fine
Sdcard - I have a 8GB card but really what ever size you want
USB Male to Male Adapter - HERE
USB 2.0 A Female to Micro 5pin Female Cable - HERE
Micro HDMI male to female - HERE
HDMI Male to Micro HDMI Female Adapter - HERE
You will likely also want a case for your Pi, I have used this one HERE but feel free to use any case really.
To complete the laptop you might also want to use a Wifi usb card, I found this one HERE works very well out of the box.
---------- How to get it all working? ----------
The most important thing to remember is that the lapdock will not give power via the usb port until there is an HDMI connection, so the HDMI cable will need to be connected first.
All you need to do is plug it all together but once I have pictures sorted I shall post an actual step by step.
What's the battery life like?
jnewman1991 said:
What's the battery life like?
Click to expand...
Click to collapse
From a day or using it I have gotten about 10 hours, but the biggest downside to the set up is that the lapdock does not report its battery life via the usb port so you only get the 5 lights on the front of it for indication.
I plan to in the next few days do some actual battery tests (constant running of video etc) to see what it can make
According to Amazon it has 7 hours battery life
I recently bought a USB 3.0 Data cable and it seems it has problems connecting this way to my computer... Yes, I'm connecting the USB 3.0 to the right port (the color blue one), I already try the restart, the blow a bit in the cable :silly: and nothing happens.
The very first time I thick the option to connect as USB 3.0 I get a message saying "UNABLE TO CONNECT DEVICE AS USB 3.0". See attachments for my info of the phone.
Any help will be appreciated so much
waa2398 said:
I recently bought a USB 3.0 Data cable and it seems it has problems connecting this way to my computer... Yes, I'm connecting the USB 3.0 to the right port (the color blue one), I already try the restart, the blow a bit in the cable :silly: and nothing happens.
The very first time I thick the option to connect as USB 3.0 I get a message saying "UNABLE TO CONNECT DEVICE AS USB 3.0". See attachments for my info of the phone.
Any help will be appreciated so much
Click to expand...
Click to collapse
Check your PC settings to make sure the USB port on your PC is 3.0: open Device Manager > USB Root Hub > Properties > Details > Hardware Ids and make sure the Value = USB\ROOT_HUB30
{
"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"
}
vndnguyen said:
Check your PC settings to make sure the USB port on your PC is 3.0: open Device Manager > USB Root Hub > Properties > Details > Hardware Ids and make sure the Value = USB\ROOT_HUB30
Click to expand...
Click to collapse
Everything seems in order. The problem is that I can connect USB 3.0 HDD and everything works great. But the Galaxy S5 shows that error.
Hi, was this ever resolved? I also have a 900H but don't even get any USB 3.0 option or notification.....I think the cable I bought might be a scam
have u tried with another usb port?
cauze i had had the same issue and i tried to another and worked..
Here is what happens and I expect should happen.
IF I plugin the phone to a usb3 port it is detected by windows and in the system tray I get a popup alerting me I plugged in a usb3 device into a usb2 port so it wont run as fast as possible.
On the phone notification tray it will show usb connected in media mode, if I tap that I can choose between usb2 media mode, ptp mode and usb3 media mode.
This is if I use a usb3 cable. I have 2 usb3 cables, one is official samsung, another is different brand but still works.
If I use my S5 dock, (this dock claims to be USB3 and comes with a usb3 cable as well as using usb3 connectors) the same thing happens on windows, it alerts me I have plugged in a usb3 device to a usb2 port however I have no option to change to usb3 on the phone, based on this I believe my dock to be faulty and actually only usb2.
So in my opinion if you get no usb3 option on the phone it means either the cable or the port on the pc can only use usb2. There is also a chance of driver problems on the pc, I had to update my intel usb drivers to get usb3 working properly.
Use belkin usb 3.0 which Ian using it. No usb 3.0 displays. It charges good and also does good speed offile transfer .
It appears the cable I bought was the culprit....fake cable even though it had all nice samsung logos and numberings....
I took the cable of my hdd which is a toshiba 3.0 1TB hdd and it worked with that. NOW I do get the USB 3.0 notification...
I really want to use the samsung cable since it will be like 2 feet longer than the hdd cable but how to spot the fake ones from the good ones when buying??
I've had a Galaxy Tab A 10.1 for over a year now and get the most use out of it by connecting a thumb drive via the usb connection (for viewing pdf files). It's worked great until a few days ago.
After connecting as usual there appeared a message at the bottom "something something disconnected" (the "something something" being I don't remember exactly what and the message disappeared before I could see) and now the usb/connection doesn't show up in the "My Files" window (just the "internal storage" and "sd" indicators, whereas before I got the additional thumb drive designation).
I've tried two different utg connectors, no good. I've checked the thumb drive in my pc, it's fine. I've tried connecting the tablet to my pc via the usb, it doesn't show up at all. I can still move files between my pc and the tablet via wifi but I want my usb connectivity back!! I suspect the connection the utg plugs into.
Also, (I'm not sure if this is a separate issue or related) battery recharge seems to take much longer ... is this a sign of the tablet getting old? I could understand if it was 3 years+ but 1 year??!!
Thanks for any help or ideas as how to fix this!
HGGuy
I'm assuming you are using an OTG cable to USB Drive or a micro USB drive right? In other words the part you plug into you Tab is a micro USB and not Type-C USB? If it is micro USB and not Type-C try this ... https://www.youtube.com/watch?v=sGGdsMsK3VU. If it doesn't work the pins inside are probably damage and you need to replace the OTG cable or the drive, what ever you are using. If Type-C USB same thing. Needs replacing. Those pins ware out over time and use. Thats my best guess with out pics and further information.
Edit: Found this Image of what damaged micro USB pins look like, the damaged ones being on the right...
{
"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"
}
Yes, I'm using a usb (to take the thumb drive) to micro usb connector. I suspect it's not a connector issue as I tried three separate connectors and none showed a connection to the tablet (i.e. the thumb drive did not show in the "My Files" page as it used to) ... all the pins on all 3 connectors look good, the fit into the tablet port is tight, no looseness. I've looked closer at the micro usb port on the tablet and I'm beginning to suspect that's the issue as a receiving contact on the outer edge seems to be damaged (possibly) ..
Thanks for the reply and the link to the Youtube video!
HGGuy
No Problem, I've never had a female Micro USB port go bad on me , but have heard of it happening. A good tug in the wrong direction I suppose could pull the solder connections apart or maybe even damage the innards. Is the Tablet taking a charge? I'm a little confused to actuality what part your referring too. Here is an image explaining what the different types of USB's I think you are using. Tell me what color circle you think is damaged. Or if you are using something else entirely different.