- 24 5月, 2022 5 次提交
-
-
由 Jiri Kosina 提交于
- support for wider variety of Huion tablets ported from DIGImend project (José Expósito, Nikolai Kondrashov)
-
由 Jiri Kosina 提交于
-
由 Jiri Kosina 提交于
-
由 Jiri Kosina 提交于
- Support for Keychron keyboards (Bryan Cain)
-
由 Jiri Kosina 提交于
- support for sensor discovery and code cleanups (Basavaraj Natikar)
-
- 11 5月, 2022 15 次提交
-
-
由 Bryan Cain 提交于
Keychron's C-series and K-series of keyboards copy the vendor and product IDs of an Apple keyboard, but only behave like that device when set to "Mac" mode. In "Windows" mode, the Fn key doesn't generate a scancode, so it's impossible to use the F1-F12 keys when fnmode is set to its default value of 1. To fix this, make fnmode default to the new value of 3, which behaves like fnmode=2 for Keychron keyboards and like fnmode=1 for actual Apple keyboards. This way, Keychron devices are fully usable in both "Windows" and "Mac" modes, while behavior is unchanged for everything else. Signed-off-by: NBryan Cain <bryancain3@gmail.com> Reviewed-by: NHans de Goede <hdegoede@redhat.com> Tested-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
The (incorrect) "Pen" (0x02) application usage used in replacement report descriptors throughout the drivers leads to all tablets recognized as a "direct" input device (i.e. a tablet monitor) by recent kernels, which messes up desktop environments [1]. Replace the application usage with "Digitizer" (0x01) for each non-display graphics tablet. [1] https://lore.kernel.org/linux-input/f39ce5d5-bd5b-bd3f-3ea2-9b2a89ba1eb1@gmail.com/Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Roman Romanenko 提交于
Similar to other UGEE pens, but the IDs were missing. Signed-off-by: NRoman Romanenko <romu4444@gmail.com> Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Improve support for touch strips. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Always decrement touch report values to have the range start with zero, regardless if flipped or not. This fixes the future non-flipped touch strip reports. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Accommodate both touch ring and touch strip in naming throughout hid-uclogic by talking about abstract "touch" instead of "touch ring", wherever possible. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Return the raw parameters buffer from uclogic_params_pen_init_v2(), if requested, as a way to identify the tablet. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Move parameter printing from a format string/argument list to a function to allow printing the full parameters, which now wouldn't fit into a single print call. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
Currently sensor hub shows "<UNKNOWN>", but this is a pretty common type available in many notebooks. Hence using the string "SENSOR HUB". Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
This should allow external drivers to reference this bus ID reservation and detect data coming from amd-sfh. Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
when HID device is loaded a wrong string is shown as physical location is not declared. ``` hid-generic 0020:1022:0001.0009: hidraw4: <UNKNOWN> HID v0.00 Device [hid-amdtp 1022:0001] on ``` Hence use amd sfh driver name or device name which is connected to the HID device. Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
Modifying the amd-sfh hid name to meaningful name. Fixes: 4b2c53d9 ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)") Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
Modifying the amd-sfh bus name to meaningful name. Fixes: 4b2c53d9 ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)") Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
Adding get sensor name for debug info. This will make debug messages clearer. Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Basavaraj Natikar 提交于
Sensor discovery status fails in case of broken sensors or platform not supported. Hence disable driver on failure of sensor discovery. Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Signed-off-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 06 5月, 2022 7 次提交
-
-
由 Dongliang Mu 提交于
There is a slab-out-of-bounds Write bug in hid-bigbenff driver. The problem is the driver assumes the device must have an input but some malicious devices violate this assumption. Fix this by checking hid_device's input is non-empty before its usage. Reported-by: Nsyzkaller <syzkaller@googlegroups.com> Signed-off-by: NDongliang Mu <mudongliangabcd@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Disable pen usage inputs for Huion interfaces reporting on-the-frame buttons. We don't want to change those, as they mostly work, but we want to avoid creation of a mute pen interface, confusing to users. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Restore the ability to disable pen usage in hid-uclogic to support e.g. keyboard interfaces which also have pen usages for some reason, but which we don't want to rewrite report descriptors for. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Allow keyboard reports from interface #1 of Huion tablets to pass unmodified, and stop the Wacom X.org driver from handling them. The method for the latter is rather crude and also take the Dial reports from the Wacom driver, but it's expected that libinput will be able to handle them (still to be tested). This enables Huion HS611 media and desktop keys. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Documentation improvements. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Documentation improvements. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 frank zago 提交于
This patch adds support for one of the several Mega World USB game controller with integrated force feedback. It is a HID based memory-less game controller, with a weak motor on the left, and a strong one on the right. Signed-off-by: Nfrank zago <frank@zago.net> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 02 5月, 2022 3 次提交
-
-
由 ValdikSS 提交于
Signed-off-by: NFlorian Klink <flokli@flokli.de> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 ValdikSS 提交于
When Fn-Esc is pressed on the keyboard, it emits the scancode which could be used to sync the fn_lock sysfs state. Previously fn_lock only allowed to set new Fn-lock state and did not keep the value in sync upon Fn-Esc press, which is now fixed. Signed-off-by: NFlorian Klink <flokli@flokli.de> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 ValdikSS 提交于
This keyboard has two modes: regular HID and a native mode, which is used in Windows driver. Native mode disables (poor) middle mouse button scrolling emulation and reports middle button and scrolling events with a custom report ID, which could be better handled in the driver. This commit adds functional button mapping and native scrolling support. HID collection in Bluetooth mode for custom report ID=5 is broken and is patched upon connection. The collection initially contains incorrect Usage Minimum/Usage Maximum numbers and, more importantly, marks Input as Variable, not Array, while reporting values as in Array. The keyboard is very similar to Compact USB/Bluetooth Keyboard with TrackPoint, that's why this patch reuses all of cptkbd functions, except for input mapping. Signed-off-by: NFlorian Klink <flokli@flokli.de> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 21 4月, 2022 8 次提交
-
-
由 Miaoqian Lin 提交于
'input' is a managed resource allocated with devm_input_allocate_device(), so there is no need to call input_free_device() explicitly or there will be a double free. According to the doc of devm_input_allocate_device(): * Managed input devices do not need to be explicitly unregistered or * freed as it will be done automatically when owner device unbinds from * its driver (or binding fails). Fixes: b7429ea5 ("HID: elan: Fix memleak in elan_input_configured") Fixes: 9a6a4193 ("HID: Add driver for USB ELAN Touchpad") Signed-off-by: NMiaoqian Lin <linmq006@gmail.com> Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Jonathan Teh 提交于
Increase maximum brightness for Dream Cheeky to 63. Emperically determined based on testing in kernel 4.4 on this device: Bus 003 Device 002: ID 1d34:0004 Dream Cheeky Webmail Notifier Fixes: 6c7ad07e ("HID: migrate USB LED driver from usb misc to hid") Signed-off-by: NJonathan Teh <jonathan.teh@outlook.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Marek Maślanka 提交于
The Google Whiskers touchpad does not work properly with the default multitouch configuration. Instead, use the same configuration as Google Rose. Signed-off-by: NMarek Maslanka <mm@semihalf.com> Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Tom Rix 提交于
Smatch reports this representative issue amd_sfh_hid_report_desc.h:182:10: warning: symbol 'gyro3_report_descriptor' was not declared. Should it be static? Similar issues for comp3_report_descriptor and als_report_descriptor. Global variables should not be defined in header files. This only works because amd_sfh_hid_report_desc.h in only included by amd_sfh_hid_desc.c so change the storage-class specifiers to static. Signed-off-by: NTom Rix <trix@redhat.com> Acked-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
The Huion Q620M tablet needs a v2 frame dial. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
A bitmap dial sends reports with a dedicated bit per direction: 1 means clockwise rotation, 2 means counterclockwise, as opposed to the normal 1 and -1 values. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Improve legibility of UCLOGIC_PARAMS_FMT_STR/ARGS. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Shorten the format string for printing out UC-Logic interface parameters so that it fits into a single log message. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 11 4月, 2022 2 次提交
-
-
由 Nehal Bakulchandra Shah 提交于
Remove my name from maintainer-ship of AMD SENSOR FUSION HUB DRIVER Signed-off-by: NNehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com> Acked-by: NBasavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Support touch ring reports found in Huion HS610 to the UC-Logic driver. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJosé Expósito <jose.exposito89@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-