Hi Giuseppe On Sun, Jun 3, 2012 at 12:26 PM, Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> wrote: > Hello, > > I've recently started playing around with the new HID Wiimote driver, > and found out that the joystick device associated with the remote > reports no axes and 7 buttons (even in the latest linux git). You cannot use the joystick device with the Wii Remote driver. The Wii Remote driver supports power management and this is only possible by splitting the input data across multiple input-devices. We also need multiple input devices because the Wii Remote reports more ABS data than we could send via a single device. > I believe that the reason for this is that the joystick is created for > the "Nintendo Wii Remote" device, but the actual axis information is > passed on by the "Nintendo Wii Remote Accelerometer" device. I would > have loved to provide a patch to fix this, but I can't grasp correctly > how the joystick device creation is delegated from hid. Why do you want to fix this? The Wii Remote provides accelerometer data. Does the joystick interface really need accelerometer data? Please also see here for more details on the Wii Remote kernel driver (INTERFACE/INTERFACE_SYSFS/INTERFACE_INPUT): https://github.com/dvdhrm/xwiimote/tree/master/doc If you want to extend the Wii Remote interface, I am open for suggestions but I haven't found a proper way to report the data to user-space so I let user-space handle the parsed device data. > -- > Giuseppe "Oblomov" Bilotta Regards David -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html