[Q]Multipe Usb Devices- Charger and PC at the same time - General Topics

Hy there
I want to mount my Tablet in my Car at the moment everything is up and running except for the USB connection.
In the Car the tablet will be connected permanently to an Car charger. but i still would like to have an option to plug it into my pc and use USB OTG.
Removing the tablet from the car is not an option because it will be mounted there permanently.
So i thought about this:
When i connect the +5V and GND Lines form the Charger to the Tablet it should charge
Then i would connect the D+ & D- lines to an Micro usb port mounted in the dash. so i can get an usb connection with my laptop.
Additionally i want to mount an Female type A Usb connector to the dash which yould get all the Wires from the Tablet (the +5V &GND ist connected to the carger)
Here is a Picture: http://puu.sh/bV7vN/99f07ad434.jpg
Would this work this way?

push ....

Related

[Q] can the usb cable that comes with the device be used with devices?

If I purchase a female to female adapter and plug a device (such as usb memory stick) into the cable will the transfomer recognize it and be able to mount it as a disk ?
How about other devices such as keyboard ?
http://forum.xda-developers.com/showthread.php?p=13442199#post13442199

[Q] Kayboard Dock USB port

I just bought USB type A to Type A cable with hope to be able to view the share folder in my Asus TF700 via keyboard dock however I could not get it work. These are the tests:
1. use USB type A to type A cable connected between tf700 keyboard dock's USB port and my PC USB -> NOT working, unable to detect any storage folder
2. use portable HDD and connect it to the tf700 keyboard dock's USB port - NO PROBLEM. the TF700 is able to detect my USB storage
3. use the original USB charger (40 pin) cable from Asus and connect the other end (USB) to my PC. NO PROBLEM it works and this is how I transfer the files so far.
Does anyone know if the test 1 above should work?
thanks
I do not think it should work, because the USB port on our dock is a USB Host -- it's designed to make USB memory and external harddisks available to the system, not the other way around. That's why the 40-pin interface does that.

[Resolved] [tutorial] usb otg for desire s (saga)

