Home
last modified time | relevance | path

Searched +full:tablet +full:- +full:mode (Results 1 – 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-wacom4 Contact: linux-bluetooth@vger.kernel.org
7 controls reporting speed of Wacom bluetooth tablet. Reading
8 from this file returns 1 if tablet reports in high speed mode
14 Contact: linux-input@vger.kernel.org
21 presence of said LEDs and OLEDs on the tablet device.
25 Contact: linux-input@vger.kernel.org
29 when the stylus does not touch the tablet surface, and no
35 Contact: linux-input@vger.kernel.org
39 when the stylus touches the tablet surface, or any button is
44 Contact: linux-input@vger.kernel.org
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_tbmc.c1 // SPDX-License-Identifier: GPL-2.0
2 // Driver to detect Tablet Mode for ChromeOS convertible.
30 status = acpi_evaluate_integer(adev->handle, "TBMC", NULL, &state); in chromeos_tbmc_query_switch()
32 return -ENODEV; in chromeos_tbmc_query_switch()
45 return chromeos_tbmc_query_switch(adev, adev->driver_data); in chromeos_tbmc_resume()
50 acpi_pm_wakeup_event(&adev->dev); in chromeos_tbmc_notify()
53 chromeos_tbmc_query_switch(adev, adev->driver_data); in chromeos_tbmc_notify()
56 dev_err(&adev->dev, "Unexpected event: 0x%08X\n", event); in chromeos_tbmc_notify()
70 struct device *dev = &adev->dev; in chromeos_tbmc_add()
75 return -ENOMEM; in chromeos_tbmc_add()
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-waltop.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "hid-ids.h"
23 * tablet input mode, switching it between "default", "tablet" and "ink".
25 * This driver only uses "default" mode for all the supported tablets. This
26 * mode tries to be HID-compatible (not very successfully), but cripples the
29 * The "tablet" mode uses some proprietary, yet decipherable protocol, which
30 * represents the correct resolution, but is possibly HID-incompatible (i.e.
33 * The purpose of the "ink" mode is unknown.
35 * The feature reports needed for switching to each mode are these:
38 * 02 16 01 tablet
[all …]
Dhid-uclogic-params.c1 // SPDX-License-Identifier: GPL-2.0+
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - tablet initialization and parameter retrieval
16 #include "hid-uclogic-params.h"
17 #include "hid-uclogic-rdesc.h"
19 #include "hid-ids.h"
24 * Convert a pen in-range reporting type to a string.
26 * @inrange: The in-range reporting type to convert.
47 * uclogic_params_get_str_desc - retrieve a string descriptor from a HID
48 * device interface, putting it into a kmalloc-allocated buffer as is, without
[all …]
Dhid-google-hammer.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Author: Wei-Ning Huang <wnhuang@google.com>
26 #include "hid-ids.h"
29 * C(hrome)B(ase)A(ttached)S(witch) - switch exported by Chrome EC and reporting
30 * state of the "Whiskers" base - attached or detached. Whiskers USB device also
31 * reports position of the keyboard - folded or not. Combining base state and
32 * position allows us to generate proper "Tablet mode" events.
63 return -ENOMEM; in cbas_ec_query_base()
65 msg->command = EC_CMD_MKBP_INFO; in cbas_ec_query_base()
66 msg->version = 1; in cbas_ec_query_base()
[all …]
Dwacom.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * drivers/input/tablet/wacom.h
5 * USB Wacom tablet support
7 * Copyright (c) 2000-2004 Vojtech Pavlik <vojtech@ucw.cz>
15 * Copyright (c) 2002-2011 Ping Cheng <pingc@wacom.com>
19 * v0.1 (vp) - Initial release
20 * v0.2 (aba) - Support for all buttons / combinations
21 * v0.3 (vp) - Support for Intuos added
22 * v0.4 (sm) - Support for more Intuos models, menustrip
23 * relative mode, proximity.
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 most commonly used to refer to the USB-HID specification, but other
20 removed from the HID bus by the transport-layer drivers, such as
53 to work on raw hid events when they want to, and avoid using transport-specific
59 tristate "User-space I/O driver support for HID subsystem"
63 Say Y here if you want to provide HID I/O Drivers from user-space.
64 This allows to write I/O drivers in user-space and feed the data from
67 user-space device.
69 This driver cannot be used to parse HID-reports in user-space and write
70 special HID-drivers. You should use hidraw for that.
[all …]
Dwacom_sys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * drivers/input/tablet/wacom_sys.c
5 * USB Wacom tablet support - system specific code
30 } while ((retval == -ETIMEDOUT || retval == -EAGAIN) && --retries); in wacom_get_report()
47 } while ((retval == -ETIMEDOUT || retval == -EAGAIN) && --retries); in wacom_set_report()
94 struct wacom_wac *wacom_wac = &wacom->wacom_wac; in wacom_wac_pen_serial_enforce()
95 struct wacom_features *features = &wacom_wac->features; in wacom_wac_pen_serial_enforce()
100 if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) in wacom_wac_pen_serial_enforce()
104 for (i = 0; i < report->maxfield; i++) { in wacom_wac_pen_serial_enforce()
105 for (j = 0; j < report->field[i]->maxusage; j++) { in wacom_wac_pen_serial_enforce()
[all …]
Dhid-kye.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include "hid-ids.h"
29 0x15, 0x80, /* Logical Minimum (-128), */
46 0x09, 0x46, /* Usage (Tablet Pick), */
58 0x55, 0xFD, /* Unit Exponent (-3), */
87 0x15, 0x80, /* Logical Minimum (-128), */
104 0x09, 0x46, /* Usage (Tablet Pick), */
116 0x55, 0xFD, /* Unit Exponent (-3), */
153 0x55, 0xFD, /* Unit Exponent (-3), */
168 0x15, 0xFF, /* Logical Minimum (-1), */
[all …]
/kernel/linux/linux-5.10/drivers/input/tablet/
Daiptek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2002-2004 Bryan W. Headley <bwheadley@earthlink.net>
20 * v0.1 - Initial release
21 * v0.2 - Hack to get around fake event 28's. (Bryan W. Headley)
22 * v0.3 - Make URB dynamic (Bryan W. Headley, Jun-8-2002)
24 * v0.4 - Rewrote substantial portions of the code to deal with
26 * support of 6000U - 12000U, procfs, and macro key support
27 * (Jan-1-2003 - Feb-5-2003, Bryan W. Headley)
28 * v1.0 - Added support for diagnostic messages, count of messages
29 * received from URB - Mar-8-2003, Bryan W. Headley
[all …]
Dwacom_serial4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Wacom protocol 4 serial tablet driver
6 * Copyright 2011-2012 Julian Squires <julian@cipht.net>
13 * - elo, gunze drivers by Vojtech Pavlik <vojtech@ucw.cz>;
14 * - wacom_w8001 driver by Jaya Kumar <jayakumar.lkml@gmail.com>;
15 * - the USB wacom input driver, credited to many people
16 * (see drivers/input/tablet/wacom.h);
17 * - new and old versions of linuxwacom / xf86-input-wacom credited to
20 * - and xf86wacom.c (a presumably ancient version of the linuxwacom code),
24 * - support pad buttons; (requires access to a model with pad buttons)
[all …]
Dpegasus_notetaker.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Pegasus Mobile Notetaker Pen input tablet driver
10 * |-------------------------------------|
13 * |-------------------------------------|
15 * |-------------------------------------|
17 * data packet after set xy mode command, 0x80 0xb5 0x02 0x01
21 * --------------------------------------------
100 return -ENOMEM; in pegasus_control_msg()
106 result = usb_control_msg(pegasus->usbdev, in pegasus_control_msg()
107 usb_sndctrlpipe(pegasus->usbdev, 0), in pegasus_control_msg()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dwm8650-mid.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet
8 /dts-v1/;
12 model = "Wondermedia WM8650-MID Tablet";
16 bits-per-pixel = <16>;
18 display-timings {
19 native-mode = <&timing0>;
21 clock-frequency = <0>; /* unused but required */
24 hfront-porch = <40>;
25 hback-porch = <88>;
[all …]
Dwm8850-w70v2.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8850-w70v2.dts
4 * - Device tree file for Wondermedia WM8850 Tablet
5 * - 'W70-V2' mainboard
6 * - HongLianYing 'HLY070ML268-21A' 7" LCD panel
11 /dts-v1/;
13 #include <dt-bindings/pwm/pwm.h>
16 model = "Wondermedia WM8850-W70v2 Tablet";
19 compatible = "pwm-backlight";
22 brightness-levels = <0 40 60 80 100 130 190 255>;
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 x86 platforms, including vendor-specific laptop extension drivers.
23 This driver adds support for the ACPI-WMI (Windows Management
26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the
27 ACPI firmware to userspace - this is done through various vendor
38 any ACPI-WMI devices.
45 Say Y here if you want to be able to read a firmware-embedded
50 be called wmi-bmof.
62 USB MCU such as the X51 and X51-R2.
76 control, fn-lock, mic-mute LED, and other extra features.
[all …]
Dintel-vbtn.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
18 /* Returned when NOT in tablet mode on some HP Stream x360 11 models */
20 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */
41 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
42 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
43 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
44 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
45 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key press */
46 { KE_KEY, 0xC9, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key release */
[all …]
Dsurfacepro3_button.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Microsoft Surface Pro 3/4 tablet.
113 dev_warn_once(&device->dev, "Tablet mode is not supported\n"); in surface_button_notify()
116 dev_info_ratelimited(&device->dev, in surface_button_notify()
120 input = button->input; in surface_button_notify()
124 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify()
125 if (button->suspended) in surface_button_notify()
137 button->suspended = true; in surface_button_suspend()
146 button->suspended = false; in surface_button_resume()
161 acpi_handle handle = dev->handle; in surface_button_check_MSHW0040()
[all …]
Dintel-hid.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
30 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */
31 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */
40 /* 13 has two different meanings in the spec -- ignore it. */
48 /* 27: wake -- needs special handling */
90 .ident = "Lenovo ThinkPad X1 Tablet Gen 2",
93 DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"),
105 #define HID_EVENT_FILTER_UUID "eeec56b3-4442-408f-a792-4edd4d758054"
199 *result = obj->integer.value; in intel_hid_evaluate_method()
[all …]
/kernel/linux/linux-5.10/drivers/input/mouse/
Dvsxxxaa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers)
4 * DEC VSXXX-GA mouse (rectangular mouse, with ball)
5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus)
7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
27 * supply at +5V and -12V.
33 * | 4 --- 3 |
35 * -------
38 * 1 (GND) 5 7 -
39 * 2 (RxD) 2 3 -
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
109 Say Y here if you have a Fujitsu B-series Lifebook PS/2
171 Say Y here if you have an OLPC XO-1 laptop (with built-in
172 PS/2 touchpad/tablet device). The manufacturer calls the
193 this option, you remove the xf86-input-vmmouse user-space driver
194 or upgrade it to at least xf86-input-vmmouse 13.1.0, which doesn't
195 load in the presence of an in-kernel vmmouse driver.
207 Say Y here if you have a serial (RS-232, COM port) mouse connected
223 These are the touchpads that can be found on post-February 2005
[all …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Dedt-ft5x06.rst2 ----------------------------------
4 The edt-ft5x06 driver is useful for the EDT "Polytouch" family of capacitive
6 focaltec ft5x06 devices, since they contain vendor-specific firmware. In
7 particular this driver is not suitable for the Nook tablet.
18 allows setting the "click"-threshold in the range from 0 to 80.
36 (readonly) contains the number of sensor fields in X- and
37 Y-direction.
39 mode:
40 allows switching the sensor between "factory mode" and "operation
41 mode" by writing "1" or "0" to it. In factory mode (1) it is
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dvbox_drv.h1 /* SPDX-License-Identifier: MIT */
3 * Copyright (C) 2013-2017 Oracle Corporation
41 #define GUEST_HEAP_OFFSET(vbox) ((vbox)->full_vram_size - \
44 #define GUEST_HEAP_USABLE_SIZE (VBVA_ADAPTER_INFORMATION_SIZE - \
62 /* Array of structures for receiving mode hints. */
72 * Is user-space using an X.Org-style layout of one large frame-buffer
102 * When setting a mode we not only pass the mode to the hypervisor,
104 * for the emulated USB tablet. This input-mapping may change when
105 * the mode on *another* crtc changes.
107 * This means that sometimes we must do a modeset on other crtc-s then
[all …]
/kernel/linux/linux-5.10/sound/drivers/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
50 tristate "PC-Speaker support (READ HELP!)"
60 You can compile this as a module which will be called snd-pcsp.
65 pc-speaker a default sound device. Which is likely not
69 options snd-pcsp index=2
71 You don't need this driver if you only want your pc-speaker to beep.
72 You don't need this driver if you have a tablet piezo beeper
90 will be called snd-dummy.
99 the standard ALSA PCM device. The devices are routed 0->1 and
100 1->0, where first number is the playback PCM device and second
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
21 - azoteq,iqs620a
22 - azoteq,iqs621
23 - azoteq,iqs622
24 - azoteq,iqs624
[all …]

123