[GH-ISSUE #187] PS5 Controller mapped wrong #124

Closed
opened 2026-10-15 12:56:47 +00:00 by bsakaguchi · 17 comments
Owner

Originally created by @danny9484 on GitHub (Mar 23, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/187

Hello, when using a Playstation 5 Controller I noticed that the buttons aren't mapped properly. Same seems to be happening with a PS4 Controller, I have one here in case you want me to test every button of that one too.

I have tested this inside steam with the moonlight-qt flatpak linux and moonlight-ios client. My Host is Fedora 42 Server with the wolf container running on podman. I tested the stable and alpha tag.

Here is a list of Buttons that seem to be mapped wrong. First is the Button that I pressed on the controller and second is what Steam registered.

Ps button - L3
L3 - R3
R3 - Ps button
left trigger - right thumb horizontal
right trigger - right thumb vertical
right thumb horizontal - left trigger
right thumb vertical - right trigger
cross - square
square - triangle
triangle - circle
circle - cross

Originally created by @danny9484 on GitHub (Mar 23, 2025). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/187 Hello, when using a Playstation 5 Controller I noticed that the buttons aren't mapped properly. Same seems to be happening with a PS4 Controller, I have one here in case you want me to test every button of that one too. I have tested this inside steam with the moonlight-qt flatpak linux and moonlight-ios client. My Host is Fedora 42 Server with the wolf container running on podman. I tested the stable and alpha tag. Here is a list of Buttons that seem to be mapped wrong. First is the Button that I pressed on the controller and second is what Steam registered. Ps button - L3 L3 - R3 R3 - Ps button left trigger - right thumb horizontal right trigger - right thumb vertical right thumb horizontal - left trigger right thumb vertical - right trigger cross - square square - triangle triangle - circle circle - cross
Author
Owner

@ABeltramo commented on GitHub (Mar 23, 2025):

Can you share the full logs from Wolf using

docker logs wolf

?
I'm trying to see if you are actually able to create a dualsense joypad on the server or if it's falling back to an xbox joypad.

<!-- gh-comment-id:2746259913 --> @ABeltramo commented on GitHub (Mar 23, 2025): Can you share the full logs from Wolf using ``` docker logs wolf ``` ? I'm trying to see if you are actually able to create a dualsense joypad on the server or if it's falling back to an xbox joypad.
Author
Owner

@danny9484 commented on GitHub (Mar 23, 2025):

looks like it does, Steam also sees it as a PS5 Controller.

[2025-03-23 15:04:35] 
[2025-03-23 15:04:35] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
[2025-03-23 15:04:35] **** Configure default user ****
[2025-03-23 15:04:35] Container running as root. Nothing to do.
[2025-03-23 15:04:35] DONE
[2025-03-23 15:04:35] 
[2025-03-23 15:04:35] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
[2025-03-23 15:04:35] **** Configure devices ****
[2025-03-23 15:04:35] Exec device groups
[2025-03-23 15:04:35] Adding user 'root' to groups: gow-gid-104
[2025-03-23 15:04:35] DONE
[2025-03-23 15:04:35] 
[2025-03-23 15:04:35] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
[2025-03-23 15:04:35] 
[2025-03-23 15:04:35] [ /etc/cont-init.d/init-gamescope.sh: executing... ]
[2025-03-23 15:04:35] Launching the container's startup script as user 'root'
0:00:00.007503182   184 0x55ebe845fa00 WARN          adaptivedemux2 gstadaptivedemuxelement.c:41:adaptivedemux2_base_element_init: Failed to load libsoup library
0:00:00.007633514   184 0x55ebe845fa00 WARN          adaptivedemux2 gstadaptivedemuxelement.c:41:adaptivedemux2_base_element_init: Failed to load libsoup library
0:00:00.007747735   184 0x55ebe845fa00 WARN          adaptivedemux2 gstadaptivedemuxelement.c:41:adaptivedemux2_base_element_init: Failed to load libsoup library
0:00:00.099219250   184 0x55ebe845fa00 WARN                 default ges-meta-container.c:238:_set_value:<GESAsset@0x55ebe8828850> Could not set value on item: format-version
0:00:00.099241931   184 0x55ebe845fa00 WARN                 default ges-meta-container.c:238:_set_value:<GESAsset@0x55ebe8829080> Could not set value on item: format-version
0:00:00.099251691   184 0x55ebe845fa00 WARN                 default ges-meta-container.c:238:_set_value:<GESAsset@0x55ebe8829820> Could not set value on item: format-version
0:00:00.099525324   184 0x55ebe845fa00 WARN               structure gststructure.c:3369:priv_gst_structure_parse_fields: Failed to find delimiter, r=mimetype
0:00:00.130694629   184 0x55ebe845fa00 WARN              cudaloader gstcudaloader.cpp:342:gst_cuda_load_library_once_func: Could not open library libcuda.so.1, libcuda.so.1: cannot open shared object file: No such file or directory
0:00:00.235630767   184 0x55ebe845fa00 WARN                vafilter gstvafilter.c:1774:gst_va_filter_has_compose:<vafilter0> VPP does not support alpha blending
0:00:00.261883294   184 0x55ebe845fa00 WARN                 default gstvaapi.c:232:plugin_init: Cannot create a VA display
0:00:00.295819506   184 0x55ebe845fa00 WARN      GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so" failed to initialise
0:00:00.296457365   184 0x55ebe845fa00 WARN      GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so" failed to initialise
0:00:00.306199788     1 0x55aa57d87100 WARN            GST_REGISTRY gstregistry.c:457:gst_registry_add_plugin:<registry0> Not replacing plugin because new one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so) is blacklisted but for a different location than existing one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so)
0:00:00.301061158   184 0x55ebe845fa00 WARN      GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so" failed to initialise
0:00:00.301110798   184 0x55ebe845fa00 WARN      GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so" failed to initialise
0:00:00.313319464     1 0x55aa57d87100 WARN            GST_REGISTRY gstregistry.c:457:gst_registry_add_plugin:<registry0> Not replacing plugin because new one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so) is blacklisted but for a different location than existing one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so)
15:04:36.476728616 INFO  | Gstreamer version: 1.25.0-1
15:04:36.478028514 INFO  | Reading config file from: /etc/wolf/cfg/config.toml
0:00:00.333066953     1 0x55aa57d87100 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah264lpenc"!
0:00:00.346967452     1 0x55aa57d87100 WARN                vafilter gstvafilter.c:1774:gst_va_filter_has_compose:<vafilter0> VPP does not support alpha blending
15:04:36.508909274 INFO  | Using H264 encoder: vaapi
0:00:00.354906641     1 0x55aa57d87100 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah265lpenc"!
15:04:36.514913886 INFO  | Using HEVC encoder: vaapi
0:00:00.360906382     1 0x55aa57d87100 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vaav1enc"!
0:00:00.360918842     1 0x55aa57d87100 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vaav1lpenc"!
15:04:36.515311731 INFO  | Using AV1 encoder: aom
15:04:36.515320891 WARN  | Software AV1 encoder detected
15:04:36.516442797 INFO  | Starting API server on /tmp/wolf.sock
15:04:36.516462647 INFO  | Starting mDNS service
15:04:36.516610229 INFO  | RTSP server started on port: 48010
15:04:36.516624709 INFO  | HTTP server listening on port: 47989 
15:04:36.516927683 INFO  | Control server started on port: 47999
15:04:36.517038385 WARN  | [PULSE] Unable to connect, Access denied
15:04:36.517081265 INFO  | Starting PulseAudio docker container
15:04:36.517607192 INFO  | HTTPS server listening on port: 47984 
15:08:19.348512827 WARN  | [HTTP] Can't find icon_png_path for app with id: 1100397540
15:08:19.349677642 WARN  | [HTTP] Can't find icon_png_path for app with id: 1240335839
15:08:19.349913836 WARN  | [HTTP] Can't find icon_png_path for app with id: 1100397540
15:08:19.350549024 WARN  | [HTTP] Can't find icon_png_path for app with id: 174667412
15:08:19.354209074 WARN  | [HTTP] Can't find icon_png_path for app with id: 1100397540
15:08:19.354501918 WARN  | [HTTP] Can't find icon_png_path for app with id: 1240335839
15:08:19.355231418 WARN  | [HTTP] Can't find icon_png_path for app with id: 1100397540
15:08:19.356102510 WARN  | [HTTP] Can't find icon_png_path for app with id: 174667412
15:08:19.359648908 WARN  | [HTTP] Can't find icon_png_path for app with id: 5336710
15:08:19.359983262 WARN  | [HTTP] Can't find icon_png_path for app with id: 2070533139
15:08:19.360632491 WARN  | [HTTP] Can't find icon_png_path for app with id: 393407235
15:08:19.361292830 WARN  | [HTTP] Can't find icon_png_path for app with id: 378473508
15:08:19.364764057 WARN  | [HTTP] Can't find icon_png_path for app with id: 5336710
15:08:19.365320274 WARN  | [HTTP] Can't find icon_png_path for app with id: 2070533139
15:08:19.365921092 WARN  | [HTTP] Can't find icon_png_path for app with id: 393407235
15:08:19.366594872 WARN  | [HTTP] Can't find icon_png_path for app with id: 378473508
15:08:25.133250288 INFO  | RTP server started on port: 48100
15:08:25.133254758 INFO  | RTP server started on port: 48200
0:03:49.046746127     1 0x7f1d58001860 WARN               vaencoder gstvaencoder.c:749:gst_va_encoder_get_prediction_direction:<vaencoder2> Driver does not support query prediction direction
0:03:49.046758217     1 0x7f1d58001860 WARN               vaencoder gstvaencoder.c:838:gst_va_encoder_has_trellis:<vaencoder2> Driver does not support trellis
0:03:49.068722154     1 0x7f1d58001af0 WARN                 basesrc gstbasesrc.c:4255:gst_base_src_push_segment:<interpipesrc_15436284984546023468_video> segment format mismatched, ignore
15:08:25.323909315 INFO  | [DOCKER] Starting container: /WolfSteam_15436284984546023468
15:08:25.401234420 INFO  | Creating PS joypad for controller 0
15:08:25.457072926 WARN  | Unable to get stats of /dev/hidraw16
15:08:25.457142057 INFO  | Requesting accelerometer events for controller 0
15:08:25.457187908 INFO  | Requesting gyroscope events for controller 0
15:08:25.457577043 WARN  | Unable to get stats of /dev/hidraw16
0:03:50.979040865     1 0x7f1d58002010 WARN                 basesrc gstbasesrc.c:4255:gst_base_src_push_segment:<interpipesrc_15436284984546023468_audio> segment format mismatched, ignore
15:08:33.404322473 WARN  | [GSTREAMER] Size of frame too large, 279 packets is bigger than the max (255); skipping FEC
15:08:33.404655547 WARN  | [GSTREAMER] Size of frame too large, 279 packets is bigger than the max (255); skipping FEC
15:08:33.405015262 WARN  | [GSTREAMER] Size of frame too large, 278 packets is bigger than the max (255); skipping FEC
<!-- gh-comment-id:2746265145 --> @danny9484 commented on GitHub (Mar 23, 2025): looks like it does, Steam also sees it as a PS5 Controller. ``` [2025-03-23 15:04:35] [2025-03-23 15:04:35] [ /etc/cont-init.d/10-setup_user.sh: executing... ] [2025-03-23 15:04:35] **** Configure default user **** [2025-03-23 15:04:35] Container running as root. Nothing to do. [2025-03-23 15:04:35] DONE [2025-03-23 15:04:35] [2025-03-23 15:04:35] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] [2025-03-23 15:04:35] **** Configure devices **** [2025-03-23 15:04:35] Exec device groups [2025-03-23 15:04:35] Adding user 'root' to groups: gow-gid-104 [2025-03-23 15:04:35] DONE [2025-03-23 15:04:35] [2025-03-23 15:04:35] [ /etc/cont-init.d/30-nvidia.sh: executing... ] [2025-03-23 15:04:35] [2025-03-23 15:04:35] [ /etc/cont-init.d/init-gamescope.sh: executing... ] [2025-03-23 15:04:35] Launching the container's startup script as user 'root' 0:00:00.007503182 184 0x55ebe845fa00 WARN adaptivedemux2 gstadaptivedemuxelement.c:41:adaptivedemux2_base_element_init: Failed to load libsoup library 0:00:00.007633514 184 0x55ebe845fa00 WARN adaptivedemux2 gstadaptivedemuxelement.c:41:adaptivedemux2_base_element_init: Failed to load libsoup library 0:00:00.007747735 184 0x55ebe845fa00 WARN adaptivedemux2 gstadaptivedemuxelement.c:41:adaptivedemux2_base_element_init: Failed to load libsoup library 0:00:00.099219250 184 0x55ebe845fa00 WARN default ges-meta-container.c:238:_set_value:<GESAsset@0x55ebe8828850> Could not set value on item: format-version 0:00:00.099241931 184 0x55ebe845fa00 WARN default ges-meta-container.c:238:_set_value:<GESAsset@0x55ebe8829080> Could not set value on item: format-version 0:00:00.099251691 184 0x55ebe845fa00 WARN default ges-meta-container.c:238:_set_value:<GESAsset@0x55ebe8829820> Could not set value on item: format-version 0:00:00.099525324 184 0x55ebe845fa00 WARN structure gststructure.c:3369:priv_gst_structure_parse_fields: Failed to find delimiter, r=mimetype 0:00:00.130694629 184 0x55ebe845fa00 WARN cudaloader gstcudaloader.cpp:342:gst_cuda_load_library_once_func: Could not open library libcuda.so.1, libcuda.so.1: cannot open shared object file: No such file or directory 0:00:00.235630767 184 0x55ebe845fa00 WARN vafilter gstvafilter.c:1774:gst_va_filter_has_compose:<vafilter0> VPP does not support alpha blending 0:00:00.261883294 184 0x55ebe845fa00 WARN default gstvaapi.c:232:plugin_init: Cannot create a VA display 0:00:00.295819506 184 0x55ebe845fa00 WARN GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so" failed to initialise 0:00:00.296457365 184 0x55ebe845fa00 WARN GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so" failed to initialise 0:00:00.306199788 1 0x55aa57d87100 WARN GST_REGISTRY gstregistry.c:457:gst_registry_add_plugin:<registry0> Not replacing plugin because new one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so) is blacklisted but for a different location than existing one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so) 0:00:00.301061158 184 0x55ebe845fa00 WARN GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so" failed to initialise 0:00:00.301110798 184 0x55ebe845fa00 WARN GST_PLUGIN_LOADING gstplugin.c:546:gst_plugin_register_func: plugin "/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so" failed to initialise 0:00:00.313319464 1 0x55aa57d87100 WARN GST_REGISTRY gstregistry.c:457:gst_registry_add_plugin:<registry0> Not replacing plugin because new one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatessim.so) is blacklisted but for a different location than existing one (/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so) 15:04:36.476728616 INFO | Gstreamer version: 1.25.0-1 15:04:36.478028514 INFO | Reading config file from: /etc/wolf/cfg/config.toml 0:00:00.333066953 1 0x55aa57d87100 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah264lpenc"! 0:00:00.346967452 1 0x55aa57d87100 WARN vafilter gstvafilter.c:1774:gst_va_filter_has_compose:<vafilter0> VPP does not support alpha blending 15:04:36.508909274 INFO | Using H264 encoder: vaapi 0:00:00.354906641 1 0x55aa57d87100 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah265lpenc"! 15:04:36.514913886 INFO | Using HEVC encoder: vaapi 0:00:00.360906382 1 0x55aa57d87100 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vaav1enc"! 0:00:00.360918842 1 0x55aa57d87100 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vaav1lpenc"! 15:04:36.515311731 INFO | Using AV1 encoder: aom 15:04:36.515320891 WARN | Software AV1 encoder detected 15:04:36.516442797 INFO | Starting API server on /tmp/wolf.sock 15:04:36.516462647 INFO | Starting mDNS service 15:04:36.516610229 INFO | RTSP server started on port: 48010 15:04:36.516624709 INFO | HTTP server listening on port: 47989 15:04:36.516927683 INFO | Control server started on port: 47999 15:04:36.517038385 WARN | [PULSE] Unable to connect, Access denied 15:04:36.517081265 INFO | Starting PulseAudio docker container 15:04:36.517607192 INFO | HTTPS server listening on port: 47984 15:08:19.348512827 WARN | [HTTP] Can't find icon_png_path for app with id: 1100397540 15:08:19.349677642 WARN | [HTTP] Can't find icon_png_path for app with id: 1240335839 15:08:19.349913836 WARN | [HTTP] Can't find icon_png_path for app with id: 1100397540 15:08:19.350549024 WARN | [HTTP] Can't find icon_png_path for app with id: 174667412 15:08:19.354209074 WARN | [HTTP] Can't find icon_png_path for app with id: 1100397540 15:08:19.354501918 WARN | [HTTP] Can't find icon_png_path for app with id: 1240335839 15:08:19.355231418 WARN | [HTTP] Can't find icon_png_path for app with id: 1100397540 15:08:19.356102510 WARN | [HTTP] Can't find icon_png_path for app with id: 174667412 15:08:19.359648908 WARN | [HTTP] Can't find icon_png_path for app with id: 5336710 15:08:19.359983262 WARN | [HTTP] Can't find icon_png_path for app with id: 2070533139 15:08:19.360632491 WARN | [HTTP] Can't find icon_png_path for app with id: 393407235 15:08:19.361292830 WARN | [HTTP] Can't find icon_png_path for app with id: 378473508 15:08:19.364764057 WARN | [HTTP] Can't find icon_png_path for app with id: 5336710 15:08:19.365320274 WARN | [HTTP] Can't find icon_png_path for app with id: 2070533139 15:08:19.365921092 WARN | [HTTP] Can't find icon_png_path for app with id: 393407235 15:08:19.366594872 WARN | [HTTP] Can't find icon_png_path for app with id: 378473508 15:08:25.133250288 INFO | RTP server started on port: 48100 15:08:25.133254758 INFO | RTP server started on port: 48200 0:03:49.046746127 1 0x7f1d58001860 WARN vaencoder gstvaencoder.c:749:gst_va_encoder_get_prediction_direction:<vaencoder2> Driver does not support query prediction direction 0:03:49.046758217 1 0x7f1d58001860 WARN vaencoder gstvaencoder.c:838:gst_va_encoder_has_trellis:<vaencoder2> Driver does not support trellis 0:03:49.068722154 1 0x7f1d58001af0 WARN basesrc gstbasesrc.c:4255:gst_base_src_push_segment:<interpipesrc_15436284984546023468_video> segment format mismatched, ignore 15:08:25.323909315 INFO | [DOCKER] Starting container: /WolfSteam_15436284984546023468 15:08:25.401234420 INFO | Creating PS joypad for controller 0 15:08:25.457072926 WARN | Unable to get stats of /dev/hidraw16 15:08:25.457142057 INFO | Requesting accelerometer events for controller 0 15:08:25.457187908 INFO | Requesting gyroscope events for controller 0 15:08:25.457577043 WARN | Unable to get stats of /dev/hidraw16 0:03:50.979040865 1 0x7f1d58002010 WARN basesrc gstbasesrc.c:4255:gst_base_src_push_segment:<interpipesrc_15436284984546023468_audio> segment format mismatched, ignore 15:08:33.404322473 WARN | [GSTREAMER] Size of frame too large, 279 packets is bigger than the max (255); skipping FEC 15:08:33.404655547 WARN | [GSTREAMER] Size of frame too large, 279 packets is bigger than the max (255); skipping FEC 15:08:33.405015262 WARN | [GSTREAMER] Size of frame too large, 278 packets is bigger than the max (255); skipping FEC ```
Author
Owner

