I'm having trouble getting a wiimote to run.
First I have tried one of the clones (Motion 2 Plus) with my builtin bluetooth adapter (which did'nt work).
Then I bought the dolphin bar which didn't work either.
Now I've got an original Wiimote Motion Plus which doesn't work again.
I'm sure that my Wiimote is connected to the dolphin-bar because the modes 1-3 do work and I can control (pretty shaky) the mousepointer with it.
But in Mode 4 dolphin doesn't find the wiimote.
"A supported Bluetooth device could not be found. You must manually connect your Wiimotes."
The relevant kernel messages: (minus messages from mtp and upowerd and xfce.Filemanager)
Feb 11 11:14:16 io3 kernel: [55949.328904] usb 1-5: new full-speed USB device number 32 using xhci_hcd
Feb 11 11:14:16 io3 kernel: [55949.481484] usb 1-5: New USB device found, idVendor=057e, idProduct=0306
Feb 11 11:14:16 io3 kernel: [55949.481488] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 11 11:14:16 io3 kernel: [55949.481492] usb 1-5: Product: Mayflash Wiimote PC Adapter
Feb 11 11:14:16 io3 kernel: [55949.481494] usb 1-5: Manufacturer: HJZ
Feb 11 11:14:16 io3 kernel: [55949.487133] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.0038/input/input85
Feb 11 11:14:16 io3 kernel: [55949.487363] hid-generic 0003:057E:0306.0038: input,hidraw4: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input0
Feb 11 11:14:16 io3 kernel: [55949.491386] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0039/input/input86
Feb 11 11:14:16 io3 kernel: [55949.491616] hid-generic 0003:057E:0306.0039: input,hidraw5: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input1
Feb 11 11:14:16 io3 kernel: [55949.495590] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.003A/input/input87
Feb 11 11:14:16 io3 kernel: [55949.495811] hid-generic 0003:057E:0306.003A: input,hidraw6: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input2
Feb 11 11:14:16 io3 kernel: [55949.499799] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.003B/input/input88
Feb 11 11:14:16 io3 kernel: [55949.500008] hid-generic 0003:057E:0306.003B: input,hidraw7: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input3
The output of udevadm monitor when switching to mode 4:
KERNEL[62519.499690] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/event17 (input)
UDEV [62519.505449] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/event17 (input)
KERNEL[62519.516177] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/js0 (input)
UDEV [62519.518496] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/js0 (input)
KERNEL[62519.540378] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91 (input)
KERNEL[62519.540453] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/event18 (input)
UDEV [62519.544734] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91 (input)
UDEV [62519.546269] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/event18 (input)
KERNEL[62519.576254] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/js1 (input)
UDEV [62519.578055] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/js1 (input)
KERNEL[62519.608152] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92 (input)
KERNEL[62519.608174] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/event19 (input)
UDEV [62519.609266] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92 (input)
UDEV [62519.609927] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/event19 (input)
KERNEL[62519.636263] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/js2 (input)
UDEV [62519.637837] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/js2 (input)
KERNEL[62519.668528] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93 (input)
KERNEL[62519.668627] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/event20 (input)
UDEV [62519.672731] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93 (input)
UDEV [62519.673962] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/event20 (input)
KERNEL[62519.700593] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/js3 (input)
UDEV [62519.705024] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/js3 (input)
KERNEL[62519.736487] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94 (input)
KERNEL[62519.736561] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/hidraw/hidraw4 (hidraw)
KERNEL[62519.736626] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
KERNEL[62519.736696] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
KERNEL[62519.736773] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62519.736843] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62519.738015] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62519.738099] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.740649] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94 (input)
UDEV [62519.741288] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/hidraw/hidraw4 (hidraw)
UDEV [62519.743561] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.745464] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.747828] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.750218] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.884957] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.897855] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.404247] add /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.405307] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408274] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408363] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95 (input)
KERNEL[62520.408445] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95/event17 (input)
KERNEL[62520.408460] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/hidraw/hidraw4 (hidraw)
KERNEL[62520.408474] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408489] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408505] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
KERNEL[62519.738099] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.740649] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94 (input)
UDEV [62519.741288] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/hidraw/hidraw4 (hidraw)
UDEV [62519.743561] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.745464] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.747828] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.750218] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.884957] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.897855] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.404247] add /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.405307] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408274] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408363] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95 (input)
KERNEL[62520.408445] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95/event17 (input)
KERNEL[62520.408460] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/hidraw/hidraw4 (hidraw)
KERNEL[62520.408474] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408489] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408505] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
KERNEL[62520.411367] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
KERNEL[62520.411480] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96 (input)
KERNEL[62520.411502] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96/event18 (input)
KERNEL[62520.411527] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/hidraw/hidraw5 (hidraw)
KERNEL[62520.411542] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
KERNEL[62520.411558] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
KERNEL[62520.411573] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
KERNEL[62520.414549] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
KERNEL[62520.414648] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97 (input)
KERNEL[62520.414665] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97/event19 (input)
KERNEL[62520.414678] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/hidraw/hidraw6 (hidraw)
KERNEL[62520.414694] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
KERNEL[62520.414710] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
KERNEL[62520.414725] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
KERNEL[62520.417567] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
KERNEL[62520.417681] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98 (input)
KERNEL[62520.417709] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98/event20 (input)
KERNEL[62520.417732] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/hidraw/hidraw7 (hidraw)
KERNEL[62520.417749] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
KERNEL[62520.417765] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
KERNEL[62520.417785] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62520.426769] add /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62520.428211] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62520.429079] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
UDEV [62520.429370] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
UDEV [62520.429448] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
UDEV [62520.429483] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
UDEV [62520.430315] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
UDEV [62520.431030] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
UDEV [62520.431061] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
UDEV [62520.432160] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95 (input)
UDEV [62520.432623] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/hidraw/hidraw4 (hidraw)
UDEV [62520.433059] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/hidraw/hidraw5 (hidraw)
UDEV [62520.433109] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96 (input)
UDEV [62520.433718] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97 (input)
UDEV [62520.434709] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98 (input)
UDEV [62520.435174] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/hidraw/hidraw6 (hidraw)
UDEV [62520.435885] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/hidraw/hidraw7 (hidraw)
UDEV [62520.526800] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95/event17 (input)
UDEV [62520.527829] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
UDEV [62520.528884] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62520.530903] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96/event18 (input)
UDEV [62520.531632] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
UDEV [62520.532490] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
UDEV [62520.550599] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98/event20 (input)
UDEV [62520.551330] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
UDEV [62520.552264] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
UDEV [62520.562917] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97/event19 (input)
UDEV [62520.563712] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
UDEV [62520.564603] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
UDEV [62520.565760] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
My udev rule (tried combinations of both):
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", MODE="0666"
this results in this hidraw devices:
crw------- 1 root root 244, 0 Feb 11 13:07 hidraw0
crw------- 1 root root 244, 1 Feb 11 13:07 hidraw1
crw------- 1 root root 244, 2 Feb 11 13:07 hidraw2
crw------- 1 root root 244, 3 Feb 11 13:07 hidraw3
crw-rw-rw-+ 1 root root 244, 4 Feb 11 13:12 hidraw4
crw-rw-rw-+ 1 root root 244, 5 Feb 11 13:12 hidraw5
crw-rw-rw-+ 1 root root 244, 6 Feb 11 13:12 hidraw6
crw-rw-rw-+ 1 root root 244, 7 Feb 11 13:12 hidraw7
Thanks a lot
First I have tried one of the clones (Motion 2 Plus) with my builtin bluetooth adapter (which did'nt work).
Then I bought the dolphin bar which didn't work either.
Now I've got an original Wiimote Motion Plus which doesn't work again.
I'm sure that my Wiimote is connected to the dolphin-bar because the modes 1-3 do work and I can control (pretty shaky) the mousepointer with it.
But in Mode 4 dolphin doesn't find the wiimote.
"A supported Bluetooth device could not be found. You must manually connect your Wiimotes."
The relevant kernel messages: (minus messages from mtp and upowerd and xfce.Filemanager)
Feb 11 11:14:16 io3 kernel: [55949.328904] usb 1-5: new full-speed USB device number 32 using xhci_hcd
Feb 11 11:14:16 io3 kernel: [55949.481484] usb 1-5: New USB device found, idVendor=057e, idProduct=0306
Feb 11 11:14:16 io3 kernel: [55949.481488] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 11 11:14:16 io3 kernel: [55949.481492] usb 1-5: Product: Mayflash Wiimote PC Adapter
Feb 11 11:14:16 io3 kernel: [55949.481494] usb 1-5: Manufacturer: HJZ
Feb 11 11:14:16 io3 kernel: [55949.487133] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.0038/input/input85
Feb 11 11:14:16 io3 kernel: [55949.487363] hid-generic 0003:057E:0306.0038: input,hidraw4: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input0
Feb 11 11:14:16 io3 kernel: [55949.491386] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0039/input/input86
Feb 11 11:14:16 io3 kernel: [55949.491616] hid-generic 0003:057E:0306.0039: input,hidraw5: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input1
Feb 11 11:14:16 io3 kernel: [55949.495590] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.003A/input/input87
Feb 11 11:14:16 io3 kernel: [55949.495811] hid-generic 0003:057E:0306.003A: input,hidraw6: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input2
Feb 11 11:14:16 io3 kernel: [55949.499799] input: HJZ Mayflash Wiimote PC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.003B/input/input88
Feb 11 11:14:16 io3 kernel: [55949.500008] hid-generic 0003:057E:0306.003B: input,hidraw7: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-5/input3
The output of udevadm monitor when switching to mode 4:
KERNEL[62519.499690] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/event17 (input)
UDEV [62519.505449] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/event17 (input)
KERNEL[62519.516177] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/js0 (input)
UDEV [62519.518496] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91/js0 (input)
KERNEL[62519.540378] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91 (input)
KERNEL[62519.540453] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/event18 (input)
UDEV [62519.544734] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input91 (input)
UDEV [62519.546269] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/event18 (input)
KERNEL[62519.576254] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/js1 (input)
UDEV [62519.578055] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92/js1 (input)
KERNEL[62519.608152] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92 (input)
KERNEL[62519.608174] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/event19 (input)
UDEV [62519.609266] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input92 (input)
UDEV [62519.609927] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/event19 (input)
KERNEL[62519.636263] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/js2 (input)
UDEV [62519.637837] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93/js2 (input)
KERNEL[62519.668528] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93 (input)
KERNEL[62519.668627] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/event20 (input)
UDEV [62519.672731] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input93 (input)
UDEV [62519.673962] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/event20 (input)
KERNEL[62519.700593] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/js3 (input)
UDEV [62519.705024] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94/js3 (input)
KERNEL[62519.736487] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94 (input)
KERNEL[62519.736561] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/hidraw/hidraw4 (hidraw)
KERNEL[62519.736626] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
KERNEL[62519.736696] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
KERNEL[62519.736773] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62519.736843] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62519.738015] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62519.738099] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.740649] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94 (input)
UDEV [62519.741288] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/hidraw/hidraw4 (hidraw)
UDEV [62519.743561] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.745464] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.747828] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.750218] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.884957] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.897855] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.404247] add /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.405307] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408274] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408363] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95 (input)
KERNEL[62520.408445] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95/event17 (input)
KERNEL[62520.408460] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/hidraw/hidraw4 (hidraw)
KERNEL[62520.408474] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408489] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408505] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
KERNEL[62519.738099] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.740649] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/input/input94 (input)
UDEV [62519.741288] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E/hidraw/hidraw4 (hidraw)
UDEV [62519.743561] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.745464] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0079:1803.003E (hid)
UDEV [62519.747828] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.750218] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62519.884957] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62519.897855] remove /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.404247] add /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[62520.405307] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408274] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408363] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95 (input)
KERNEL[62520.408445] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95/event17 (input)
KERNEL[62520.408460] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/hidraw/hidraw4 (hidraw)
KERNEL[62520.408474] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
KERNEL[62520.408489] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[62520.408505] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
KERNEL[62520.411367] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
KERNEL[62520.411480] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96 (input)
KERNEL[62520.411502] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96/event18 (input)
KERNEL[62520.411527] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/hidraw/hidraw5 (hidraw)
KERNEL[62520.411542] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
KERNEL[62520.411558] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
KERNEL[62520.411573] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
KERNEL[62520.414549] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
KERNEL[62520.414648] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97 (input)
KERNEL[62520.414665] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97/event19 (input)
KERNEL[62520.414678] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/hidraw/hidraw6 (hidraw)
KERNEL[62520.414694] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
KERNEL[62520.414710] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
KERNEL[62520.414725] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
KERNEL[62520.417567] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
KERNEL[62520.417681] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98 (input)
KERNEL[62520.417709] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98/event20 (input)
KERNEL[62520.417732] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/hidraw/hidraw7 (hidraw)
KERNEL[62520.417749] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
KERNEL[62520.417765] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
KERNEL[62520.417785] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62520.426769] add /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV [62520.428211] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62520.429079] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
UDEV [62520.429370] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
UDEV [62520.429448] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
UDEV [62520.429483] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
UDEV [62520.430315] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
UDEV [62520.431030] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
UDEV [62520.431061] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
UDEV [62520.432160] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95 (input)
UDEV [62520.432623] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/hidraw/hidraw4 (hidraw)
UDEV [62520.433059] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/hidraw/hidraw5 (hidraw)
UDEV [62520.433109] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96 (input)
UDEV [62520.433718] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97 (input)
UDEV [62520.434709] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98 (input)
UDEV [62520.435174] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/hidraw/hidraw6 (hidraw)
UDEV [62520.435885] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/hidraw/hidraw7 (hidraw)
UDEV [62520.526800] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F/input/input95/event17 (input)
UDEV [62520.527829] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:057E:0306.003F (hid)
UDEV [62520.528884] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV [62520.530903] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040/input/input96/event18 (input)
UDEV [62520.531632] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:057E:0306.0040 (hid)
UDEV [62520.532490] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 (usb)
UDEV [62520.550599] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042/input/input98/event20 (input)
UDEV [62520.551330] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:057E:0306.0042 (hid)
UDEV [62520.552264] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 (usb)
UDEV [62520.562917] add /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041/input/input97/event19 (input)
UDEV [62520.563712] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:057E:0306.0041 (hid)
UDEV [62520.564603] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 (usb)
UDEV [62520.565760] bind /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
My udev rule (tried combinations of both):
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", MODE="0666"
this results in this hidraw devices:
crw------- 1 root root 244, 0 Feb 11 13:07 hidraw0
crw------- 1 root root 244, 1 Feb 11 13:07 hidraw1
crw------- 1 root root 244, 2 Feb 11 13:07 hidraw2
crw------- 1 root root 244, 3 Feb 11 13:07 hidraw3
crw-rw-rw-+ 1 root root 244, 4 Feb 11 13:12 hidraw4
crw-rw-rw-+ 1 root root 244, 5 Feb 11 13:12 hidraw5
crw-rw-rw-+ 1 root root 244, 6 Feb 11 13:12 hidraw6
crw-rw-rw-+ 1 root root 244, 7 Feb 11 13:12 hidraw7
Thanks a lot