Based on kernel version 3.12. Page generated on 2013-11-13 21:55 EST.
1 What: /sys/bus/hid/drivers/wiimote/<dev>/led1 2 What: /sys/bus/hid/drivers/wiimote/<dev>/led2 3 What: /sys/bus/hid/drivers/wiimote/<dev>/led3 4 What: /sys/bus/hid/drivers/wiimote/<dev>/led4 5 Date: July 2011 6 KernelVersion: 3.1 7 Contact: David Herrmann <email@example.com> 8 Description: Make it possible to set/get current led state. Reading from it 9 returns 0 if led is off and 1 if it is on. Writing 0 to it 10 disables the led, writing 1 enables it. 11 12 What: /sys/bus/hid/drivers/wiimote/<dev>/extension 13 Date: August 2011 14 KernelVersion: 3.2 15 Contact: David Herrmann <firstname.lastname@example.org> 16 Description: This file contains the currently connected and initialized 17 extensions. It can be one of: none, motionp, nunchuck, classic, 18 motionp+nunchuck, motionp+classic 19 motionp is the official Nintendo Motion+ extension, nunchuck is 20 the official Nintendo Nunchuck extension and classic is the 21 Nintendo Classic Controller extension. The motionp extension can 22 be combined with the other two. 23 Starting with kernel-version 3.11 Motion Plus hotplugging is 24 supported and if detected, it's no longer reported as static 25 extension. You will get uevent notifications for the motion-plus 26 device then. 27 28 What: /sys/bus/hid/drivers/wiimote/<dev>/devtype 29 Date: May 2013 30 KernelVersion: 3.11 31 Contact: David Herrmann <email@example.com> 32 Description: While a device is initialized by the wiimote driver, we perform 33 a device detection and signal a "change" uevent after it is 34 done. This file shows the detected device type. "pending" means 35 that the detection is still ongoing, "unknown" means, that the 36 device couldn't be detected or loaded. "generic" means, that the 37 device couldn't be detected but supports basic Wii Remote 38 features and can be used. 39 Other strings for each device-type are available and may be 40 added if new device-specific detections are added. 41 Currently supported are: 42 gen10: First Wii Remote generation 43 gen20: Second Wii Remote Plus generation (builtin MP) 44 balanceboard: Wii Balance Board 45 46 What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib 47 Date: May 2013 48 KernelVersion: 3.11 49 Contact: David Herrmann <firstname.lastname@example.org> 50 Description: This attribute is only provided if the device was detected as a 51 balance board. It provides a single line with 3 calibration 52 values for all 4 sensors. The values are separated by colons and 53 are each 2 bytes long (encoded as 4 digit hexadecimal value). 54 First, 0kg values for all 4 sensors are written, followed by the 55 17kg values for all 4 sensors and last the 34kg values for all 4 56 sensors. 57 Calibration data is already applied by the kernel to all input 58 values but may be used by user-space to perform other 59 transformations.