xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-driver-wacom (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed
2*4882a593SmuzhiyunDate:		April 2010
3*4882a593SmuzhiyunKernelVersion:	2.6.35
4*4882a593SmuzhiyunContact:	linux-bluetooth@vger.kernel.org
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun		The /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed file
7*4882a593Smuzhiyun		controls reporting speed of Wacom bluetooth tablet. Reading
8*4882a593Smuzhiyun		from this file returns 1 if tablet reports in high speed mode
9*4882a593Smuzhiyun		or 0 otherwise. Writing to this file one of these values
10*4882a593Smuzhiyun		switches reporting speed.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/led
13*4882a593SmuzhiyunDate:		August 2014
14*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
15*4882a593SmuzhiyunDescription:
16*4882a593Smuzhiyun		Attribute group for control of the status LEDs and the OLEDs.
17*4882a593Smuzhiyun		This attribute group is only available for Intuos 4 M, L,
18*4882a593Smuzhiyun		and XL (with LEDs and OLEDs), Intuos 4 WL, Intuos 5 (LEDs only),
19*4882a593Smuzhiyun		Intuos Pro (LEDs only) and Cintiq 21UX2 and Cintiq 24HD
20*4882a593Smuzhiyun		(LEDs only). Therefore its presence implicitly signifies the
21*4882a593Smuzhiyun		presence of said LEDs and OLEDs on the tablet device.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status0_luminance
24*4882a593SmuzhiyunDate:		August 2014
25*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
26*4882a593SmuzhiyunDescription:
27*4882a593Smuzhiyun		<obsoleted by the LED class API now exported by the driver>
28*4882a593Smuzhiyun		Writing to this file sets the status LED luminance (1..127)
29*4882a593Smuzhiyun		when the stylus does not touch the tablet surface, and no
30*4882a593Smuzhiyun		button is pressed on the stylus. This luminance level is
31*4882a593Smuzhiyun		normally lower than the level when a button is pressed.
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status1_luminance
34*4882a593SmuzhiyunDate:		August 2014
35*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
36*4882a593SmuzhiyunDescription:
37*4882a593Smuzhiyun		<obsoleted by the LED class API now exported by the driver>
38*4882a593Smuzhiyun		Writing to this file sets the status LED luminance (1..127)
39*4882a593Smuzhiyun		when the stylus touches the tablet surface, or any button is
40*4882a593Smuzhiyun		pressed on the stylus.
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led0_select
43*4882a593SmuzhiyunDate:		August 2014
44*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
45*4882a593SmuzhiyunDescription:
46*4882a593Smuzhiyun		<obsoleted by the LED class API now exported by the driver>
47*4882a593Smuzhiyun		Writing to this file sets which one of the four (for Intuos 4
48*4882a593Smuzhiyun		and Intuos 5) or of the right four (for Cintiq 21UX2 and Cintiq
49*4882a593Smuzhiyun		24HD) status LEDs is active (0..3). The other three LEDs on the
50*4882a593Smuzhiyun		same side are always inactive.
51*4882a593Smuzhiyun
52*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led1_select
53*4882a593SmuzhiyunDate:		August 2014
54*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
55*4882a593SmuzhiyunDescription:
56*4882a593Smuzhiyun		<obsoleted by the LED class API now exported by the driver>
57*4882a593Smuzhiyun		Writing to this file sets which one of the left four (for Cintiq 21UX2
58*4882a593Smuzhiyun		and Cintiq 24HD) status LEDs is active (0..3). The other three LEDs on
59*4882a593Smuzhiyun		the left are always inactive.
60*4882a593Smuzhiyun
61*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/buttons_luminance
62*4882a593SmuzhiyunDate:		August 2014
63*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
64*4882a593SmuzhiyunDescription:
65*4882a593Smuzhiyun		Writing to this file sets the overall luminance level (0..15)
66*4882a593Smuzhiyun		of all eight button OLED displays.
67*4882a593Smuzhiyun
68*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/button<n>_rawimg
69*4882a593SmuzhiyunDate:		August 2014
70*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
71*4882a593SmuzhiyunDescription:
72*4882a593Smuzhiyun		When writing a 1024 byte raw image in Wacom Intuos 4
73*4882a593Smuzhiyun		interleaving format to the file, the image shows up on Button N
74*4882a593Smuzhiyun		of the device. The image is a 64x32 pixel 4-bit gray image. The
75*4882a593Smuzhiyun		1024 byte binary is split up into 16x 64 byte chunks. Each 64
76*4882a593Smuzhiyun		byte chunk encodes the image data for two consecutive lines on
77*4882a593Smuzhiyun		the display. The low nibble of each byte contains the first
78*4882a593Smuzhiyun		line, and the high nibble contains the second line.
79*4882a593Smuzhiyun		When the Wacom Intuos 4 is connected over Bluetooth, the
80*4882a593Smuzhiyun		image has to contain 256 bytes (64x32 px 1 bit colour).
81*4882a593Smuzhiyun		The format is also scrambled, like in the USB mode, and it can
82*4882a593Smuzhiyun		be summarized by converting::
83*4882a593Smuzhiyun
84*4882a593Smuzhiyun					    76543210 into GECA6420.
85*4882a593Smuzhiyun					    HGFEDCBA      HFDB7531
86*4882a593Smuzhiyun
87*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_remote/unpair_remote
88*4882a593SmuzhiyunDate:		July 2015
89*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
90*4882a593SmuzhiyunDescription:
91*4882a593Smuzhiyun		Writing the character sequence '*' followed by a newline to
92*4882a593Smuzhiyun		this file will delete all of the current pairings on the
93*4882a593Smuzhiyun		device. Other character sequences are reserved. This file is
94*4882a593Smuzhiyun		write only.
95*4882a593Smuzhiyun
96*4882a593SmuzhiyunWhat:		/sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_remote/<serial_number>/remote_mode
97*4882a593SmuzhiyunDate:		July 2015
98*4882a593SmuzhiyunContact:	linux-input@vger.kernel.org
99*4882a593SmuzhiyunDescription:
100*4882a593Smuzhiyun		<obsoleted by the LED class API now exported by the driver>
101*4882a593Smuzhiyun		Reading from this file reports the mode status of the
102*4882a593Smuzhiyun		remote as indicated by the LED lights on the device. If no
103*4882a593Smuzhiyun		reports have been received from the paired device, reading
104*4882a593Smuzhiyun		from this file will report '-1'. The mode is read-only
105*4882a593Smuzhiyun		and cannot be set through the driver.
106