xref: /linux/Documentation/ABI/testing/sysfs-driver-lenovo-yb9-kbdock (revision 5b05bb3f6c5716fab6911e12d60dd1f43ad9806a)
1*c9b5c8ffSDave CareyWhat:		/sys/bus/wmi/drivers/lenovo-yb9-kbdock/<guid>/keyboard_position
2*c9b5c8ffSDave CareyDate:		June 2027
3*c9b5c8ffSDave CareyKernelVersion:	7.3
4*c9b5c8ffSDave CareyContact:	Dave Carey <carvsdriver@gmail.com>
5*c9b5c8ffSDave CareyDescription:
6*c9b5c8ffSDave Carey		Read-only attribute reporting the current keyboard dock position
7*c9b5c8ffSDave Carey		as reported by the Embedded Controller on the Lenovo Yoga Book 9
8*c9b5c8ffSDave Carey		14IAH10.
9*c9b5c8ffSDave Carey
10*c9b5c8ffSDave Carey		Possible values:
11*c9b5c8ffSDave Carey
12*c9b5c8ffSDave Carey		==  =============================================================
13*c9b5c8ffSDave Carey		0   keyboard is not docked to any screen (detached)
14*c9b5c8ffSDave Carey		1   keyboard docked on the top half of the bottom screen
15*c9b5c8ffSDave Carey		2   keyboard docked on the bottom half of the bottom screen
16*c9b5c8ffSDave Carey		==  =============================================================
17*c9b5c8ffSDave Carey
18*c9b5c8ffSDave Carey		SW_TABLET_MODE input events are also emitted: 0 when the keyboard
19*c9b5c8ffSDave Carey		is docked (either position), 1 when detached.
20