linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers
@ 2015-06-24  0:30 Simon Wood
       [not found] ` <1435105830-2297-1-git-send-email-simon-wM4F9T/ekXmXDw4h08c5KA@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Simon Wood @ 2015-06-24  0:30 UTC (permalink / raw)
  To: linux-input-u79uwXL29TY76Z2rM5mHXA
  Cc: Frank Praznik, linux-iio-u79uwXL29TY76Z2rM5mHXA


This series of patches is a RFC for the idea of connecting motion capability
controllers to the IIO subsystem, initially targeting the Sony SixAxis
controller. In the future I hope that this can be used for sensor packs used
in VR headset/devices.

The advantage of the IIO subsystem is that the data is presented in SI units,
although it is noted that the current API requires root level access - this is
really a distribution requirement (UDEV rules can make '/dev/iiodevice0'
accessible).

The RFC is in 4 parts, split into logical steps:
[PATCH 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller
[PATCH 2/4] HID: hid-sony: Add IIO buffer support for SixAxis Controller
[PATCH 3/4] HID: hid-sony: Add IIO trigger support for SixAxis Controller
[PATCH 4/4] HID: hid-sony: Add IIO support for DualShock4 Controller

The SixAxis contains accelerometers, the DS4 contains accelerometers and gyros.

The next stage would be support the PS Move controller, which contains
accelerometers, gyros and magnetometers.

As an example of IIO usage I would point to RTIMULib, which recently showed
a full 9-dof IMU fusion via IIO. (1)


Known Bug:
At present the 3rd patch introduces the issue that once loaded and a device
connects, the module can not be unloaded (even after device disconnects).

It seems that the refcount is being increased, but not decreased.
--
$ cat /sys/module/hid_sony/refcnt 
2
--


(1) https://richardstechnotes.wordpress.com/2015/06/17/rteiioimu-driving-a-9-dof-imu-via-industrial-io-iio/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-07-23 16:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24  0:30 [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers Simon Wood
     [not found] ` <1435105830-2297-1-git-send-email-simon-wM4F9T/ekXmXDw4h08c5KA@public.gmane.org>
2015-06-24  0:30   ` [RFC_v2 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller Simon Wood
     [not found]     ` <1435105830-2297-2-git-send-email-simon-wM4F9T/ekXmXDw4h08c5KA@public.gmane.org>
2015-06-24  9:13       ` Antonio Ospite
2015-06-24 14:29         ` Daniel Baluta
     [not found]         ` <20150624111343.9cbff925b0f25865fc6e5cd8-qKGr9MkilAE@public.gmane.org>
2015-06-24 15:20           ` simon-wM4F9T/ekXmXDw4h08c5KA
2015-07-05 13:49         ` Jonathan Cameron
2015-06-24  0:30   ` [RFC_v2 2/4] HID: hid-sony: Add IIO buffer " Simon Wood
     [not found]     ` <1435105830-2297-3-git-send-email-simon-wM4F9T/ekXmXDw4h08c5KA@public.gmane.org>
2015-07-05 13:53       ` Jonathan Cameron
2015-06-24  0:30   ` [RFC_v2 3/4] HID: hid-sony: Add IIO trigger " Simon Wood
     [not found]     ` <1435105830-2297-4-git-send-email-simon-wM4F9T/ekXmXDw4h08c5KA@public.gmane.org>
2015-07-05 13:58       ` Jonathan Cameron
2015-07-23 16:53   ` [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers Bastien Nocera
2015-06-24  0:30 ` [RFC_v2 4/4] HID: hid-sony: Add IIO support for DualShock4 Controller Simon Wood
     [not found]   ` <1435105830-2297-5-git-send-email-simon-wM4F9T/ekXmXDw4h08c5KA@public.gmane.org>
2015-07-05 14:01     ` Jonathan Cameron
2015-06-24  9:06 ` [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers Antonio Ospite
     [not found]   ` <20150624110608.65a31e2a52bb2752352605db-qKGr9MkilAE@public.gmane.org>
2015-06-24 15:14     ` simon-wM4F9T/ekXmXDw4h08c5KA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).