Bug 5949

Summary: Rosa Detects Wii Remotes incorrectly in Rosa 2014.1
Product: [ROSA-based products] ROSA Fresh Reporter: Zombie Ryushu <zombie.ryushu>
Component: Hardware-specific, driversAssignee: Groups for solving hardware issues. <group-hardware>
Status: CONFIRMED --- QA Contact: Evgenii Shatokhin <eugene.shatokhin>
Severity: normal    
Priority: Normal CC: a.lahin, denis.silakov
Version: Fresh   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: udev ISO-related:
Bad POT generating: Upstream:

Description Zombie Ryushu 2015-07-16 01:37:36 MSK
The udev rules for Wii Remotes makes Wii remotes appear to be a mixture of Keyboard and Game pad, with no use of the IR Sensor or Accellerometers. This is due to bad udev rules.  Please add working udev rules to permit Wiimotes to use their IR Sensor as an Analogue Joypad Axis. Addditional Information is

https://github.com/Oblomov/wiimote-pad
Comment 1 Evgenii Shatokhin 2015-07-16 12:18:48 MSK
As it is for most of the hardware-related bugs, please upload the hardware info and the logs from that system to us using hw-probe. Better - when that Wii remote is used there.

Besides the incorrect udev rules, there may be other problems there, so it is better to see them as early as possible.
Comment 2 Zombie Ryushu 2015-07-16 12:22:45 MSK
The IR Sensor and Accellerometers do show up in dmesg as event devices, I'll have to setup a test to show dmesg output.
Comment 3 Zombie Ryushu 2015-07-16 12:28:50 MSK
2084305.960170] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[2084305.960194] Bluetooth: HIDP socket layer initialized
[2084308.358288] wiimote 0005:057E:0306.0002: unknown main item tag 0x0
[2084308.358427] wiimote 0005:057E:0306.0002: hidraw1: BLUETOOTH HID v6.00 Gamepad [Nintendo RVL-CNT-01] on 00:1a:7d:da:71:13
[2084308.358438] wiimote 0005:057E:0306.0002: New device registered
[2084308.375759] wiimote 0005:057E:0306.0002: detected device: Nintendo Wii Remote (Gen 1)
[2084308.395051] input: Nintendo Wii Remote Accelerometer as /devices/pci0000:00/0000:00:12.2/usb7/7-1/7-1.4/7-1.4:1.0/bluetooth/hci0/hci0:70/0005:057E:0306.0002/input/input16
[2084308.396208] input: Nintendo Wii Remote IR as /devices/pci0000:00/0000:00:12.2/usb7/7-1/7-1.4/7-1.4:1.0/bluetooth/hci0/hci0:70/0005:057E:0306.0002/input/input17
[2084308.396564] input: Nintendo Wii Remote as /devices/pci0000:00/0000:00:12.2/usb7/7-1/7-1.4/7-1.4:1.0/bluetooth/hci0/hci0:70/0005:057E:0306.0002/input/input15

With it paired like this, I can use the arrow keys and A button as a Space Bar. Face butons act as Joypad buttons.
Comment 4 Zombie Ryushu 2015-07-16 12:30:38 MSK
Driver version is 2.1.0.
Joystick (Nintendo Wii Remote) has 0 axes ()
and 7 buttons (BtnX, BtnY, ?, (null), (null), Btn1, Btn2).
Testing ... (interrupt to exit)

JSTest says this device has no Axes. But it should have two Analogue Axes for Accellerometers and IR Sensors.
Comment 5 Zombie Ryushu 2015-07-17 10:36:54 MSK
http://hw.rosalinux.ru/index.php?probe=5a40921970 Here is the results of your Probe request. Ignore what it says about Rosa 2012.1, its an upgrade system and they sometimes report wrong version numbers.
Comment 6 Zombie Ryushu 2015-07-17 10:39:30 MSK
http://hw.rosalinux.ru/index.php?probe=0942ac94b9 I gave you one without the Wiimote Paired by mistake. Here is the real Probe results with the Wiimote Paired.