diff options
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-wacom | 70 |
1 files changed, 27 insertions, 43 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-wacom b/Documentation/ABI/testing/sysfs-driver-wacom index 7fc781048b79..c4f0fed64a6e 100644 --- a/Documentation/ABI/testing/sysfs-driver-wacom +++ b/Documentation/ABI/testing/sysfs-driver-wacom | |||
@@ -1,48 +1,27 @@ | |||
1 | WWhat: /sys/class/hidraw/hidraw*/device/oled*_img | 1 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed |
2 | Date: June 2012 | ||
3 | Contact: linux-bluetooth@vger.kernel.org | ||
4 | Description: | ||
5 | The /sys/class/hidraw/hidraw*/device/oled*_img files control | ||
6 | OLED mocro displays on Intuos4 Wireless tablet. Accepted image | ||
7 | has to contain 256 bytes (64x32 px 1 bit colour). The format | ||
8 | is the same as PBM image 62x32px without header (64 bits per | ||
9 | horizontal line, 32 lines). An example of setting OLED No. 0: | ||
10 | dd bs=256 count=1 if=img_file of=[path to oled0_img]/oled0_img | ||
11 | The attribute is read only and no local copy of the image is | ||
12 | stored. | ||
13 | |||
14 | What: /sys/class/hidraw/hidraw*/device/speed | ||
15 | Date: April 2010 | 2 | Date: April 2010 |
16 | Kernel Version: 2.6.35 | 3 | Kernel Version: 2.6.35 |
17 | Contact: linux-bluetooth@vger.kernel.org | 4 | Contact: linux-bluetooth@vger.kernel.org |
18 | Description: | 5 | Description: |
19 | The /sys/class/hidraw/hidraw*/device/speed file controls | 6 | The /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed file |
20 | reporting speed of Wacom bluetooth tablet. Reading from | 7 | controls reporting speed of Wacom bluetooth tablet. Reading |
21 | this file returns 1 if tablet reports in high speed mode | 8 | from this file returns 1 if tablet reports in high speed mode |
22 | or 0 otherwise. Writing to this file one of these values | 9 | or 0 otherwise. Writing to this file one of these values |
23 | switches reporting speed. | 10 | switches reporting speed. |
24 | 11 | ||
25 | What: /sys/class/leds/0005\:056A\:00BD.0001\:selector\:*/ | 12 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/led |
26 | Date: May 2012 | 13 | Date: August 2014 |
27 | Kernel Version: 3.5 | ||
28 | Contact: linux-bluetooth@vger.kernel.org | ||
29 | Description: | ||
30 | LED selector for Intuos4 WL. There are 4 leds, but only one LED | ||
31 | can be lit at a time. Max brightness is 127. | ||
32 | |||
33 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/led | ||
34 | Date: August 2011 | ||
35 | Contact: linux-input@vger.kernel.org | 14 | Contact: linux-input@vger.kernel.org |
36 | Description: | 15 | Description: |
37 | Attribute group for control of the status LEDs and the OLEDs. | 16 | Attribute group for control of the status LEDs and the OLEDs. |
38 | This attribute group is only available for Intuos 4 M, L, | 17 | This attribute group is only available for Intuos 4 M, L, |
39 | and XL (with LEDs and OLEDs), Intuos 5 (LEDs only), and Cintiq | 18 | and XL (with LEDs and OLEDs), Intuos 4 WL, Intuos 5 (LEDs only), |
40 | 21UX2 and Cintiq 24HD (LEDs only). Therefore its presence | 19 | Intuos Pro (LEDs only) and Cintiq 21UX2 and Cintiq 24HD |
41 | implicitly signifies the presence of said LEDs and OLEDs on the | 20 | (LEDs only). Therefore its presence implicitly signifies the |
42 | tablet device. | 21 | presence of said LEDs and OLEDs on the tablet device. |
43 | 22 | ||
44 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status0_luminance | 23 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status0_luminance |
45 | Date: August 2011 | 24 | Date: August 2014 |
46 | Contact: linux-input@vger.kernel.org | 25 | Contact: linux-input@vger.kernel.org |
47 | Description: | 26 | Description: |
48 | Writing to this file sets the status LED luminance (1..127) | 27 | Writing to this file sets the status LED luminance (1..127) |
@@ -50,16 +29,16 @@ Description: | |||
50 | button is pressed on the stylus. This luminance level is | 29 | button is pressed on the stylus. This luminance level is |
51 | normally lower than the level when a button is pressed. | 30 | normally lower than the level when a button is pressed. |
52 | 31 | ||
53 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status1_luminance | 32 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status1_luminance |
54 | Date: August 2011 | 33 | Date: August 2014 |
55 | Contact: linux-input@vger.kernel.org | 34 | Contact: linux-input@vger.kernel.org |
56 | Description: | 35 | Description: |
57 | Writing to this file sets the status LED luminance (1..127) | 36 | Writing to this file sets the status LED luminance (1..127) |
58 | when the stylus touches the tablet surface, or any button is | 37 | when the stylus touches the tablet surface, or any button is |
59 | pressed on the stylus. | 38 | pressed on the stylus. |
60 | 39 | ||
61 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status_led0_select | 40 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led0_select |
62 | Date: August 2011 | 41 | Date: August 2014 |
63 | Contact: linux-input@vger.kernel.org | 42 | Contact: linux-input@vger.kernel.org |
64 | Description: | 43 | Description: |
65 | Writing to this file sets which one of the four (for Intuos 4 | 44 | Writing to this file sets which one of the four (for Intuos 4 |
@@ -67,23 +46,23 @@ Description: | |||
67 | 24HD) status LEDs is active (0..3). The other three LEDs on the | 46 | 24HD) status LEDs is active (0..3). The other three LEDs on the |
68 | same side are always inactive. | 47 | same side are always inactive. |
69 | 48 | ||
70 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status_led1_select | 49 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led1_select |
71 | Date: September 2011 | 50 | Date: August 2014 |
72 | Contact: linux-input@vger.kernel.org | 51 | Contact: linux-input@vger.kernel.org |
73 | Description: | 52 | Description: |
74 | Writing to this file sets which one of the left four (for Cintiq 21UX2 | 53 | Writing to this file sets which one of the left four (for Cintiq 21UX2 |
75 | and Cintiq 24HD) status LEDs is active (0..3). The other three LEDs on | 54 | and Cintiq 24HD) status LEDs is active (0..3). The other three LEDs on |
76 | the left are always inactive. | 55 | the left are always inactive. |
77 | 56 | ||
78 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/buttons_luminance | 57 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/buttons_luminance |
79 | Date: August 2011 | 58 | Date: August 2014 |
80 | Contact: linux-input@vger.kernel.org | 59 | Contact: linux-input@vger.kernel.org |
81 | Description: | 60 | Description: |
82 | Writing to this file sets the overall luminance level (0..15) | 61 | Writing to this file sets the overall luminance level (0..15) |
83 | of all eight button OLED displays. | 62 | of all eight button OLED displays. |
84 | 63 | ||
85 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/button<n>_rawimg | 64 | What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/button<n>_rawimg |
86 | Date: August 2011 | 65 | Date: August 2014 |
87 | Contact: linux-input@vger.kernel.org | 66 | Contact: linux-input@vger.kernel.org |
88 | Description: | 67 | Description: |
89 | When writing a 1024 byte raw image in Wacom Intuos 4 | 68 | When writing a 1024 byte raw image in Wacom Intuos 4 |
@@ -93,3 +72,8 @@ Description: | |||
93 | byte chunk encodes the image data for two consecutive lines on | 72 | byte chunk encodes the image data for two consecutive lines on |
94 | the display. The low nibble of each byte contains the first | 73 | the display. The low nibble of each byte contains the first |
95 | line, and the high nibble contains the second line. | 74 | line, and the high nibble contains the second line. |
75 | When the Wacom Intuos 4 is connected over Bluetooth, the | ||
76 | image has to contain 256 bytes (64x32 px 1 bit colour). | ||
77 | The format is also scrambled, like in the USB mode, and it can | ||
78 | be summarized by converting 76543210 into GECA6420. | ||
79 | HGFEDCBA HFDB7531 | ||