Thread (26 messages) 26 messages, 3 authors, 2011-08-10

[PATCH 00/16] Extended wiimote support

flat view
STALE5552d SUPERSEDED

From: David Herrmann <hidden>
Date: 2011-07-28 16:09:03

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 current
  2. v1
  3. v2 [diff vs current]
Hi

This patch series adds support for extended wiimote features:
 - force-feedback / rumble
 - accelerometer
 - IR cam input for up to 4 trackable items
 - battery charge level
 - raw eeprom access

Most of the patches just extend the current driver with trivial features. The
only new interface is the "synchronous requests" API which allows to lock the
stream for a series of requests.

For userspace tools see:
  http://github.com/dvdhrm/xwiimote
tools/xwiishow.c visualizes all wiimote input and is great to test the driver.

The only missing feature is extension support which I am currently working on
and which is available in my xwiimote_kernel repository. So after this series I
will submit one last series of patches for extension support.

It would be great to get some review and feedback. The current bluez repo also
has a wiimote plugin so pairing should be as simple as with other devices now.
The next bluez release will bring it to the distros, eventually.

I've set the KernelRelease of the sysfs docs to 3.2 so there is no time pressure
for 3.1.

Regards
David

David Herrmann (16):
  HID: wiimote: Support rumble device
  HID: wiimote: Add sysfs rumble attribute
  HID: wiimote: Add drm request
  HID: wiimote: Add status and return request handlers
  HID: wiimote: Reduce input syncs
  HID: wiimote: Enable accelerometer on request
  HID: wiimote: Parse accelerometer data
  HID: wiimote: Parse IR input and report to userspace
  HID: wiimote: Add missing extension DRM handlers
  HID: wiimote: Add register/eeprom memory support
  HID: wiimote: Helper functions for synchronous requests
  HID: wiimote: Add write-register helpers
  HID: wiimote: Add IR initializer
  HID: wiimote: Allow userspace to control IR cam
  HID: wiimote: Read wiimote battery charge level
  HID: wiimote: Allow EEPROM debugfs access

 Documentation/ABI/testing/sysfs-driver-hid-wiimote |   34 +
 drivers/hid/hid-wiimote.c                          |  965 +++++++++++++++++++-
 2 files changed, 993 insertions(+), 6 deletions(-)

-- 
1.7.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help