Skip to content

8bitdo Ultimate 2 controller directinput udev rules #64

@rnanua95

Description

@rnanua95

Your system information

  • Steam client version (build number or date): 1751317518. Steam package version: 1.0.0.82-2
  • Distribution (e.g. Ubuntu): Arch linux
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz These logs are probably irrelevant for this issue, but just in case
  • GPU: AMD
  • Controller: 8bitdo Ultimate 2 wireless

Please describe your issue in as much detail as possible:

I attempted using my controller with steam input in direct input mode. This allows me to use gyro and extended buttons in Windows, but not in Linux nor on my Steam Deck. Using SDL testcontroller sample, I saw the following logs and determined that required hidraw permissions are missing for gyro and extended buttons:

Using udev for HIDAPI joystick device discovery
Using udev for joystick device discovery
Gamepad 5 added
Opened gamepad 8BitDo Ultimate 2 Wireless Controller, guid 0300f6b6c82d00000b31000014010000, /dev/input/event23
Rumble supported
Player index: 0
Mapping: 0300f6b6c82d00000b31000014010000,8BitDo Ultimate 2 Wireless Controller,a:b0,b:b1,x:b2,y:b3,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,platform:Linux,
Gamepad 5 removed
HIDAPI_SetupDeviceDriver() couldn't open /dev/hidraw2: Failed to open a device with path '/dev/hidraw2': Permission denied
Added HIDAPI device '8BitDo Ultimate 2 Wireless Controller for PC' VID 0x2dc8, PID 0x6012, bluetooth 0, version 1, serial 25F99EA466, interface 0, interface_class 0, interface_subclass 0, interface_protocol 0, usage page 0x0001, usage 0x0005, path = /dev/hidraw2, driver = NONE (DISABLED)
Gamepad 6 added
Opened gamepad 8BitDo Ultimate 2 Wireless Controller for PC, guid 0300b5cdc82d00001260000011010000, /dev/input/event21
Player index: 0
Mapping: 0300b5cdc82d00001260000011010000,8BitDo Ultimate 2 Wireless Controller for PC,a:b0,b:b1,x:b3,y:b4,back:b10,guide:b12,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4,platform:Linux,

I was able to fix the issue by adding this udev rule corresponding to 8bitdo Ultimate 2 under direct input mode:

KERNEL=="hidraw*", ATTRS{idVendor}=="2dc8", ATTRS{idProduct}=="6012", MODE="0660", TAG+="uaccess"

Steps for reproducing this issue:

  1. Using 8bitdo Ultimate 2 wireless controller
  2. Update controller and wireless adapter firmware to latest version with 8bitdo Ultimate software v2 in Windows
  3. Connect controller in Linux using direct input mode. Shut down the controller by holding home button, and start it by holding both home and B button. This connects the controller with direct input
  4. Configure steam input in any game and observe that extended buttons and gyro functionality is not present

Could this rule or something similar please be added to allow gyro and extended buttons in this controller in Steam package and SteamOS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions