~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-driver-hid-wiimote

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-driver-hid-wiimote (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-driver-hid-wiimote (Version linux-5.18.19)


  1 What:           /sys/bus/hid/drivers/wiimote/<      1 What:           /sys/bus/hid/drivers/wiimote/<dev>/led1
  2 What:           /sys/bus/hid/drivers/wiimote/<      2 What:           /sys/bus/hid/drivers/wiimote/<dev>/led2
  3 What:           /sys/bus/hid/drivers/wiimote/<      3 What:           /sys/bus/hid/drivers/wiimote/<dev>/led3
  4 What:           /sys/bus/hid/drivers/wiimote/<      4 What:           /sys/bus/hid/drivers/wiimote/<dev>/led4
  5 Date:           July 2011                           5 Date:           July 2011
  6 KernelVersion:  3.1                                 6 KernelVersion:  3.1
  7 Contact:        David Herrmann <dh.herrmann@goo      7 Contact:        David Herrmann <dh.herrmann@googlemail.com>
  8 Description:    Make it possible to set/get cu      8 Description:    Make it possible to set/get current led state. Reading from it
  9                 returns 0 if led is off and 1       9                 returns 0 if led is off and 1 if it is on. Writing 0 to it
 10                 disables the led, writing 1 en     10                 disables the led, writing 1 enables it.
 11                                                    11 
 12 What:           /sys/bus/hid/drivers/wiimote/<     12 What:           /sys/bus/hid/drivers/wiimote/<dev>/extension
 13 Date:           August 2011                        13 Date:           August 2011
 14 KernelVersion:  3.2                                14 KernelVersion:  3.2
 15 Contact:        David Herrmann <dh.herrmann@gma     15 Contact:        David Herrmann <dh.herrmann@gmail.com>
 16 Description:    This file contains the current     16 Description:    This file contains the currently connected and initialized
 17                 extensions. It can be one of:      17                 extensions. It can be one of: none, motionp, nunchuck, classic,
 18                 motionp+nunchuck, motionp+clas     18                 motionp+nunchuck, motionp+classic
 19                 motionp is the official Ninten     19                 motionp is the official Nintendo Motion+ extension, nunchuck is
 20                 the official Nintendo Nunchuck     20                 the official Nintendo Nunchuck extension and classic is the
 21                 Nintendo Classic Controller ex     21                 Nintendo Classic Controller extension. The motionp extension can
 22                 be combined with the other two     22                 be combined with the other two.
 23                                                    23 
 24                 Starting with kernel-version 3     24                 Starting with kernel-version 3.11 Motion Plus hotplugging is
 25                 supported and if detected, it'     25                 supported and if detected, it's no longer reported as static
 26                 extension. You will get uevent     26                 extension. You will get uevent notifications for the motion-plus
 27                 device then.                       27                 device then.
 28                                                    28 
 29 What:           /sys/bus/hid/drivers/wiimote/<     29 What:           /sys/bus/hid/drivers/wiimote/<dev>/devtype
 30 Date:           May 2013                           30 Date:           May 2013
 31 KernelVersion:  3.11                               31 KernelVersion:  3.11
 32 Contact:        David Herrmann <dh.herrmann@gma     32 Contact:        David Herrmann <dh.herrmann@gmail.com>
 33 Description:    While a device is initialized      33 Description:    While a device is initialized by the wiimote driver, we perform
 34                 a device detection and signal      34                 a device detection and signal a "change" uevent after it is
 35                 done. This file shows the dete     35                 done. This file shows the detected device type. "pending" means
 36                 that the detection is still on     36                 that the detection is still ongoing, "unknown" means, that the
 37                 device couldn't be detected or     37                 device couldn't be detected or loaded. "generic" means, that the
 38                 device couldn't be detected bu     38                 device couldn't be detected but supports basic Wii Remote
 39                 features and can be used.          39                 features and can be used.
 40                 Other strings for each device-     40                 Other strings for each device-type are available and may be
 41                 added if new device-specific d     41                 added if new device-specific detections are added.
 42                 Currently supported are:           42                 Currently supported are:
 43                                                    43 
 44                         ============= ========     44                         ============= =======================================
 45                         gen10:        First Wi     45                         gen10:        First Wii Remote generation
 46                         gen20:        Second W     46                         gen20:        Second Wii Remote Plus generation
 47                                       (builtin     47                                       (builtin MP)
 48                         balanceboard: Wii Bala     48                         balanceboard: Wii Balance Board
 49                         ============= ========     49                         ============= =======================================
 50                                                    50 
 51 What:           /sys/bus/hid/drivers/wiimote/<     51 What:           /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib
 52 Date:           May 2013                           52 Date:           May 2013
 53 KernelVersion:  3.11                               53 KernelVersion:  3.11
 54 Contact:        David Herrmann <dh.herrmann@gma     54 Contact:        David Herrmann <dh.herrmann@gmail.com>
 55 Description:    This attribute is only provide     55 Description:    This attribute is only provided if the device was detected as a
 56                 balance board. It provides a s     56                 balance board. It provides a single line with 3 calibration
 57                 values for all 4 sensors. The      57                 values for all 4 sensors. The values are separated by colons and
 58                 are each 2 bytes long (encoded     58                 are each 2 bytes long (encoded as 4 digit hexadecimal value).
 59                 First, 0kg values for all 4 se     59                 First, 0kg values for all 4 sensors are written, followed by the
 60                 17kg values for all 4 sensors      60                 17kg values for all 4 sensors and last the 34kg values for all 4
 61                 sensors.                           61                 sensors.
 62                                                    62 
 63                 Calibration data is already ap     63                 Calibration data is already applied by the kernel to all input
 64                 values but may be used by user     64                 values but may be used by user-space to perform other
 65                 transformations.                   65                 transformations.
 66                                                    66 
 67 What:           /sys/bus/hid/drivers/wiimote/<     67 What:           /sys/bus/hid/drivers/wiimote/<dev>/pro_calib
 68 Date:           October 2013                       68 Date:           October 2013
 69 KernelVersion:  3.13                               69 KernelVersion:  3.13
 70 Contact:        David Herrmann <dh.herrmann@gma     70 Contact:        David Herrmann <dh.herrmann@gmail.com>
 71 Description:    This attribute is only provide     71 Description:    This attribute is only provided if the device was detected as a
 72                 pro-controller. It provides a      72                 pro-controller. It provides a single line with 4 calibration
 73                 values for all 4 analog sticks     73                 values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data
 74                 is prefixed with a +/-. Each v     74                 is prefixed with a +/-. Each value is a signed 16bit number.
 75                 Data is encoded as decimal num     75                 Data is encoded as decimal numbers and specifies the offsets of
 76                 the analog sticks of the pro-c     76                 the analog sticks of the pro-controller.
 77                                                    77 
 78                 Calibration data is already ap     78                 Calibration data is already applied by the kernel to all input
 79                 values but may be used by user     79                 values but may be used by user-space to perform other
 80                 transformations.                   80                 transformations.
 81                                                    81 
 82                 Calibration data is detected b     82                 Calibration data is detected by the kernel during device setup.
 83                 You can write "scan\n" into th     83                 You can write "scan\n" into this file to re-trigger calibration.
 84                 You can also write data direct     84                 You can also write data directly in the form "x1:y1 x2:y2" to
 85                 set the calibration values man     85                 set the calibration values manually.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php