u1901
Participant
Post count: 6

Hum, right, I misspelled the path, it is /etc/udev/rules.d/ (and I named the file 99-joystick.rules), but anyway your rule is not being applied (or the command you used to check is not showing this property, are you sure about the “-a” option vs “–query=all” ?) ; you should have an output like this :


pi@raspberrypi ~ $ sudo udevadm info --query=all --name=input/event6
P: /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/bluetooth/hci0/hci0:71/0005:057E:0306.0005/input/input4/event6
N: input/event6
E: BACKSPACE=guess
E: DEVNAME=/dev/input/event6
E: DEVPATH=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/bluetooth/hci0/hci0:71/0005:057E:0306.0005/input/input4/event6
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_INPUT_KEY=1
E: MAJOR=13
E: MINOR=70
E: SUBSYSTEM=input
E: UDEV_LOG=3
E: USEC_INITIALIZED=407332809
E: XKBLAYOUT=fr
E: XKBMODEL=pc105

If you still don’t have it, maybe some rights problems on the file ? Have you reloaded udev/restarted the Pi after touching the udev rules ?
But like I said, if SDL2.0.1 is used, this will not even solve your problem, you’ll need a modified hid-wiimote module (I have a precompiled one assuming it’s still the same kernel version).