I asked this question on the AOKP thread, but I think it'd be better suited here.
So the GalaxyS2 is very similar to the GNex. They share many of the same chips. Specifically, they share the fsa9480 USB switching chip. This is the chip that enables UART mode, and download mode. In the GS2, it can also enable "Car Dock" mode and "Home Dock" mode. I built a car dock cable for my old GS2. Build log is here:
https://plus.google.com/u/0/11396136...ts/5yrxdcYRf59
It allows for analog audio output over the D+ and D- lines on the microUSB port when you apply a resistor of a specific Ohm rating (619K for car dock mode) across pins 4 and 5 in the microUSB male connector. I was hoping that this same cable would work for the GNex as well. However, the phone refuses to charge, and the dock does not output audio. Remember, this has nothing to do with the PogoPins. I ran an adb kmsg when I plugged and unplugged the car audio dock cable. I shared my observations with Adam Outler. You can see that in this post:
https://plus.google.com/u/0/11396136...ts/9bhvFNPhqSa
Is there a way a dev can do more checking to see if car audio dock mode is possible? It was on CM9 on the GS2. I'm willing to do whatever testing is necessary. I'm also going to ask Entropy512 where the code is for the car dock audio for the I777 (or I9100) in CM9. Any thoughts on this? Thanks!
Supposedly Jellybean supports USB Audio Out now and presumably this covers the Gnex as well.
http://www.head-fi.org/t/616507/wow-the-google-jelly-bean-supports-usb-audio-out
Yes, however that is not the functionality I'm referring to. JB's USB audio actually puts makes the phone an "accessory" to a USB device. An example would be those iPhone speaker docks that control/display playlists etc on the dock. What I'm asking for is very different. I think there's a way that this phone will output straight analog audio from the USB port. I might have to ask one of the kernel devs.
Related
I've just watched this video...
http://youtube/fCBFdNMhCCw
If you look at the charging cable for it, it has a 3.5mm headphone jack (so that it can be plugged into the aux in on a stereo)
Is there any way to buy just this cable so we can have audio over usb? Or even a way to hack one together DIY style?
Thanks.
The-Milkybar-Kid said:
I've just watched this video...
http://youtube/fCBFdNMhCCw
If you look at the charging cable for it, it has a 3.5mm headphone jack (so that it can be plugged into the aux in on a stereo)
Is there any way to buy just this cable so we can have audio over usb? Or even a way to hack one together DIY style?
Thanks.
Click to expand...
Click to collapse
Have you tried plugging usb in from the charging cable to see if you can put into mass storage mode and read files like a thumb drive? I would check that first.
That would probably work but I just have never seen a cable with the 3.5mm jack built in. I don't have my atrix yet, just doing some research into different things.
Should have it by late next week
The-Milkybar-Kid said:
That would probably work but I just have never seen a cable with the 3.5mm jack built in. I don't have my atrix yet, just doing some research into different things.
Should have it by late next week
Click to expand...
Click to collapse
Yeah, just so there's one cable coming down for charging and audio aux. Unfortunately, I don't see a way for a stereo or processor to read the phone properly until Harman's Google Open Protocol project gets into the market.
I have the dock/cable
One cable goes into the dock which the usb on the phone plugs into.
The HP jack comes out of the other end to connect to the AUX input in the car.
There are two labels on the cable, one says not to plug directly into the phone on the mini usb end and the other says not to plug into a PC (both in pictures)
I have the car dock and the usb cable supplied with the 3.5 mm does not work as a sync cable.
Sent from my Atrix!
It's a dock dependent cable. Great question and perhaps abthird party will step up and manufacture a micro USB charging/ audio combo cable that can be used without seperate dock. Alternatively, contact your local rocket scientist. Lol! Actually, the multimedia dock does exactly the same thing, presenting an audio out jack.
Sent from my MB860 using Tapatalk
But in the multimedia dock, I would assume that audio is coming through HDMI. This dock is much different than laptop dock and multimedia dock just because it conencts with phone only over USB but still gives an audio plug at the other end.
Also, I would assume that audio streaming is built into the cable and not in the dock because cable connecting to the dock is just a USB connector.
Now if audio is flowing through USB cable, the only question is if it can be played without using accompanied 3.5 mm audio jack?
To get to bottom of this question, it would require some USB debugging expertise which I dont have. Can anyone check with devs in forum?
There is no way audio is coming through HDMI because there is no HDMI port.
The car dock does something with the atrix where the atrix turns the USB port into analogue audio out/power. It's pretty much replacing data with audio out.
It specifically says on the cable to not plug into a computer, because the wires do not go where they are normally supposed to go (since it splits)
Mgamerz said:
There is no way audio is coming through HDMI because there is no HDMI port.
The car dock does something with the atrix where the atrix turns the USB port into analogue audio out/power. It's pretty much replacing data with audio out.
It specifically says on the cable to not plug into a computer, because the wires do not go where they are normally supposed to go (since it splits)
Click to expand...
Click to collapse
I have no reason to believe that the multimedia dock (not to be confused with the HD dock) and the car dock are any different in how the micro USB connector interacts with the phone. One thing that we do know is that the micro USB connector on the car dock is expecting a special cable. It literally states not to connect the car dock wire directly to the phone. Anyway, the bottom line is why does it matter, the key is that Moto engineered a product that will charge and output audio using a single connector. The car dock wire has the 3.5 mm audio out. The multimedia dock has the 3.5 mm audio out on the back... All appears to be the same to me. One thing worth noting is that the multimedia dock will not interface with a PC. I read a post that described the connection type, but can't remember what it was.
Im not sure how the he dock works, but the webtop hack has sound. If the he dock is just webtop/hd sharing, then yes, its hdmi. Charging via the usb port. But I don't own those docks, only the car dock, so im not sure.
Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
Mgamerz said:
Im not sure how the he dock works, but the webtop hack has sound. If the he dock is just webtop/hd sharing, then yes, its hdmi. Charging via the usb port. But I don't own those docks, only the car dock, so im not sure.
Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
Click to expand...
Click to collapse
The HDMI port is for video with audio only and used for the HD dock, lap dock and webtop hack. The micro USB port is used by the HD dock and lapdock to provide USB hub like functionality to the dock as well as a mechanism for charging the phone. This USB hub like functionality is the basis for the lapdock keyboard/track pad and HD dock wired USB keyboard and mouse. A Bluetooth keyboard/mouse can be substituted I believe, connecting via the phone's built in Bluetooth. The multimedia dock and car dock do not provide computer USB type connection capabilities, and NO video capabilites, as the HDMI connection is abscent. Instead they will charge the phone AND provide connectivity for analog audio out and that is it. The webtop hack is just a way of activating HDMIfeatures that are normally only triggered in the HD dock or lapdock.
Yes... I knew all of that... just too lazy to type that...
so... that doesn't really lead us anywhere?
I don't think you can use the vehicle dock cable with the phone directly unless someone reverse engineers the car dock.
Mgamerz said:
Yes... I knew all of that... just too lazy to type that...
so... that doesn't really lead us anywhere?
I don't think you can use the vehicle dock cable with the phone directly unless someone reverse engineers the car dock.
Click to expand...
Click to collapse
Yeah, I guesses you probably did, but then a noob comes along and decides 1+1=8.
Sent from my MB860 using Tapatalk
Hey all,
Not sure if this is possible but I want to somehow have audio out through the MHL/micro usb port of my s2. Reason being that it would be much nicer in the car to have 1 cord for charging and music rather than one cord for each.
Does the MHL port support this or could there possibly be an accessory to change the HDMI out feature to audio-only aux?
thanks!
also wondering about this for my AV receiver
i went ahead and ordered the HDMI MHL cable to test Spotify through my AV Receiver.
Since the HDMI audio is digital data I wouldn't bother researching down this lane.
But there certainly are docking stations that charge the SGS2 and offer a 3.5mm line-out at the same time, so it must be possible.
Pinout anyone?
faildroid said:
Since the HDMI audio is digital data I wouldn't bother researching down this lane.
Click to expand...
Click to collapse
Don't understand what you mean here?
If you'd like to use the HDMI audio you would have to add a digital-analog-converter in order to feed your car stereo the analog line audio it needs. Plus I don't think the connector will allow charging while in HDMI mode.
So maybe it's best to put that port on the SGS2 into Home Dock or Car Dock mode. You might get some further help wit the pinout in this thread.
faildroid said:
If you'd like to use the HDMI audio you would have to add a digital-analog-converter in order to feed your car stereo the analog line audio it needs. Plus I don't think the connector will allow charging while in HDMI mode.
So maybe it's best to put that port on the SGS2 into Home Dock or Car Dock mode. You might get some further help wit the pinout in this thread.
Click to expand...
Click to collapse
I think you're getting me confused with the original poster. My question was in regards to outputting just audio (Spotify) through my Onkyo AV receiver. There shouldn't be any issue with this, right? I've only seen the MHL-HDMI cable used on a TV directly, and not through a receiver.
Also, would it be possible to plug the SGS2 with the MHL-HDMI cable directly into the HDMI 1.4 input on the back of the TV, and use the ARC feature (Audio Return Channel) to feed either 2.1 or 5.1 audio back through the HDMI cable linking the TV and receiver to the surround sound speakers?
Wait, if HDMI out audio is digital out, can we play around to get a clean digital out signal that would play nice with portable external DACs?
Sounds impossible but who knows?
ghileman said:
I think you're getting me confused with the original poster.
Click to expand...
Click to collapse
That's exactly what happened, my bad.
Unfortunately I haven't got the HDMI cable for the SGS2 yet but for the ARC feature I'd say it depends on your TV. Maybe you can try feeding an existing HDMI source to it and verify that a HDMI-in on the TV can be routed via ARC to your AVR.
faildroid said:
That's exactly what happened, my bad.
Unfortunately I haven't got the HDMI cable for the SGS2 yet but for the ARC feature I'd say it depends on your TV. Maybe you can try feeding an existing HDMI source to it and verify that a HDMI-in on the TV can be routed via ARC to your AVR.
Click to expand...
Click to collapse
Yes, supposedly my TV can do that with the Freeview HD tuner audio, but I'm waiting for my antenna to put that to the test.
Solution: HD Fury II or HD Fury III. They have 2 channel analog output from HDMI input.
To clear up some things about MHL:
First of all MHL is not HDMI. By default, your phone needs to support MHL and your TV/Receiver/whatever also needs to be able to receive MHL signals.
There is no fixed connector type for MHL (the plug can either be proprietary or a readily available one such as USB or HDMI). Phones have MHL hardware connected to their USB ports. Upcoming TVs will have additional MHL hardware connected to their existing HDMI inputs.
You cannot use an ordinary USB<->HDMI type MHL cable to connect your phone to any HDTV. It will not work. You need an active cable that receives a MHL signal from the USB side, internally decodes it and reencodes it as HDMI, and then outputs it via the HDMI side of the cable to any HDMI device. That's why the cables are expensive.
The good news pertaining to this thread:
The active MHL cables we've seen so far are very small and compact. Basically the only thing you need is an MHL decoder which has an audio line out. There is no need for a HDMI DAC.
I can confirm that the Samsung MHL-HDMI cable for the SGS2 outputs both video and just audio beautifully to my home theatre receiver.
MHL to VGA is an option
Please excuse the necroposting. For future people who run across this thread when searching for MHL Audio products.
I discovered these products after some searching around:
http://vgaadapter.blogspot.com.au/2012/02/ikross-mhl-micro-usb-to-vga-display-and.html
http://www.ecvv.com/product/2822782.html
I'm not sure of the quality of the audio DAC but its an option.
But so is the Samsung Desktop dock or the car dock for charging and playing music at the same time through one plug.
i can't believe, but ac adaptor charger and p2-p2 or p2-rca cable work like a charm here
Does anyone know if this adapter would work with the GN?
http://www.amazon.com/HTC-Multifunction-Adapter-T-Mobile-Shadow/dp/B001QD3MQE/ref=cm_cmu_pg__header
I want to have the phone output audio while being simultaneously being charged.
I would love to have the official car dock, but it is nowhere to be found (yet).
No. It will not.
Why not just plug something into the headphone port and the power into the USB cable like you are supposed to do?
I'm looking for something simple. Just drop it on a dock and go.
IPhones have countless docks, my pre has the touchstone.
I suppose I could just connect through Bluetooth for audio and plug in a charging cable in the meantime until that GSM car dock comes out.
staticx57 said:
No. It will not.
Why not just plug something into the headphone port and the power into the USB cable like you are supposed to do?
Click to expand...
Click to collapse
Why won't it work? I have been looking for something exactly like this to make a custom portrait desktop dock that has audio out. The problem is the headphone jack is on the bottom and covered when in this position... any suggestions on what I could use for this situation?
*edit* Looks like it isnt a micro usb so it definitely wouldnt work then...curious though, does anything like this exist that would work with gnex?
Sent from my Galaxy Nexus
There's no way for it to work on a Samsung phone because those old mini USB slots on those HTC phones are proprietary 11-pin ExtUSB ports. Normal USB mini/micro only has 5 pins. HTC wanted to be cool and add extra pins to the USB port so that they wouldn't have to add a headphone jack to the phone. To my understanding, this was unpopular because you had to buy extra hardware just to get a headset working.
Hi everyone
I know this has been posted in another forums, but without any or good answer.
What i want it's to make an USB to 3.5 Jack adapter to use with my Galaxy S2.
Anyone can help me with this? I'm curretly using RR and as far i could read it says it doesn't have the Dock mode. So, this will be possible?
Thanks for the help!
pinouts
http://forum.xda-developers.com/showthread.php?t=1321491
These are the pinouts for the micro USB with instructions on how to make the cable. You can ignore the power input unless you are trying to make a nifty car dock...
Sorry I don't know about dock mode, but different ROMS behave way differently on the USB, so I would try ROMs and kernels until it works. I think ICS is better for USB connecting things.
Good luck.
Tried on RR 2.4 with Samsung Desktop Dock using line out from the dock to speakers - doesn't work.
Was hopeful because I saw Dock audio settings under System Settings --> Dock, but Audio options was greyed out. Likely to be an issue with CM9 and Siyah kernals.
i've gone about it in a different way. i'm fitting a usb port to a blanking cover in my dash board and taking a aux line in from my head unit and power from behind the dash (ignition fed). as i have an s3 i need 1 amp for the power side of things. all parts have come from ebay for about £11.00 about $18.00
Nice work Post pics/detailed instructions. I'm sure other people will be very interested.
plctech said:
i've gone about it in a different way. i'm fitting a usb port to a blanking cover in my dash board and taking a aux line in from my head unit and power from behind the dash (ignition fed). as i have an s3 i need 1 amp for the power side of things. all parts have come from ebay for about £11.00 about $18.00
Click to expand...
Click to collapse
plenty of people have modded the original XOOM docks for USB host, such as here.. and here...
i also dissected the standard and speaker docks this past week, just wanted to share my observations:
standard dock:
- uses a regular charger and just passes through the ~12v to the dock charging pins
- the micro USB connection uses 200k ohms between the ID pin and ground to signal the tablet that it's in a dock
- the audio adapter circuitry (which provides the line-out) connects via the micro USB port and is powered completely via that port (not via the external charger connection)
speaker dock:
- uses a separate charger that comes with the dock, rated at 19v and 1.58 amps. the extra power is likely needed to drive the amp for the speakers
- the internal circuitry steps the voltage down only to ~13.3 volts for the tablet charging pins. interesting that they didn't need to be more precise, i guess the tablet's own internal regulators can accept a bit of a range (not just 12v)
- the micro USB ID pin to ground connection is at 200k ohms just like in the standard dock
- the audio adapter is connected via the micro USB just like in the standard dock.
- the HDMI port is completely a pass-through to the external plug on the dock, it provides no functionality to the dock circuitry
i converted the standard dock's microUSB connector to a USB OTG cable for a carputer project. of course by doing this i lost the audio adapter functionality. so i then tried to convert the audio adapter into a regular USB accessory and hook it up via the OTG cable and a powered hub (to enable me to get USB host AND still use the audio adapter). this didn't work and i'm really not sure why. it just wasn't seen at all (nothing new in the dmesg output). i at least expected to see an unrecognized accessory from dmesg if nothing else.