From: David Herrmann Date: Sun, 5 May 2013 21:13:04 +0000 (+0200) Subject: HID: wiimote: add sysfs extension/device-type attrs X-Git-Tag: v3.11-rc1~90^2^3~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7da08677d73e887380e64c865b99536027191aa;p=pandora-kernel.git HID: wiimote: add sysfs extension/device-type attrs Two new attributes, "extension" and "devtype" now allow user-space to read the extension type and device type. As device detection is asynchronous, we send a CHANGED event after it is done. This also allows user-space to wait for a device to settle before opening its input event devices. The "extension" device is compatible with the old "extension" sysfs field (which was registered by the static extension support code). Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed