- 16 2月, 2016 1 次提交
-
-
由 Grazvydas Ignotas 提交于
The patch that added Logitech Dual Action gamepad support forgot to update the special driver list for the device. This caused the logitech driver not to probe unless kernel module load order was favorable. Update the special driver list to fix it. Thanks to Simon Wood for the idea. Cc: Vitaly Katraew <zawullon@gmail.com> Fixes: 56d0c8b7 ("HID: add support for Logitech Dual Action gamepads") Signed-off-by: NGrazvydas Ignotas <notasas@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 19 1月, 2016 2 次提交
-
-
由 Benjamin Tissoires 提交于
Plugging a Logitech DJ receiver with KASAN activated raises a bunch of out-of-bound readings. The fields are allocated up to MAX_USAGE, meaning that potentially, we do not have enough fields to fit the incoming values. Add checks and silence KASAN. Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Dmitry Torokhov 提交于
extract() and implement() access buffer containing reports in 64-bit chunks, but there is no guarantee that buffers are padded to 64 bit boundary. In fact, KASAN has caught such OOB access with i2c-hid and Synaptics touch controller. Instead of trying to hunt all parties that allocate buffers and make sure they are padded, let's switch extract() and implement() to byte access. It is a bit slower, bit we are not dealing with super fast devices here. Also let's fix link to the HID spec while we are at it. Signed-off-by: NDmitry Torokhov <dtor@chromium.org> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 08 1月, 2016 1 次提交
-
-
由 Kristian Evensen 提交于
There seems to be a new version of the Microchip Pick16F1454 with a different PID (0xf2f7). This device should also be ignored by the HID driver. The PID was observed with the second version of the Yepkit Ykush USB hub. Signed-off-by: NKristian Evensen <kristian.evensen@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 28 12月, 2015 3 次提交
-
-
由 Geliang Tang 提交于
Use kobj_to_dev() instead of open-coding it. Signed-off-by: NGeliang Tang <geliangtang@163.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Geliang Tang 提交于
Add a new helper to_hid_driver() and use it in hid-core.c. Signed-off-by: NGeliang Tang <geliangtang@163.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Geliang Tang 提交于
Use to_hid_device() instead of container_of(). Signed-off-by: NGeliang Tang <geliangtang@163.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 03 12月, 2015 1 次提交
-
-
由 Fu, Zhonghui 提交于
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition timing dependency between devices. This patch enables hid devices to suspend/resume asynchronously. This will take advantage of multicore and improve system suspend/resume speed. Signed-off-by: NZhonghui Fu <zhonghui.fu@linux.intel.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 20 11月, 2015 3 次提交
-
-
由 Rasmus Villemoes 提交于
scnprintf() exists to provide these semantics, so we might as well use it. Signed-off-by: NRasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Simon Wood 提交于
This patch adds basic support for the Logitech G920 wheel when in HID mode. This wheel 'speaks' the HID++ protocol, and therefor is driven with hid-logitech-hidpp. At this stage the driver only shows that it can communicate with the wheel by outputting the name discovered over HID++. The normal HID functions work to give input functionality using joystick/event interface. Note: in 'hidpp_probe()' we have to start the hardware to get packets flowing, the same might apply in future for other devices which don't use the unifying protocol. Signed-off-by: NSimon Wood <simon@mungewell.org> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Andy Lutomirski 提交于
Currently the sysfs report_descriptor attribute is only available if the device is claimed. We have the descriptor before we even create the device node, so just instantiate report_descriptor statically. Signed-off-by: NAndy Lutomirski <luto@kernel.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 07 11月, 2015 1 次提交
-
-
由 Simon Wood 提交于
At present the G29 is mis-identified as a DFGT, this patch ensures that the wheel is correctly detected and allows setting the LEDs and turning range via the '/sys' interface. This wheel can also emulate other types of Logitech wheels. Signed-off-by: NSimon Wood <simon@mungewell.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 01 10月, 2015 1 次提交
-
-
由 Clément Vuchener 提交于
This patch implements a HID driver for the Corsair Vengeance K90 keyboard. It fixes the behaviour of the keys using incorrect HID usage codes and exposes the macro playback mode and current profile to the user space through sysfs attributes. It also adds two LED class devices controlling the "record" LED and the backlight. Signed-off-by: NClément Vuchener <clement.vuchener@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 23 9月, 2015 3 次提交
-
-
由 Richard Purdie 提交于
hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where nothing would be written to it but the kernel will still print the supposedly empty buffer with printk. This leads to corruption on the console/in the logs. Ensure buf is initialized to an empty string. Signed-off-by: NRichard Purdie <richard.purdie@linuxfoundation.org> [dvhart: Initialize string to "" rather than assign buf[0] = NULL;] Cc: Jiri Kosina <jikos@kernel.org> Cc: linux-input@vger.kernel.org Cc: stable@vger.kernel.org Signed-off-by: NDarren Hart <dvhart@linux.intel.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Daniel Martin 提交于
Just to prettify the log message. Otherwise it would be <UNKNOWN>. Signed-off-by: NDaniel Martin <consume.noise@gmail.com> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Donavan Lance 提交于
Adds support for Microsoft Type Cover 3 with 0x07e2 product ID. Signed-off-by: NDonavan Lance <shvr@fedoraproject.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 04 9月, 2015 1 次提交
-
-
由 Harald Brinkmann 提交于
This patch enables the Saitek HID quirk for the mode button of the Mad Catz R.A.T.5 gaming mouse by adding the same quirk that's been neeeded for preivous versions. [jikos@kernel.org: update changelog a little bit] Signed-off-by: NHarald Brinkmann <hbrinkmann@braincalibration.de> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 25 8月, 2015 1 次提交
-
-
由 Michele Curti 提交于
Enable ELAN0100 touchpad driver, found on a Asus X205TA laptop, to gai 2,3 fingers tap and 2 fingers scroll. Signed-off-by: NMichele Curti <michele.curti@gmail.com> Reviewed-by: NDuson Lin <dusonlin@emc.com.tw> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 18 8月, 2015 1 次提交
-
-
由 Benjamin Tissoires 提交于
This gamepad advertise 5 absolute axis while 4 are actually used. The second Z axis shows some garbage, so it has to be ignored by HID. The first Z axis and the Rz one are actually Rx and Ry. Remap them. We could also just remap and ignore the axis in .input_mapping(). I went ahead with .report_fixup() first, so here it is. Reported-by: NOrivej Desh <orivej@gmx.fr> Tested-by: NOrivej Desh <orivej@gmx.fr> Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 29 7月, 2015 1 次提交
-
-
由 Николай Кудрявцев 提交于
Acer Aspire Switch 12 keyboard Chicony's controller reports too big usage index on the 1st interface. The patch fixes the report. The work based on solution from drivers/hid/hid-holtek-mouse.c Bug report: https://bugzilla.kernel.org/show_bug.cgi?id=101721Signed-off-by: NNicholas Kudriavtsev <nkudriavtsev@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.com>
-
- 28 7月, 2015 1 次提交
-
-
由 Henrik Rydberg 提交于
This patch adds keyboard support for MacbookPro12,1 as WELLSPRING9 (0x0272, 0x0273, 0x0274). The touchpad is handled in a separate bcm5974 patch, as usual. Tested-by: NJohn Horan <knasher@gmail.com> Tested-by: NJochen Radmacher <jradmacher@gmx.de> Tested-by: NYang Hongyang <burnef@gmail.com> Tested-by: NYen-Chin, Lee <coldnew.tw@gmail.com> Tested-by: NGeorge Hilios <ghilios@gmail.com> Tested-by: NJanez Urevc <janez@janezurevc.name> Signed-off-by: NHenrik Rydberg <rydberg@bitmath.org> Acked-by: NJiri Kosina <jkosina@suse.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 27 7月, 2015 1 次提交
-
-
由 Benjamin Tissoires 提交于
Some device present proprietary collections with a usage min of 0x00 and a usage max of 0xffff. hid-core currently reject them while most of the time this is harmless. Let's ignore the exceeding usages, and hope for the best. Reported-by: NSimon Wörner <mail@simon-woerner.de> Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.com>
-
- 24 7月, 2015 1 次提交
-
-
由 Stephen Just 提交于
Adding support for the Microsoft Surface 3 (non-pro) Type Cover. The existing definitions and quirks are actually for the Surface Pro 3 type covers. I've renamed the old constants to reflect that they belong to the Surface Pro 3, and added a new constant and matching code for the Surface 3. Signed-off-by: NStephen Just <stephenjust@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.com>
-
- 21 7月, 2015 1 次提交
-
-
由 Benjamin Tissoires 提交于
ELAN0600 seems to work just fine in mouse emulation mode through i2c-hid, but to have full raw touch support we need to register it in elan_i2c.ko Reported-and-tested-by: NAlessio Treglia <alessio@debian.org> Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: NJiri Kosina <jkosina@suse.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 18 6月, 2015 2 次提交
-
-
由 Raimund Roth 提交于
Adding support for the Microsoft Surface Pro Power Cover. Signed-off-by: NRaimund Roth <raimundmroth@gmail.gom> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Simon Wood 提交于
Signed-off-by: NSimon Wood <simon@mungewell.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 12 6月, 2015 1 次提交
-
-
由 Simon Wood 提交于
Signed-off-by: NSimon Wood <simon@mungewell.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 01 6月, 2015 2 次提交
-
-
由 Dennis O'Brien 提交于
Removes Vernier Software & Technology devices from the ldusb driver and the hid_ignore_list table of the usbhid driver in the Linux tree. These devices will now be supported via the hidraw driver. A user space driver for these devices will be found in the Go! Software Development Kit from Vernier at http://www.vernier.com/downloads/software-development-kits/go-sdk/. These devices are also be supported by the LabQuest2 standalone interface shown at http://www.vernier.com/products/interfaces/labq2/ and the LoggerPro for Linux software shown at http://www.vernier.com/downloads/logger-pro-linux/. Signed-off-by: NDennis O'Brien <dennis.obrien@eqware.net> Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Goffredo Baroncelli 提交于
Rename the function extract() to hid_field_extract(), make it external linkage to allow the use from other modules. Suggested-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NGoffredo Baroncelli <kreijack@inwind.it> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 12 5月, 2015 1 次提交
-
-
由 Sean Young 提交于
Once there were kernel drivers for some of the phidgets devices, and for those kernel drivers to work the hid system needed exceptions. Now the kernel drivers are long gone in favour of the user-space drivers. The user-space drivers support many more phidget devices and uses libusb. The udev rules set up permissions so that the kernel hid driver can be unbound from libusb, as it does for many devices not in hid_ignore_list. http://www.phidgets.com/docs/OS_-_LinuxSigned-off-by: NSean Young <sean@mess.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 07 5月, 2015 4 次提交
-
-
由 Sean Young 提交于
This device supports force feedback and has two ports. Signed-off-by: NSean Young <sean@mess.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Frank Praznik 提交于
Rearrange Sony controller devices into alphabetical order in the hardware device list. Signed-off-by: NFrank Praznik <frank.praznik@oh.rr.com> Acked-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Frank Praznik 提交于
Adds the PID for the Sony motion controller to the hardware ID list. Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NFrank Praznik <frank.praznik@oh.rr.com> Acked-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Benjamin Tissoires 提交于
This dock is used with the Thinkpad Helix 2 but suffers from an error in the report descriptor where an usage max is 65535. Add a report fixup for it and make the keyboard working. Tested-by: NJonathan Oppenheim <lejono@gmail.com> Tested-by: NJohn Reid <owlman.lists@gmail.com> Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 15 3月, 2015 1 次提交
-
-
由 Forest Wilkinson 提交于
The linux kernel has supported the TiVo Slide remote control for some time, but does not recognize the USB ID of the newer Slide Pro. This patch adds the missing data structures so the newer remote will be recognized by the driver, thereby allowing the TiVo, LiveTV, and Thumbs Up/Down buttons to be mapped with a hwdb file. Signed-off-by: NForest Wilkinson <web11.forest@tibit.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 23 2月, 2015 2 次提交
-
-
由 Olivier Gay 提交于
This commit exposes in sysfs the HID country code that is stored in the country member of hid_device structure. It identifies the country code of localized hardware. For example some keyboards use it to exhibit the language of the key layout. It helps the upper layer to identify the localized hardware and setup the correct language to use. For USB HID devices the country code comes for the HID descriptor and for Bluetooth HID devices it is the HIDCountryCode attribute from the SDP database. Signed-off-by: NOlivier Gay <ogay@logitech.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Jakub Sitnicki 提交于
Microsoft Natural Wireless Ergonomic Keyboard 7000 has special My Favorites 1..5 keys which are handled through a vendor-defined usage page (0xff05). Apply MS_ERGONOMY quirks handling to USB PID 0x071d (Microsoft Microsoft 2.4GHz Transceiver V1.0) so that the My Favorites 1..5 keys are reported as KEY_F14..18 events. Link: https://bugzilla.kernel.org/show_bug.cgi?id=52841Signed-off-by: NJakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 17 2月, 2015 2 次提交
-
-
由 Darren Salt 提交于
Signed-off-by: NDarren Salt <devspam@moreofthesa.me.uk> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Milan Plzik 提交于
Genius PenSketch M912 digitizer tablet sends incorrect report descriptor by default. This patch replaces it with a corrected one. Signed-off-by: NMilan Plzik <milan.plzik@gmail.com> Reviewed-by: NNikolai Kondrashov <spbnick@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 21 1月, 2015 1 次提交
-
-
由 Kristian Evensen 提交于
The Microchip Pick16F1454 is exported as a HID device and is used by for example the Yepkit YKUSH three-port switchable USB hub. However, it is not an actual HID-device. On the Yepkit, it is used to power up/down the ports on the hub. The HID driver should ignore this device. Signed-off-by: NKristian Evensen <kristian.evensen@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-