question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DualSense Support?

See original GitHub issue

Hey there, I don’t suppose there’s any way we could reverse-engineer the DualSense controller’s connectivity and get this working within ds4drv?

Edit: posting the output of running ds4drv in the event it might help:

Traceback (most recent call last):
  File "/home/cowkiller/miniconda3/bin/ds4drv", line 8, in <module>
    sys.exit(main())
  File "/home/cowkiller/miniconda3/lib/python3.8/site-packages/ds4drv/__main__.py", line 154, in main
    for device in backend.devices:
  File "/home/cowkiller/miniconda3/lib/python3.8/site-packages/ds4drv/backends/bluetooth.py", line 132, in devices
    device = self.find_device()
  File "/home/cowkiller/miniconda3/lib/python3.8/site-packages/ds4drv/backends/bluetooth.py", line 121, in find_device
    return BluetoothDS4Device.connect(bdaddr)
  File "/home/cowkiller/miniconda3/lib/python3.8/site-packages/ds4drv/backends/bluetooth.py", line 23, in connect
    ctl_socket = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_SEQPACKET,
AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:8
  • Comments:11

github_iconTop GitHub Comments

2reactions
QuixoticGitHubcommented, Jan 5, 2022

Hello people. Regarding 5.12 support for DualSense it seems that the driver released by Sony was either containing a few errors or something went wrong during the implementation. From what I recall it was the vertical axis of the left stick button and the R2 button that was swapped.

The controller works through Steam… But only because they use their own driver.

Any other native Linux game (tuxracer etc) only works if users manage to configure the controllers within the games and that hardly should be necessary.

On Wed, 5 Jan 2022, 02:17 Vadim Barkov, @.***> wrote:

Dualsense (ds5) is supported out of box by hid-playstation module from linux kernel (starting from version 5.12, here @.***/> are the patches for it ).

Both bluetooth and USB mode are supported by Sony. I don’t see any reason for opensource community driver.

— Reply to this email directly, view it on GitHub https://github.com/chrippa/ds4drv/issues/182#issuecomment-1005300279, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVKX7DKF4VIUTHO2DYTLJ3UUOL4DANCNFSM4TX4BXNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

1reaction
loveisfosscommented, Feb 18, 2022

If naoki-mizuno/ds4_driver#16 was closed, what’s the point of this issue?

this is ds4 (dualshock), why would it support dualsense (ds5)?

The point would be to create a dsu server in order to use motion controls with cemu (which I personally run with wine/lutris) that runs a dsu client (cemuhook).

By the way, l run Debian bookworm with kernel 5.16 and I don’t see any module containing the word “PlayStation” loaded, when doing lsmod. On lsusb, I see the DualSense controller entry normally. But for example, evdevhook cannot see it, so I don’t know if the driver is loaded properly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DualSense wireless controller for PS5 console support
Find out how to pair and charge a DualSense™ wireless controller with a PlayStation®5 console, change controller settings and what troubleshooting steps to ......
Read more >
Controller:DualSense - PCGamingWiki PCGW
Supports the DualSense in both wired and wireless modes, does not require installing drivers manually. · Has rumble, trackpad and gyro support. ·...
Read more >
How to use a PS5 DualSense controller on PC - PC Gamer
The DualSense doesn't have official PC drivers, but you can still use it through Steam, and some games even support the fancy rumble....
Read more >
How to use a PS5 DualSense controller on PC
Our guide on how to use the PS5 controller on PC will explain how to connect and configure the DualSense pad for PC...
Read more >
List of PS5 games that support DualSense haptic feedback ...
PS5 games that support DualSense haptic feedback and adaptive triggers ; Jett: The Far Shore, -, Yes ; Kena: Bridge of Spirits, Yes,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found