DualSense support #11
Replies: 8 comments 3 replies
-
I'm not quite sure about current status of dualsense support in linux kernel - I don't own dualsense myself (nor plan to get one). When the quoted sentence was being written a separate DKMS module still was requires for DS5 support - that's what I know. You can try running Finally, check out #3 and edit mapping in |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! Here come some observations. The driver hid-playstation seems to be present on kernel 5.15 and not on kernel 5.16 in my Debian installation. A notable difference is that the moving of cursor by touchpad can be used when booting with kernel 5.15 but not with 5.16. On kernel 5.16 On kernel 5.15: The command you mention is needed in my case. Tested on yuzu and it works (meaning not the native one, named sdl - but through DSU). Tested on cemu/cemuhook (running with wine/lutris) and it seems to be detected in the cemuhook submenu. It is not working in-game though and the option to use motion controls ingame is grayed out. This may have to do with my lutris/wine implementation, I may look into it later. @Mrbinaer how did you make it work on cemu? Do you run cemu with wine? |
Beta Was this translation helpful? Give feedback.
-
On cemu you must use gamepad for gyro to work. I'd also recomment against using cemuhook, especially that now cemu supports software video decoding, removing the last issue cemuhook solved. No idea what's the deal with kernel module status, sadly. |
Beta Was this translation helpful? Give feedback.
-
My idea is to run a DSU client on cemu, in this case cemuhook. Is this no longer needed for motion controls on cemu? |
Beta Was this translation helpful? Give feedback.
-
So, I tried to uninstall and reinstall the 5.16 kernel and I see now an error when installing it.
It seems like what I wrote earlier about kernel 5.16 being different is wrong. So sorry X.X. |
Beta Was this translation helpful? Give feedback.
-
udev rule I use for DualSense: It is even working on cemu after a fresh reinstall via lutris. But not being recognised under option "DSU controller" in input settings. I don't know why, as this option works for @Mrbinaer . It works only when I set the controller as a DirectInput one and I use cemuhook as a DSU client that gets info from evdevhook. So, cemu works now with motion controls and DualSense on Linux. God job! :) ps. Kernel 5.15 with hid-playstation existing by default. |
Beta Was this translation helpful? Give feedback.
-
So, it seems like the module hid-playstation is really missing from debian kernel 5.16 (at least for now). https://www.mail-archive.com/[email protected]/msg1844706.html It seems like the module hid_generic is being used instead, with which button mapping is kind of wrong and gyro/motion is not working. |
Beta Was this translation helpful? Give feedback.
-
For those who were wondering, hid-playstation was merged in Linux 5.12. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for this awesome piece of work!
What does the following mean?
hid-playstation - DualSense controller (Note: not in mainline kernel yet as of now)
Using Debian bookworm with kernel 5.16. The DualSense controller is working without problems, generally. I suppose DualSense support has been included in kernel 5.16, is this right? But when trying to use evdevhook:
...shows no motion devices.
$ ./evdevhook ./config_templates/playstation.json
...stays here forever and does nothing.
After a little web searching I wondered if I should modprobe the playstation module (although the controller is working fine already), but I got this:
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions