DS4Windows
DS4Windows copied to clipboard
Feature request: Audio through DS4 headphone jack
Please considering working in this direction at some point, if it is at all possible. Would be incredibly useful, especially over Bluetooth.
Seconded. This would be an excellent feature.
I hate to tell you, but I'm not sure it's possible since the DS4 audio is handled by the PS4 mostly (from what reverse-engineered data we have found so far). Either that, or it is handled through Bluetooth, and that would be very difficult since Bluetooth sucks for bandwidth.
It would be kind of silly too, since all computers have a 3.5mm headphone jack on them. Even if you wanted to use the controller from far away, there are wireless headsets too.
I don't know, I'd have to do more research and capture more packets from the DS4...
Well, the PS4 clearly doesn't have bandwidth issues with using the DS4 bluetooth for both audio input/output streaming and controller events, according to user reviews (I dont own a PS4 myself).
As for reverse engineering, I found this: http://eleccelerator.com/wiki/index.php?title=DualShock_4 In the Bluetooth section, its mentioned that the controller advertises two devices, and uses one for audio. Hope this helps.
As vgturtle said, audio data is handled completely differently, and I don't have the tools to reverse engineer how it works. I can't say by myself that this feature will ever be added.
Thanks for considering it anyway
@hemu1 When I was talking about bandwidth, I was talking about the PC handling all of it, and that Windows Bluetooth stack doesn't really like that. The PS4 Bluetooth may be custom made, and be able to handle that while a PC might not.
Emulating two devices is tricky, especially with audio in the mix. You would have to dynamically analyze, convert, send, and receive audio data if it were to work just like the PS4.
With all that said, I have been looking at the controller dumps that people have made and I am currently trying to see if I can find out where audio is data is sent/kept/received/whatever.
This is all done in my free time though, which at this point in my life is very limited. But I am working on it.
+1
This feature would be awesome and add to those reasons for using a PS4 controller with a PC - and supporting software :)
I would certainly pay for this feature if it meant that I had one less wire to worry about..
Here's to hoping that this feature gains traction..
I can't seem to access the audio at all through my PC, it seems like the PS4 OS and drivers probably handle all that work. The Bluetooth seems standard, but the audio doesn't show up at all. I have tried everything I can think of.
Does anybody have any Bluetooth sniffers or anything?
Hi vgturtle127, I know that Wireshark allows you to sniff many different Bluetooth profiles : https://www.wireshark.org/docs/dfref/#section_b I would really enjoy it if there was a way to use the speaker on the DS4 and the earphone jack. I don't know much about sniffing and what exactly would be needed to do this and help you, but if this could help further advance the development of these features and you are willing to; please tell us exactly what is needed.
Wireshark allows you to sniff compatible wireless adapters. I would need to get a compatible device, something like this:
https://www.cacetech.com/products/catalog/product_info.php?products_id=69
I have controllers, so all I would need is a Bluetooth sniffer and some time and patience. I have confidence I could figure something out, or at least get some idea of what is happening. I could probably at least dump some stuff that would help people figure it out.
Some information has been gathered, but most of it was through USB or reverse-engineering, I believe.
http://eleccelerator.com/wiki/index.php?title=DualShock_4
Here is some good info, but nothing that helps us at the moment...
What about using a rooted android device instead? On Nov 12, 2015 04:20, "vgturtle127" [email protected] wrote:
Wireshark allows you to sniff compatible wireless adapters. I would need to get a compatible device, something like this:
https://www.cacetech.com/products/catalog/product_info.php?products_id=69
I have controllers, so all I would need is a Bluetooth sniffer and some time and patience. I have confidence I could figure something out, or at least get some idea of what is happening. I could probably at least dump some stuff that would help people figure it out.
Some information has been gathered, but most of it was through USB or reverse-engineering, I believe.
— Reply to this email directly or view it on GitHub https://github.com/Jays2Kings/DS4Windows/issues/17#issuecomment-155985312 .
I'm not sure if that would work or not, but unfortunately I don't have an Android device to test. :disappointed:
What's the thing with the android device? Why is it needed?
It's not "needed". He was saying I could use an Android device as a Bluetooth sniffer.
I dont know if it's like that for everybody but i sometimes get the audiodevice listed as one that i would be able to connect to in my bluetooth settings on Win 10. I havent figured out when the device appears but i can try to reproduce it if someone thinks it would help. I have of course tried pairing with it without success.
Can you upload a screenshot here? That seems interesting. I would also like to know what Bluetooth stack and chipset you are using.
I don't know exactly how i did it but I'm messing around with it trying to get it to happen again :P could you ELI5 how to best give you info on stack and stuff, cause I'm a noob :) I know for sure that the audio device was from the DS4 though because i live far from people and it appeared and disappeared when i turned on and off controller :)
Well, what bluetooth adapter are you using? Are you using a USB dongle or built-in bluetooth?
I think Anoneom is talking about this, I was able to see two devices when attempting to pair the Dualshock 4 (and yes, this second audio device only appeared when the DS4 was on):
Like Anoneom, I can't get it to pair. I'm on Windows 10 via Bootcamp on a 2015 15" MacBook Pro.
Is RECAM4AZJX02485 the device that comes up?
I can't find any information on the MacBook Bluetooth chipset or anything. :disappointed:
If you could check the device manager and give me any information pertaining to the Bluetooth device that would be great.
Yes, RECA is the device that pops up along with the PS4 controller ("Wireless Controller"). You're not able to see it on your setup? You may have to be on Windows 10, or maybe you need an adapter with Bluetooth 4.0+ (since it offers increased bandwidth that may be necessary for carrying audio AND controller AND light bar data)... In any event, this is with a Broadcom BCM943602CS (AC WiFi, Bluetooth 4.1).
https://wikidevi.com/wiki/Broadcom_BCM943602CS
Let me know if I can be of further help!
I am on Windows 10, I just don't have any Bluetooth adapters or anything. I always use USB when I use my PS4 controller. :smile:
Thanks for the information!
We definitely need Bluetooth 4.0, since that is what the PS4 has. The PS4 may use WiFi Direct or something for the light bar and audio data, or some proprietary equivalent. I kind of hope not since that would be much harder to sniff, but if I know Sony that spend a lot of time on security for stuff that doesn't really need it. :smiley:
Now if we could only connect or sniff the traffic that was passed along by the PS4. I really need to get a Bluetooth sniffer, I am getting more interested since it appears we may be able to connect to it from within Windows...
I doubt the Dualshock 4 uses WiFi, I think it only has a Bluetooth radio, though admittedly good teardown information IDing the ICs is lacking on the Internet, but this might be useful:
http://mygaming.co.za/news/wp-content/uploads/2013/11/DualShock-4-PCB-bottom.png
The audio codec is on the controller's PCB, so audio processing is done on the controller, NOT on the PS4. This is good news (if you didn't have this information already).
A Bluetooth 4.0 USB adapter can be had for ~$15, and the BlueFruit Bluetooth 4.0 sniffer runs about $30, though Wireshark may work with one of those $15 adapters... You probably know more about that than I do. Anyway, is it a question of money? I'm a little surprised you don't have Bluetooth on your computer!
@jamesspinella Good find about the audio IC! I had no idea based on previous tear downs!
I knew it didn't have WiFi, I just didn't know if it had some weird proprietary wireless communications stuff going on, this seems increasingly likely.
I could get a low cost adapter and try it, and then I would also have the benefit of having Bluetooth on my PC. However, that Bluetooth sniffer is for Bluetooth LE, not regular Bluetooth devices. :disappointed:
Wireshark actually works on most devices, at least as far as I have tested. However, I can never install WinPCap, so I can never run Wireshark. I have been meaning to go report the bug...
It is only sort of a question of money, I was recently laid off and don't have any spending money. Bluetooth adapters aren't expensive, but if I do get one, I want one that supports as many versions of Bluetooth as I can. I'm OK with paying if it means I get quality.
I understand your surprise, I figured most motherboards would have support by now. Mine was a budget board, and so was my wireless adapter. So no Bluetooth for me! :stuck_out_tongue_closed_eyes:
I have a spare Bluetooth USB adapter, but it's Bluetooth 2.1, so I doubt that would work for you... But is there anything else I can do to help with this effort? (FYI I don't actually have a PS4 anymore)
I will probably get this:
http://www.amazon.com/Plugable-Bluetooth-Adapter-Raspberry-Compatible/dp/B009ZIILLI/ref=sr_1_8?ie=UTF8&qid=1448850789&sr=8-8&keywords=bluetooth+usb+adapter
Either that, or something from Adafruit.
Who makes the spare adapter you have?
Ah, that sounds like a solid choice. I have a Targus dongle (http://targus.com/us/usb-bluetooth-adapter), but again, it's Bluetooth 2.1 (+EDR!).
@jamesspinella Actually, I may pick that one up too, since I don't know if I can do EDR on a Bluetooth 4.0 adapter.
EDR just means enhanced data rate, it allowed for faster link speeds versus 2.0, and so technically is "included" in any Bluetooth 3.0 and 4.0 device. Kind of like MIMO, only some Wireless "G" devices have it, but anything N and newer has it.
@jamesspinella Oh, OK. Good to know. Thanks, James! Bluetooth isn't my favorite thing in the world, if you couldn't tell. :smile: