bluez / bluez

Main BlueZ tree
https://bluez.github.io/bluez/
GNU General Public License v2.0
765 stars 278 forks source link

DualSense Audio Support #892

Open citrizon opened 5 months ago

citrizon commented 5 months ago

Hello! I am an Arch Linux user and i'm powering my bluetooth stack using Bluez. I configured my system and everything works fine. I can connect my DS4 controller to my PC, however when i try to connect a headphone, there is no sound output. I am checking the error through dmesg. the result is here:

[ 3120.827352] input: Wireless Controller as /devices/virtual/misc/uhid/XXXX:XXXX:XXXX:XXXX/input/input34
[ 3120.828103] input: Wireless Controller Motion Sensors as /devices/virtual/misc/uhid/XXXX:XXXX:XXXX:XXXX/input/input35
[ 3120.828493] input: Wireless Controller Touchpad as /devices/virtual/misc/uhid/XXXX:XXXX:XXXX:XXXX/input/input36
[ 3120.829440] playstation XXXX:XXXX:XXXX:XXXX: Registered DualShock4 controller hw_version=0x00006404 fw_version=0x00007008
[ 3174.454748] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=24
[ 3174.465644] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.482671] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.501570] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.512648] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.536696] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.549577] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.561715] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.579633] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.596593] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19

(Potentially sensitive information is redacted.)

I would like to learn about this problem and i would like to contribute to fix this issue (hopefully... maybe)

Vudentz commented 4 months ago

Hello! I am an Arch Linux user and i'm powering my bluetooth stack using Bluez. I configured my system and everything works fine. I can connect my DS4 controller to my PC, however when i try to connect a headphone, there is no sound output. I am checking the error through dmesg. the result is here:

[ 3120.827352] input: Wireless Controller as /devices/virtual/misc/uhid/XXXX:XXXX:XXXX:XXXX/input/input34
[ 3120.828103] input: Wireless Controller Motion Sensors as /devices/virtual/misc/uhid/XXXX:XXXX:XXXX:XXXX/input/input35
[ 3120.828493] input: Wireless Controller Touchpad as /devices/virtual/misc/uhid/XXXX:XXXX:XXXX:XXXX/input/input36
[ 3120.829440] playstation XXXX:XXXX:XXXX:XXXX: Registered DualShock4 controller hw_version=0x00006404 fw_version=0x00007008
[ 3174.454748] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=24
[ 3174.465644] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.482671] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.501570] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.512648] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.536696] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.549577] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.561715] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.579633] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19
[ 3174.596593] playstation XXXX:XXXX:XXXX:XXXX: Unhandled reportID=19

(Potentially sensitive information is redacted.)

I would like to learn about this problem and i would like to contribute to fix this issue (hopefully... maybe)

Doesn't seem like it is using A2DP/HFP for audio, so I guess it is transmitted over HID so it needs a kernel driver that can handle these reports.