@ABeltramo commented on GitHub (Mar 23, 2025):

Ok, thanks for checking. Is this happening only with the ios Moonlight client? Which version are you using?

<!-- gh-comment-id:2746268517 --> @ABeltramo commented on GitHub (Mar 23, 2025): Ok, thanks for checking. Is this happening only with the ios Moonlight client? Which version are you using?
Author
Owner

@danny9484 commented on GitHub (Mar 23, 2025):

it happens on the ios Moonlight client (9.0.2) and the Linux Client from Flatpak (6.1.0).

<!-- gh-comment-id:2746272246 --> @danny9484 commented on GitHub (Mar 23, 2025): it happens on the ios Moonlight client (9.0.2) and the Linux Client from Flatpak (6.1.0).
Author
Owner

@ABeltramo commented on GitHub (Mar 24, 2025):

On a second look at your logs I've noticed:

WARN  | Unable to get stats of /dev/hidraw16

could it be that you haven't added the mount point /dev/:/dev/:rw in Wolf as specified in the quickstart guide?

<!-- gh-comment-id:2749324020 --> @ABeltramo commented on GitHub (Mar 24, 2025): On a second look at your logs I've noticed: ``` WARN | Unable to get stats of /dev/hidraw16 ``` could it be that you haven't added the mount point `/dev/:/dev/:rw` in Wolf as specified in the [quickstart guide](https://games-on-whales.github.io/wolf/stable/user/quickstart.html)?
Author
Owner

@danny9484 commented on GitHub (Mar 24, 2025):

I had mounted /dev/input. when mounting /dev the warning does go away but it didn't fix the issue with the dualsense.

I also tried to use the exact command from the getting started page, just changing to podman ofc, still same issue.

<!-- gh-comment-id:2749532874 --> @danny9484 commented on GitHub (Mar 24, 2025): I had mounted /dev/input. when mounting /dev the warning does go away but it didn't fix the issue with the dualsense. I also tried to use the exact command from the getting started page, just changing to podman ofc, still same issue.
Author
Owner

@kode54 commented on GitHub (Mar 25, 2025):

I found this was related to the host kernel having an old hid playstation driver. Apparently they changed the button mappings at some point?

Edit: What. A beta OS? Did they break hid playstation in kernel 6.14?

<!-- gh-comment-id:2750330422 --> @kode54 commented on GitHub (Mar 25, 2025): I found this was related to the host kernel having an old hid playstation driver. Apparently they changed the button mappings at some point? Edit: What. A beta OS? Did they break hid playstation in kernel 6.14?
Author
Owner

@ABeltramo commented on GitHub (Mar 26, 2025):

I can't replicate this issue on my end and I fell that @kode54 might be right, which kernel version are you running? I'm on 6.13.8 on Arch and everything seems to work correctly on my end.

I've also updated inputtino to the latest and brought a few tweaks and fixes specifically for the DualSense on https://github.com/games-on-whales/wolf/pull/189 you can try that image out by running

ghcr.io/games-on-whales/wolf:dev-dualsense

(currently building...)

<!-- gh-comment-id:2755381758 --> @ABeltramo commented on GitHub (Mar 26, 2025): I can't replicate this issue on my end and I fell that @kode54 might be right, which kernel version are you running? I'm on `6.13.8` on Arch and everything seems to work correctly on my end. I've also updated `inputtino` to the latest and brought a few tweaks and fixes specifically for the DualSense on https://github.com/games-on-whales/wolf/pull/189 you can try that image out by running ``` ghcr.io/games-on-whales/wolf:dev-dualsense ``` (currently building...)
Author
Owner

@danny9484 commented on GitHub (Mar 26, 2025):

dev-dualsense didn't fix my issue.

I will probably only find time on the weekend to test with Fedora 41 on kernel 6.13. Right now my machine is running kernel 6.14.0 RC7

fyi @ABeltramo dev-dualsense did fix vibration and there seems to be some LED color management to be working. On iOS the default LED color is orange, when I connect with moonlight the LED now changes to blue which is the usual default color of the controller. But in steam I'm unable to find a option to customize the color.

<!-- gh-comment-id:2755777632 --> @danny9484 commented on GitHub (Mar 26, 2025): dev-dualsense didn't fix my issue. I will probably only find time on the weekend to test with Fedora 41 on kernel 6.13. Right now my machine is running kernel 6.14.0 RC7 fyi @ABeltramo dev-dualsense did fix vibration and there seems to be some LED color management to be working. On iOS the default LED color is orange, when I connect with moonlight the LED now changes to blue which is the usual default color of the controller. But in steam I'm unable to find a option to customize the color.
Author
Owner

@ABeltramo commented on GitHub (Mar 26, 2025):

Right now my machine is running kernel 6.14.0 RC7

I'll check if 6.14 broke something once it gets available in Arch, I don't see any specific commit for hid-playstation though..

But in steam I'm unable to find a option to customize the color.

It should be under Calibration & Advanced settings

Image

You should have the following

Image

If you don't, can you check if inside the Steam container (not Wolf) you get /dev/hidraw** mounted? And what are the permissions for it?

<!-- gh-comment-id:2755887417 --> @ABeltramo commented on GitHub (Mar 26, 2025): > Right now my machine is running kernel 6.14.0 RC7 I'll check if 6.14 broke something once it gets available in Arch, I don't see any specific commit for `hid-playstation` though.. > But in steam I'm unable to find a option to customize the color. It should be under `Calibration & Advanced settings` ![Image](https://github.com/user-attachments/assets/d2738682-84c2-4b85-8bf1-a9e914cd6071) You should have the following ![Image](https://github.com/user-attachments/assets/445677c3-f0a8-4b2f-9d0d-824002db7089) If you don't, can you check if inside the Steam container (not Wolf) you get `/dev/hidraw**` mounted? And what are the permissions for it?
Author
Owner

@zexi commented on GitHub (Mar 28, 2025):

I've tested this on debian 12 with 6.12 kernel and archlinux with 6.13.
It's ok with archlinux but wrong mapping with debian.
The controller name showing in steam is 'PS5 Controller' of debian and 'DualSense Wireless Controller' of archlinux.

Image Image

What differences I see from dmesg are hid-generic module using of archlinux.

Image Image
<!-- gh-comment-id:2761025076 --> @zexi commented on GitHub (Mar 28, 2025): I've tested this on debian 12 with 6.12 kernel and archlinux with 6.13. It's ok with archlinux but wrong mapping with debian. The controller name showing in steam is 'PS5 Controller' of debian and 'DualSense Wireless Controller' of archlinux. <img width="1230" alt="Image" src="https://github.com/user-attachments/assets/8355d321-5db9-4a48-8f53-a51299859f86" /> <img width="1249" alt="Image" src="https://github.com/user-attachments/assets/28758f6d-0594-4d7c-9414-26d277c10a75" /> What differences I see from dmesg are hid-generic module using of archlinux. <img width="1720" alt="Image" src="https://github.com/user-attachments/assets/bb35bd26-cf0b-47e4-855d-939c8ea0f26f" /> <img width="1707" alt="Image" src="https://github.com/user-attachments/assets/6cbf2455-e7c8-461d-bdf7-0b9b9c870bf0" />
Author
Owner

@ABeltramo commented on GitHub (Mar 28, 2025):

Thanks for reporting @zexi
Do you consistently get the same mapping mismatch that has been originally reported in this issue when running it in Debian?

Ps button - L3
L3 - R3
R3 - Ps button
left trigger - right thumb horizontal
right trigger - right thumb vertical
right thumb horizontal - left trigger
right thumb vertical - right trigger
cross - square
square - triangle
triangle - circle
circle - cross
<!-- gh-comment-id:2761058443 --> @ABeltramo commented on GitHub (Mar 28, 2025): Thanks for reporting @zexi Do you consistently get the same mapping mismatch that has been originally reported in this issue when running it in Debian? ``` Ps button - L3 L3 - R3 R3 - Ps button left trigger - right thumb horizontal right trigger - right thumb vertical right thumb horizontal - left trigger right thumb vertical - right trigger cross - square square - triangle triangle - circle circle - cross ```
Author
Owner

@Grarak commented on GitHub (Mar 28, 2025):

Thanks for reporting @zexi Do you consistently get the same mapping mismatch that has been originally reported in this issue when running it in Debian?

Ps button - L3
L3 - R3
R3 - Ps button
left trigger - right thumb horizontal
right trigger - right thumb vertical
right thumb horizontal - left trigger
right thumb vertical - right trigger
cross - square
square - triangle
triangle - circle
circle - cross

Have the same problem with ubuntu 24.10 running 6.11.0-21 kernel
With the same consistant mapping mismatch
Ran this in the steam container

root@10062ae253f8:~# ls /dev/hidraw**
/dev/hidraw1
<!-- gh-comment-id:2761226476 --> @Grarak commented on GitHub (Mar 28, 2025): > Thanks for reporting [@zexi](https://github.com/zexi) Do you consistently get the same mapping mismatch that has been originally reported in this issue when running it in Debian? > > ``` > Ps button - L3 > L3 - R3 > R3 - Ps button > left trigger - right thumb horizontal > right trigger - right thumb vertical > right thumb horizontal - left trigger > right thumb vertical - right trigger > cross - square > square - triangle > triangle - circle > circle - cross > ``` Have the same problem with ubuntu 24.10 running 6.11.0-21 kernel With the same consistant mapping mismatch Ran this in the steam container ``` root@10062ae253f8:~# ls /dev/hidraw** /dev/hidraw1 ```
Author
Owner

@danny9484 commented on GitHub (Mar 29, 2025):

I didn't yet revert to fedora 41 but did some more testing. Inside the wolf container I can see the following hidraw devices

root@wolf:/dev# ls hidraw** -l
crw-------  1 root root 241, 0 Mar 29 21:05 hidraw0
crw-------  1 root root 241, 1 Mar 29 21:05 hidraw1
crw-------  1 root root 241, 2 Mar 29 21:05 hidraw2
crw-------  1 root root 241, 3 Mar 29 21:05 hidraw3
crw-------  1 root root 241, 4 Mar 29 21:05 hidraw4
crw-------  1 root root 241, 5 Mar 29 21:05 hidraw5
crw-rw----+ 1 root root 241, 6 Mar 29 21:05 hidraw6
crw-rw----+ 1 root root 241, 7 Mar 29 21:05 hidraw7
crw-rw----+ 1 root root 241, 8 Mar 29 21:30 hidraw8

hidraw8 is the controller, I can also read it with cat for example. I have tried the same with the steam container

root@77d4bf4b9ff0:/dev# ls hidraw** -l
crwxrwxrwx 1 root root 241, 8 Mar 29 21:30 hidraw8

but cat fails on hidraw8 in the steam container

root@77d4bf4b9ff0:/dev# cat hidraw8 
cat: hidraw8: Operation not permitted

I have also tested the virtual device inside the steam controller with evtest where for example the cross button reports BTN_SOUTH which sounds correct to me.

root@77d4bf4b9ff0:/dev/input# evtest event21
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x54c product 0xce6 version 0x8111
Input device name: "Wolf DualSense (virtual) pad"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 304 (BTN_SOUTH)
    Event code 305 (BTN_EAST)
    Event code 307 (BTN_NORTH)
    Event code 308 (BTN_WEST)
    Event code 310 (BTN_TL)
    Event code 311 (BTN_TR)
    Event code 312 (BTN_TL2)
    Event code 313 (BTN_TR2)
    Event code 314 (BTN_SELECT)
    Event code 315 (BTN_START)
    Event code 316 (BTN_MODE)
    Event code 317 (BTN_THUMBL)
    Event code 318 (BTN_THUMBR)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value    128
      Min        0
      Max      255
    Event code 1 (ABS_Y)
      Value    128
      Min        0
      Max      255
    Event code 2 (ABS_Z)
      Value      0
      Min        0
      Max      255
    Event code 3 (ABS_RX)
      Value    128
      Min        0
      Max      255
    Event code 4 (ABS_RY)
      Value    128
      Min        0
      Max      255
    Event code 5 (ABS_RZ)
      Value      0
      Min        0
      Max      255
    Event code 16 (ABS_HAT0X)
      Value      0
      Min       -1
      Max        1
    Event code 17 (ABS_HAT0Y)
      Value      0
      Min       -1
      Max        1
  Event type 21 (EV_FF)
    Event code 80 (FF_RUMBLE)
    Event code 81 (FF_PERIODIC)
    Event code 88 (FF_SQUARE)
    Event code 89 (FF_TRIANGLE)
    Event code 90 (FF_SINE)
    Event code 96 (FF_GAIN)
Properties:
Testing ... (interrupt to exit)
Event: time 1743284184.510700, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 1
Event: time 1743284184.510700, -------------- SYN_REPORT ------------
Event: time 1743284184.668522, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 0
Event: time 1743284184.668522, -------------- SYN_REPORT ------------

just as @zexi mentioned my controller is also recognized as PS5 Controller by steam, but I also see the hid-generic line in my dmesg

[   37.020286] hid-generic 0005:054C:0CE6.0009: input,hidraw8: BLUETOOTH HID v81.11 Gamepad [Wolf DualSense (virtual) pad] on 5f:e1:31:a5:cb:19
[   37.050107] playstation 0005:054C:0CE6.0009: hidraw8: BLUETOOTH HID v81.11 Gamepad [Wolf DualSense (virtual) pad] on 5f:e1:31:a5:cb:19
[   37.050218] input: Wolf DualSense (virtual) pad as /devices/virtual/misc/uhid/0005:054C:0CE6.0009/input/input22
[   37.050323] input: Wolf DualSense (virtual) pad Motion Sensors as /devices/virtual/misc/uhid/0005:054C:0CE6.0009/input/input23
[   37.050422] input: Wolf DualSense (virtual) pad Touchpad as /devices/virtual/misc/uhid/0005:054C:0CE6.0009/input/input24
[   37.050653] playstation 0005:054C:0CE6.0009: Registered DualSense controller hw_version=0x01000208 fw_version=0x01000036
<!-- gh-comment-id:2764253643 --> @danny9484 commented on GitHub (Mar 29, 2025): I didn't yet revert to fedora 41 but did some more testing. Inside the wolf container I can see the following hidraw devices ``` root@wolf:/dev# ls hidraw** -l crw------- 1 root root 241, 0 Mar 29 21:05 hidraw0 crw------- 1 root root 241, 1 Mar 29 21:05 hidraw1 crw------- 1 root root 241, 2 Mar 29 21:05 hidraw2 crw------- 1 root root 241, 3 Mar 29 21:05 hidraw3 crw------- 1 root root 241, 4 Mar 29 21:05 hidraw4 crw------- 1 root root 241, 5 Mar 29 21:05 hidraw5 crw-rw----+ 1 root root 241, 6 Mar 29 21:05 hidraw6 crw-rw----+ 1 root root 241, 7 Mar 29 21:05 hidraw7 crw-rw----+ 1 root root 241, 8 Mar 29 21:30 hidraw8 ``` hidraw8 is the controller, I can also read it with cat for example. I have tried the same with the steam container ``` root@77d4bf4b9ff0:/dev# ls hidraw** -l crwxrwxrwx 1 root root 241, 8 Mar 29 21:30 hidraw8 ``` but cat fails on hidraw8 in the steam container ``` root@77d4bf4b9ff0:/dev# cat hidraw8 cat: hidraw8: Operation not permitted ``` I have also tested the virtual device inside the steam controller with evtest where for example the cross button reports BTN_SOUTH which sounds correct to me. ``` root@77d4bf4b9ff0:/dev/input# evtest event21 Input driver version is 1.0.1 Input device ID: bus 0x5 vendor 0x54c product 0xce6 version 0x8111 Input device name: "Wolf DualSense (virtual) pad" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 304 (BTN_SOUTH) Event code 305 (BTN_EAST) Event code 307 (BTN_NORTH) Event code 308 (BTN_WEST) Event code 310 (BTN_TL) Event code 311 (BTN_TR) Event code 312 (BTN_TL2) Event code 313 (BTN_TR2) Event code 314 (BTN_SELECT) Event code 315 (BTN_START) Event code 316 (BTN_MODE) Event code 317 (BTN_THUMBL) Event code 318 (BTN_THUMBR) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 128 Min 0 Max 255 Event code 1 (ABS_Y) Value 128 Min 0 Max 255 Event code 2 (ABS_Z) Value 0 Min 0 Max 255 Event code 3 (ABS_RX) Value 128 Min 0 Max 255 Event code 4 (ABS_RY) Value 128 Min 0 Max 255 Event code 5 (ABS_RZ) Value 0 Min 0 Max 255 Event code 16 (ABS_HAT0X) Value 0 Min -1 Max 1 Event code 17 (ABS_HAT0Y) Value 0 Min -1 Max 1 Event type 21 (EV_FF) Event code 80 (FF_RUMBLE) Event code 81 (FF_PERIODIC) Event code 88 (FF_SQUARE) Event code 89 (FF_TRIANGLE) Event code 90 (FF_SINE) Event code 96 (FF_GAIN) Properties: Testing ... (interrupt to exit) Event: time 1743284184.510700, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 1 Event: time 1743284184.510700, -------------- SYN_REPORT ------------ Event: time 1743284184.668522, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 0 Event: time 1743284184.668522, -------------- SYN_REPORT ------------ ``` just as @zexi mentioned my controller is also recognized as PS5 Controller by steam, but I also see the hid-generic line in my dmesg ``` [ 37.020286] hid-generic 0005:054C:0CE6.0009: input,hidraw8: BLUETOOTH HID v81.11 Gamepad [Wolf DualSense (virtual) pad] on 5f:e1:31:a5:cb:19 [ 37.050107] playstation 0005:054C:0CE6.0009: hidraw8: BLUETOOTH HID v81.11 Gamepad [Wolf DualSense (virtual) pad] on 5f:e1:31:a5:cb:19 [ 37.050218] input: Wolf DualSense (virtual) pad as /devices/virtual/misc/uhid/0005:054C:0CE6.0009/input/input22 [ 37.050323] input: Wolf DualSense (virtual) pad Motion Sensors as /devices/virtual/misc/uhid/0005:054C:0CE6.0009/input/input23 [ 37.050422] input: Wolf DualSense (virtual) pad Touchpad as /devices/virtual/misc/uhid/0005:054C:0CE6.0009/input/input24 [ 37.050653] playstation 0005:054C:0CE6.0009: Registered DualSense controller hw_version=0x01000208 fw_version=0x01000036 ```
Author
Owner

@ABeltramo commented on GitHub (Apr 1, 2025):

@danny9484 @Grarak @zexi thanks all for reporting, after booting up a clean Debian installation I was finally able to reproduce the issue. I've just pushed a potential fix, could you guys try out

ghcr.io/games-on-whales/wolf:dev-hidraw-fix

and let me know if that fixes it for you too?

<!-- gh-comment-id:2770350498 --> @ABeltramo commented on GitHub (Apr 1, 2025): @danny9484 @Grarak @zexi thanks all for reporting, after booting up a clean Debian installation I was finally able to reproduce the issue. I've just pushed a potential fix, could you guys try out ``` ghcr.io/games-on-whales/wolf:dev-hidraw-fix ``` and let me know if that fixes it for you too?
Author
Owner

@Grarak commented on GitHub (Apr 1, 2025):

@danny9484 @Grarak @zexi thanks all for reporting, after booting up a clean Debian installation I was finally able to reproduce the issue. I've just pushed a potential fix, could you guys try out

ghcr.io/games-on-whales/wolf:dev-hidraw-fix

and let me know if that fixes it for you too?

Yes works now! Thanks for the quick fix

<!-- gh-comment-id:2770488659 --> @Grarak commented on GitHub (Apr 1, 2025): > [@danny9484](https://github.com/danny9484) [@Grarak](https://github.com/Grarak) [@zexi](https://github.com/zexi) thanks all for reporting, after booting up a clean Debian installation I was finally able to reproduce the issue. I've just pushed a potential fix, could you guys try out > > ``` > ghcr.io/games-on-whales/wolf:dev-hidraw-fix > ``` > > and let me know if that fixes it for you too? Yes works now! Thanks for the quick fix
Author
Owner

@danny9484 commented on GitHub (Apr 1, 2025):

yes I can also confirm that it works now. LED controls work inside steam too

thank you very much :D

<!-- gh-comment-id:2770584609 --> @danny9484 commented on GitHub (Apr 1, 2025): yes I can also confirm that it works now. LED controls work inside steam too thank you very much :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#124
No description provided.