Creating a udev rule

I have a pro controller i want to use with YUZU but motion controls don’t work. I found someone having a similar problem (https://github.com/yuzu-emu/yuzu/issues/10191)but i don’t understand their solution.

Their solution was to create a udev rule
HIDAPI is needed to get motion input, create the following udev rule:
KERNEL==“hidraw*”, SUBSYSTEM==“hidraw”, MODE=“0664”, GROUP=“plugdev”
Make sure that you’re in plugdev group and add yourself to it if you aren’t. Reboot once you’re done.

@Tulakor
You are so close to the solution.

  1. You can write custom rules files in the /etc/udev/rules.d/ directory (files should end with the .rules extension) to process a device.
    as it is written here
  2. https://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/
2 Likes

Ive added myself to plugdev group and made
yuzu.rules
KERNEL==“hidraw*”
SUBSYSTEM==“hidraw”
MODE=“0664”
GROUP=“plugdev”
Then rebooted

yet i does not work. i know for a fact that it can work becuase i was able to use the controller on a previous installation EndeavorOS

Sorry to ask and write stupid things. I read somewhere that a similar line produces the data to be used in rules file
udevadm info -a -p $(udevadm info -q path -n /dev/hidraw)
I would follow defining the rule in one line, exactly as in the example (, space).
udevadm monitor
shows nothing?

(or create a test system with LTS kernel or with another arch based system like Mabox)

that solution did not work but yay -S nintendo-udev worked

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.