[Q] Audio out from micro usb? - HTC Sensation

Does anyone know if the sensation has audio out on the usb port? If so, which pins is it on.
Looking to butcher a dock to make use of it if it does, to save me having to connect the 3.5mm jack and usb connector at night.

Usually, the pins are 'multi-use'.
So to get them to be 'Audio', you'd probably need to have a certain resistance across some pins, which would make it 'sense' that you have an audio device connected.
You could try a micro-usb audio adapter from, say, a Toshiba TG01 (I had one of these) and try it. (The TG01 also had USB Host adaptor as well!)
You might find there's an official lead for it, or it might just not be a feature that's available.
Until we get a service manual for the Pyramid, or you find a lead and test it, we're going to have no luck.

ICS is rumored to have support for USB Host, that should open up a world of possibilities, such as this.. not sure if this is possible at the moment, but I would wager that it's not.

Related

Simultaneous micro usb to 3.5 mm audio out while charging possible?

A similar question has been asked on modaco but I don't think a solution was found. Therefore I am going to ask if this would work here.
Is it possible to connect a micro usb (male) to mini usb (female) adapter up to this thing (HTC 4 in 1 adapter: I can't post link because I am a new user but just search it on youtube). This would connect to the tg01 micro usb and provide a 3.5 mm audio out in addition to a mini usb connection where one could potentially hook up a charger. I was thinking of testing this out as it would cost about 10-15 dollars but I do not want to damage my phone in the process. I have no electrical engineering knowledge but maybe someone else can explain if this would work before I order anything.
On a side note: I order samsung WEP870 bluetooth headphones on sale as an alternative to this. Note sure how sound quality is but I will try answer any questions you guys might have.
Any input is welcome.
mobius8 said:
Is it possible to connect a micro usb (male) to mini usb (female) adapter up to this thing (HTC 4 in 1 adapter: I can't post link because I am a new user but just search it on youtube). This would connect to the tg01 micro usb and provide a 3.5 mm audio out in addition to a mini usb connection where one could potentially hook up a charger.
Click to expand...
Click to collapse
I was heavily involved in the discussion running on MoDaCo you refered to; unfortunately there has been no breakthrough on this issue to date.
I did look into the the HTC adapter you mention, but it actually uses the proprietary HTC ExtUSB plug on the input end (connecting to the phone) and NOT a normal mini-USB. The ExtUSB has 11 pins which include a discrete audio output (being used to feed the 3.5mm jack socket) and also hard-wired power (used to accept the charger input).
In the case of the TG01 uUSB socket, it is too 'intelligent' for its own good. Every function, charging, audio out, USB data transfer, etc., is under procesor control. Different functions are triggered by the device 'seeing' a certain resistance across the sense pin and ground; depending on this the processor then configures the use of the socket pins accordingly.
I am after what you are trying to achieve also; there is a chip supposedly available which is intended to fulfil exactly this functionality, but I've been unable to find any devices on the market which use it and attempts to contact the manufacturer with a view to getting a few samples to try and build an interface have so far been unsuccessful.
I've attached a couple of documents which explain the uUSB Charger Adapter and also the chip spec sheet for reference.
View attachment MC34825.zip View attachment batt_charging_1_1.zip
If anyone else knows anything to help move this one forward, will be much appreciated !
Thanks for the nice explanation,
Hopefully one day there will be an adapter that can make this possible.

Solving usb port mistery

Hello everyone! My name is Patryk Andrzejewski (don't try to read my name if you're not polish), and this is my first thread on XDA.
I am studing electronics on university of technology so i'm pretty well with all kind of electronic stuff.
What i'm trying to do is "x-ray" the usb port in our TG01.
My basic targets is to find way to charge the device while using USB HUB or while listening music. If it's even possible to do.
Right now I know how to connect TG01 to amplifier by 3.5mm plug. Generaly most amplifiers have high impedance input while tg01 expect low impedance earphones to switch usb port to audio output. So what we need to do is take two resistors with the same resistance around 10k Ohm and connect them both between ground and both signal channels in male 3.5mm plug of the amplifier. This should do the trick. You can experiment with resistance but it should be as high as possible to not interfere in sound quality, but if it be to big output won't swich or sound would chop on high volume.
Basic usb cable have four wires plus ground. While micro usb plug have five pins. This extra pin is used to tell device what cable is connected, hub earphones charger or pc. It can be done by two ways, in each cable this extra pin is shorted to diferent other pins. Or it's connected by resistor to ground or Vcc.
What i need to do is determine how it is in our devices and if it would be done make a cable what will allow to charge while using usb to other purposes.
I can also help with porting microusb-3.5mm cables from other devices to TG01, just what i need is this cable, it's schematic, connection route with insides picture or small donation to buy it for tests.
Or eventualy I can make solution how to do it yourself.
Right now I waiting for a pack with new empty microusb male and female plugs to do some tests.
If someone have some experience with this please share.
Also it would be great if someone will port me on to usb switch driver.
Feel free to talk to me on priv.
Thread will be updated...
Hi @patryk,
Welcome to the TG01 Forum.... especially on this particular topic - if you can find a way to get multiple function via the uUSB port simultaneously, that will be great
There have been various attempts at this before, but in practice the only route seems to be using Bluetoth for audio while either charging or using the port in host mode.
I did a piece on Brighthand a while ago on connecting an external hard drive; there have also been discussions on MoDaCo and later on XDA (down the Accessories thread.... one is here and I think there may be some earlier than that). There is a link in the XDA post to a Freescale Smiconductor chip schematic. This is supposed to be able to (externally) support multi-function usage - ntended to be used by 3rd Party manufacturers in eg. a car kit, but as yet I am not aware of any such accessories having been released. If/when available would be suitable for any of the modern crop of uUSB based evices, though I think many car makers have opted for Bluetooth connectivity instead of the older style fixed car kits with cables.
Acording to pdf from your link I'm right, its all about one resistor. It's entire possibly to do this.
Tomorrow morning tests...
Thanks
oh I cant wait so:
rid_f: >220 kOhms
rid_a: 122-126 kOhms <-- this is what we're interest in
rid_b: 67-69 kOhms
rid_c: 36-37 kOhms
rid_g: 1 kOhm
These res val has small tolerance and ar not typical.
rid_a resistance is used to switch to charge device from charger and use usb for earphones or hub!
earphones - yes, but headset - not sure I must check first where mic is connected
here it is Dummy cable schematic:
Here are some related illustrations:
Schematic of the uUSB standard audio accessory control:
View attachment 505996
Picture of the supplied Toshiba earphone adaptor pcb:
View attachment 505997
The mic is connected to pins 1 and 2 (White and bare Cu)
I have made up several 3.5mm audio adapters using Neutrik 3.5mm jacks with 10k resistors fitted from D+ and D- to 0V common:
View attachment 506008
This ensures it will switch to audio out when connecting to external speakers with or without a ground-loop isolator transformer where typically the external device will have too low an impedance for the TG01 to recognise.
Shorting out D+ (Pin 2) and D- (Pin 3) causes the TG01 to go into Charging mode.
An R from ID (Pin 4) to 0V (Pin 5) causes the TG01 to go into Host mode.
I check all of these Rid's and it seems they don't work on Tg01. No matter how i try there is working only charging or earphones never both same time.
As you say device can be forced to charge when resistor < 200 ohm is connected between D+ and D- and they are floating.
There also must be other way to do this by the driver of usb charging becouse pc link charges only when TG is on.
In TG mic an switch of headset are connected to ID pin. So this first schematic of yours is about Toshiba accesory ?
Technicaly charging while using audio out is possible becouse VBUS pin is free in headset.
I'll do some other tests tomorrow..
Hi!
Any news since February?
I will find answers on many questions by reading this document
djtonka said:
I will find answer on many question by reading this document
Click to expand...
Click to collapse
It is a good document, but iunfortunately leaves many questions unanswerable.
In Section 6.4 it shows a schematic of an Accessory Charger Adapter which is essentially what we need to achieve simultaneous charging and audio out (or other functions). It does not however give enough detail to implement. I have previously identified a Freescale chip which has been designe dto do this job, but hae been unable to identify any source from which to obtain one. In essence this is aimed at the peripheral manufacturers' -who might wish to design and market eg. a hands free car kit to which you could connect a microUSB On The Go spec device. However so far as I can discover there are no manufactureres who have as yet brought any related device to market. If anyone happens to have found anything somewhere across the globe - please shout !
Regards,
Kevin

[Q] connecting USB headphones to microUSB

ok so if i would like to connect my USB headphones (logitech G35)
to ANY android device/tablet that has a microUSB port, how would i accomplish that? (if it is even possible..)
p.s or if not, can it be somehow connected to a 3.5mm jack in?
So, engineers, tell me if the above mentioned is possible.
Thanks!
Xxul said:
ok so if i would like to connect my USB headphones (logitech G35)
to ANY android device/tablet that has a microUSB port, how would i accomplish that? (if it is even possible..)
p.s or if not, can it be somehow connected to a 3.5mm jack in?
So, engineers, tell me if the above mentioned is possible.
Thanks!
Click to expand...
Click to collapse
Not sure about the USB part, but how much experience do you have a soldering iron?
AFAIK, this is not possible with the current Android Operating systems, however it might be possible with future platforms supporting the new Android Open Accessory support.
edit : As for connecting a standard 3.5mm jack, you should be able to do this if you bypass the USB sound card part and connect it directly to the wires coming out of the headphones. But depending on the headphones the USB soundcard circuitry (where the signal is converted from Digital to Analog) could be inside the headphones, somewhere in the middle of the cable or in the USB plug itself; you have to figure out where it is and attach the audio jack to the wires after the soundcard (where the signal is analog).
Parastie said:
Not sure about the USB part, but how much experience do you have a soldering iron?
Click to expand...
Click to collapse
HAHAHAHAH maaaaaaaaaann i haven't used those since childhood
PhoenixFx said:
AFAIK, this is not possible with the current Android Operating systems, however it might be possible with future platforms supporting the new Android Open Accessory support.
edit : As for connecting a standard 3.5mm jack, you should be able to do this if you bypass the USB sound card part and connect it directly to the wires coming out of the headphones. But depending on the headphones the USB soundcard circuitry (where the signal is converted from Digital to Analog) could be inside the headphones, somewhere in the middle of the cable or in the USB plug itself; you have to figure out where it is and attach the audio jack to the wires after the soundcard (where the signal is analog).
Click to expand...
Click to collapse
yeah, i think i know what i would need to do..
however since they costed a little fortune i won't try to experiment on em' in that matter

[Q] USB Hosting on ICS, possible for the G2x?

Hi. I've just recently tried out an app from the market that would let me control emulators and some games with a Wii remote, but it wasn't compatible with my G2x. However, I stumbled upon what is most commonly known as "OTG" cable, but discovered they were worthless for the G2x as of now because 2.3 doesn't have USB hosting.
What I wanted to know is, number one, will the G2x have USB hosting when the official 4.0 update comes out, or is it missing some special hardware needed for that? And number two, is there any risks in just getting a cheap MicroUSB to Female USB cable from a trusted seller? Like, can it damage any internal parts because of different voltages between devices or something like that? Or is the worst thing that can happen is the cable simply not working?
I'd really appreciate an answer on this one, because USB hosting seems to open up a lot of possibilities with our devices.
The short answer as of right now is NO there aren't any common ways to enable USB Host. With that said, can the Tegra2 chip in the G2x support host mode?...yes. Will it require a custom kernel?...yes. So basically your phone needs to be rooted to say the least and a kernel framework to enable and support it. I'm actually looking into this as we speak but it's looking like it'll be a while.
As for the cable... no most generic micro-USB cable won't work as is. The OTG cables have either a 'grounded' 4th pin or a disconnected 4th in some usb host modes. But either way you either need an OTG cable or if you search online you can find several ways to splice and solder back generic USB.
I have been looking for a while, but there doesn't seem to a custom kernel that supports USB Host mode. I already have USB OTG adapter (mini Male to 4 pin USB female) + arduino board etc.. So are there any custom kernels out there?
oOo B0XeR oOo said:
The short answer as of right now is NO there aren't any common ways to enable USB Host. With that said, can the Tegra2 chip in the G2x support host mode?...yes. Will it require a custom kernel?...yes. So basically your phone needs to be rooted to say the least and a kernel framework to enable and support it. I'm actually looking into this as we speak but it's looking like it'll be a while.
As for the cable... no most generic micro-USB cable won't work as is. The OTG cables have either a 'grounded' 4th pin or a disconnected 4th in some usb host modes. But either way you either need an OTG cable or if you search online you can find several ways to splice and solder back generic USB.
Click to expand...
Click to collapse
this^^^
Nothing had really changed on this front, if you want to use Android as an ardi interface, I'd suggest you grab a cheapo phone that supports it out of the box.
Sent from my LG-P999 using Tapatalk
I bring you back to life!!!
Any update on this? Seems ICS/JB roms are out now... any strides in getting OTG to work? I'm looking to make a G2x into a dedicated TV gamer unit to replace my MK808 and forgot about OTG for my air mouse. I have a Bluetooth mouse to get me by but the airmouse was awesome.
I guess I can look for a Bluetooth airmouse as a last resort.
player911 said:
I bring you back to life!!!
Any update on this? Seems ICS/JB roms are out now... any strides in getting OTG to work? I'm looking to make a G2x into a dedicated TV gamer unit to replace my MK808 and forgot about OTG for my air mouse. I have a Bluetooth mouse to get me by but the airmouse was awesome.
I guess I can look for a Bluetooth airmouse as a last resort.
Click to expand...
Click to collapse
No OTG happiness for the G2X with any ROM and/or Kernel. There is a board from Sparkfun which provides an interface that enables a non-OTG phone to work like one for interfacing to Arduino, etc.
https://www.sparkfun.com/products/10748?
http://forum.xda-developers.com/showpost.php?p=19967110&postcount=8

[Q] External USB Adapter

I've heard that the External USB Adapter from ASUS is a notoriously difficult beast to locate. It's marketed to plug into a bare tablet and provide a Host USB connector. But, would it also work in the charging port of the keyboard dock giving a second Host USB port? (Yes, I know a hub would do this. But If one wants this device to connect USB storage to a bare tablet, would it also do double duty and work with the dock?)
It certainly sounds possible. Mostly because I think the internals of the keyboard dock are a hub already basically.
One usb going to the card reader, one going to the usb port, one to the keyboard function, and another as a passthrough to the proprietary data port.
So by using the usb adapter you are just converting the otherwise unused data port into another usb port.
since there both 40 pin connecters i imagine that would work
m3n991 said:
since there both 40 pin connecters i imagine that would work
Click to expand...
Click to collapse
That is also my assumption, but we all know what assuming does. All depends if all the signals are passed through, and if there are any lag or transmission line issues.
Has anyone tried this to verify if it does or does not work?

Categories

Resources