This tutorial is aimed to ones who wish to have USB OTG Capability within their
HTC Desire S ( Saga ).
1: what you need ( software )
A USB host capable kernel or your Android Must support USB Host APIs.
if you don’t have proper kernel you will not get USB OTG support, in my case
I flashed kernel 3.0.76 from Stefan on ics Final v2.0 ,Android version 4.0.4, sense 3.6, Now there is another kernel, I have Hboot 2.0******.
Available with USB Host capability the version is 3.0.89, I have not tried this kernel
Yet, you can if you wish, you can find both of these kernels at XDA.
If your rom or framework does support USB Host APIs then may be you don’t need to flash
The kernels.
With a linux patched kernel USB devices are detected under “ sys\bus\usb\*.* “.
If your android system and framework supports USB Host APIs, Android will detect USB devices
Under “dev\bus\usb\*.*”
Install USB Device info from google play store.
Install USB Host Diagnostics from Play Store.
Install USB OTG Helper from Play Store or any other software like Stick Mount to mount your USB STORAGE DEVICE.
You must have root access and super user installed.
Before flashing the kernel always make a backup of your current Rom.
As in my case when I flashed the kernel my wi-fi stoped working and then I had to manually push some wifi related files to system directory.
2: Hardware
You need a USB OTG Cable, unfortunately USB OTG cables available in Market are not suitable for Desire S, because Desire S does not Power the USB Bus within its own, to wake up USB Host Capability for Desire S we need to short Pin 4 and 5 at Micro B plug, Micro B female is incorporated within Desire S.
If a cable with shortened pin 4 and 5 is available then you don’t have to make a cable.
Its recommended not to short pin 4 and 5 at micro B plug, its good to sold a 10k resistor between pin 4 and 5. Get a standard charging cable for you Desire S with Micro B Plug, First of all check this cable by connecting it to your computer, if charge only and disk drive options appears at your phone the cable is good for our purpose.
Secondly get one Standard USB Extension cable, this cable has 4 pin Male at one end and 4 pin Female at the other end. Cut this cable from the center, remove the shielding plastic and uncover the wires.
You will find four wires,
Red = POWER ( Normally 5 Volts )
White = ( Data- )
Green = ( Data+)
Black = GND ( Reference Ground for 5 Volts )
Get a soldering iron and a piece of solder wire.
Now pick Male end, cut white and green wires ( we don’t need them because we only need power wires from this plug ).
Now pick Female one, uncover the wires from this also, Make a joint of Male “RED” with Female “RED”, and Also Make a Joint of Male “BLACK” to Female “Black”, don’t cut “WHITE” and “GREEN” wires.
Now cover “RED” and “Black” with some sort of Glue or Adhesive Tape, Glue is better choice because it will prevent the wires from getting short, or you can use heat shrinking sleeve.
Now pick your standard charging cable and cut it from the center and hold the end having small Micro B Plug, uncover plastic shielding, you shall find following wires,
RED
WHITE
GREEN
BLACK
Now get the cable you already mad having Standard Male and Female and Make joints as follows.
RED = RED
WHITE = WHITE
GREEN = GREEN
BLACK = BLACK
Double check all connections and now the important part comes
Gently remove the plastic from behind the Micro B plug with sharp knife or cutter, be careful and be patient here because in a hurry you can damage the plug or wires.
After you remove the covering Micro B plug you will find “ RED , WHITE , GREEN , BLACK “ wires soldered.
Notice that only one point at Micro B plug is Empty, There you go, it is pin No 4 of Micro B Plug.
You will also see “BLACK” wire there, Now get your 10 k resistor, sold one end of the resistor to where the “BLACK” wire is soldered and sold other end to pin No 4 which you have already found empty.
Be careful here not to short any pins, it may lead to a disapointment. Your USB OTG CABLE is ready, put some glue where you find its necessary to cover and also over the Micro B plug from where you remove the plastic.
Now run USB Host Diagnostics and when it says to plug in then plug your micro B connector to the phone, you don’t have to apply power through mail connector until. USB Host Diagnostics should show
As following picture, it will detect USB root hub of the phone, if it does not detect anything then
May be there your cable is not prepared properly, or just Restart your phone after installing USB HOST Diagnostics and check again, USB HOST Diagnostics needs root access if USB HOST APIs or framework is
Not supporting USB HOST MOD.
Now apply power through your charger to MALE connector, after 5 or 7 seconds your phone will indicate charging, means the cable is correct.
Put a USB stick in USB Female connector, open USB OTG Helper and hit MOUNT, it will mount your USB storage device and will create a directory at the root of your SD card named “UsbOtgDrives”.
You can brows the files and directories of your device in that folder.
Un mount USB Mass storage through USB OTG Helper and connect any USB mouse and you will see a small cursor, its very small and but you can locate it, if pointer does not appear remove the power plug and connect again, same way you can connect a USB keyboard, connect a USB keyboard and open any text editor in your phone and check by typing from keyboard or open your sms editor and check it there.
You can get your device info with “USB Device Info” if you installed it from play store.
Wow...now...
that is one of the great tutorials that were missed
in our forum
many thanks from saga community:good:
asgardr said:
Wow...now...
that is one of the great tutorials that were missed
in our forum
many thanks from saga community:good:
Click to expand...
Click to collapse
I wrote tutorial, but there was a question i did asked, "does viper saga supports USB OTG AND USB HOST API, BUT UNFORTUNATLY NOBODY REPLIED, SO I SPARED SOME TIME AND INSTALLED THIS ROM TO MY DESIRE S, IT WAS ACTIVATING CAR DOCK MOD AS SOON I PLUGGED USB OTG CABLE BUT WAS NOT DETECTING ANY USB DEVICES, I SPENT TOW HOURS ON THIS ROM AND NOW EVERRY THING IS WORKING " MASS STORAGE, CDC-ACM- PL2303 SERIAL CABLE, CH340, CH340, SERIAL CABLE AND ALL HID DEVICES. IF SOMEONE IS GETTING PROBLEM CONNNECTING THOSE DEVICES, PLEASE PM, I WILL TRY MY LEVEL BEST TO HELP.
Many Thanks
MNASWL said:
I wrote tutorial, but there was a question i did asked, "does viper saga supports USB OTG AND USB HOST API, BUT UNFORTUNATLY NOBODY REPLIED, SO I SPARED SOME TIME AND INSTALLED THIS ROM TO MY DESIRE S, IT WAS ACTIVATING CAR DOCK MOD AS SOON I PLUGGED USB OTG CABLE BUT WAS NOT DETECTING ANY USB DEVICES, I SPENT TOW HOURS ON THIS ROM AND NOW EVERRY THING IS WORKING " MASS STORAGE, CDC-ACM- PL2303 SERIAL CABLE, CH340, CH340, SERIAL CABLE AND ALL HID DEVICES. IF SOMEONE IS GETTING PROBLEM CONNNECTING THOSE DEVICES, PLEASE PM, I WILL TRY MY LEVEL BEST TO HELP.
Click to expand...
Click to collapse
I tried ur tutorial with SVHD 2.1.0 ROM on my HTC Desire S with kernel 3.0.76 and it is working superbly, my wifi stpped working after the kernel flash but after flashing the boot.img via fastboot solved the problem .. I did not try to make a usb cable as u narrated instead I am using Y cable for it which has a separate mini usb power adapter and USB slot for pen drives... Many thanks bro :laugh:
Is there any existing cable on the market now that I can buy? I'm low on time to make my own
cable
broucker said:
Is there any existing cable on the market now that I can buy? I'm low on time to make my own
Click to expand...
Click to collapse
no such cable is available in market for desire s,you can try y cable with standard usb to otg converter.
Please can some one get a video of his tutorial for me to take a close look at it to make my own. I really need it to work on ds. Thank u all. I would be very happy to see that video
Just try to closely see the pictures and read care fully what I have written, in case if you feel difficult let me know , will try to spare some time to make video. Any ways it's easy.
MNASWL said:
Just try to closely see the pictures and read care fully what I have written, in case if you feel difficult let me know , will try to spare some time to make video. Any ways it's easy.
Click to expand...
Click to collapse
I am using a custom viper saga Rom, i've install the Stefan kernel, and I have closely followed everything step as you said, but still can't mount any drive. My USB host diagnostic show exact as your in the picture, but my USB helper still can't mount drive..... Please I need help fixing the issue
This Rome will not work.
Install victims saga 2.0 rom.
That will work.
Sorry virtuous saga 2.0

