On Wed, November 23, 2016 3:07 pm, Roderick Colenbrander wrote: > From: Roderick Colenbrander <roderick.colenbrander@xxxxxxxx> > > > The DS4 motion sensors are currently mapped by the hid-core driver > to non-existing axes in between ABS_MISC and ABS_MT_SLOT, because the > device already exhausted ABS_X-ABS_RZ. For a part the mapping by hid-core > is accomplished by a fixup in hid-sony as the motion axes actually use > vendor specific usage pages. We probably all agree that sending Acc/Gyro data across the joystick interface is not the best thing in the world, so I would have some doubts about whether spinning up another separate interface is quite the 'correct thing' either. A while back I did some 'tinkering' on the SixAxis to see if 'we' could use the IIO interface to report accelerometer data. https://patchwork.kernel.org/patch/6589061/ I think that the timestamps are critical to get correct interpretation of the data, and note that PS Move and PS VR both return multiple sets of acc/gyro data in a single HID report. > > This patch makes the DS4 use a separate input device for the motion > sensors and reports acceleration data through ABS_X-ABS_Z and gyroscope > data through ABS_RX-ABS_RZ. In addition it extends the event spec to allow > gyroscope data through ABS_RX-ABS_RZ when INPUT_PROP_ACCELEROMETER is set. > This change was suggested by > Peter Hutterer during a discussion on linux-input. Do you have a link? Also, can you confirm whether this change would break '/dev/hidrawX', I know a number of projects that read that directly to do their thing. Thanks, Simon. -- 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