[Q] Powered USB Hub Setup

I am trying to connect my NVidia Sheild to a powered usb hub with no luck at this point.
Heres what I'm using:
Powered Hub
USB to Ethernet
OTG to USB
Male to Male USB
So I am taking the OTG to USB and connecting it to the Sheild OTG port. From there I have a Male to Male USB connecting the OTG to USB to the Powered usb hub. When I do this I can see that the Sheild's power light is orange which indicates to me that it is getting power and not acting as the USB Host for the Hub?
I did notice when I tried to use an air mouse directly with the OTG to USB it works as it should but not when it's connected to the powered usb hub instead, then nothing works (just charging). Also my ethernet adapter doesnt work via the powered usb hub or the OTG to USB.
BTW this whole physical setup worked just fine (plug and play) with both android MK808 and MK908. I was surprised that the Sheild isnt picking this up as well.
Can anyone tell me if I have incompatable hardware and if so what is compatable? Also I do not have ROOT access to the Sheild...yet, could that be the issue?
Many thanks in advance.
Chris

Question Teyes CC3 USB Debugging not working?

I went to developer settings and turned on USB Debugging.
Went to USB mode and turned on File Transfer
Tapped the 3 dots at the top right of developer settings and chose the second option.
Now I have the USB harness connected, which gives me a USB cable, but it's female so it doesn't plug directly into my computer. I used a USB-A to USB-C adapter on that cable, then used a USB-C to USB-C cable to connect to my laptop.
But I can't get adb devices to recognize it. I've tried every combination of the "three dots" menu and USB transfer mode, but nothing works.
How do you get USB debugging to work on this device? I've been using wifi, but USB would be much better for what I'm doing.
And maybe more importantly, how can I get fastboot to recognize my laptop?
Should work. Try a new cable without the adaptor.
Gunde said:
Should work. Try a new cable without the adaptor.
Click to expand...
Click to collapse
But the cable that comes from the headunit is usb-a female. How can I plug that into my laptop without an adapter?
cryptyk said:
But the cable that comes from the headunit is usb-a female. How can I plug that into my laptop without an adapter?
Click to expand...
Click to collapse
You'd have to get a new cable that plugs in directly. It's the only thing I can think of. I got it to work on mine, with the second option on the 3-dit menu ...

Categories

Resources