- 19 9月, 2016 2 次提交
-
-
由 Nikolai Kondrashov 提交于
Add more product IDs to hid-uclogic.c driver to support several more tablet models, including: UC-Logic DrawImage G3 aka Ugee G3 UC-Logic SP1001 aka Ugee SP1001 aka Yiynova UC-Logic SP-1001 Ugee 1000L Ugee M708 Yiynova DP10U aka Yiynova DP10U+ Yiynova MSP19U Yiynova MSP19U+ Yiynova MVP10U aka Yiynova MVP10U IPS Yiynova MVP10UHD+IPS Yiynova MVP22U+ Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Nikolai Kondrashov 提交于
Rename the device ID macro for the second version of KYE MousePen i608x graphics tablet to have "V" in its name to signify that "2" is a version. I.e. USB_DEVICE_ID_KYE_MOUSEPEN_I608X_2 -> USB_DEVICE_ID_KYE_MOUSEPEN_I608X_V2 This also makes applying additional fixes from DIGImend easier. Signed-off-by: NNikolai Kondrashov <spbnick@gmail.com> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 11 7月, 2016 1 次提交
-
-
USB device Vendor 05ac (Apple) Device 0267 (Magic Keyboard) This keyboard supports both Bluetooth and USB connections, this patch only covers USB. Thanks to Maxime Poulin <maxpoulin64@gmail.com> Signed-off-by: NJean-Gabriel Gill-Couture <jeangab@jeangab.fr.nf> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 07 7月, 2016 2 次提交
-
-
由 Heiner Kallweit 提交于
Add support for Greynut Luxafor. This device has two groups of three independent LED's each. Successfully tested with such a device. Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Heiner Kallweit 提交于
Add support for the HID-compliant Delcom Visual Signal Indicator generation 2 devices. Successfully tested with part no 904000 from the family of these devices. Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 23 6月, 2016 1 次提交
-
-
由 Masaki Ota 提交于
Remove an unnecessary codes. Change input_ivent() function to appropriate function. Add the device ID of "HID_DEVICE_ID_ALPS_U1_DUAL". [jkosina@suse.cz: removed unnecessary bitshifts of values passed input_report_key() as spotted by Dmitry] Signed-off-by: NMasaki Ota <masaki.ota@jp.alps.com> Reviewed-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 20 6月, 2016 1 次提交
-
-
由 Jiri Kosina 提交于
All devices with ALPS_JP VID are handled by hid-alps driver, hence they require an entry in hid_have_special_driver[]. Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 18 6月, 2016 1 次提交
-
-
由 Heiner Kallweit 提交于
This patch migrates the USB LED driver to the HID subsystem. Supported are Dream Cheeky Webmail Notifier / Friends Alert and Riso Kagaku Webmail Notifier. Benefits: - Avoid using USB low-level calls and use the HID subsystem instead (as this device provides a USB HID interface) - Use standard LED subsystem instead of proprietary sysfs entries, this allows e.g. to use the device with features like triggers Successfully tested with a Dream Cheeky Webmail Notifier and a Riso Kagaku Webmail Notifier compatible device. Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 07 4月, 2016 1 次提交
-
-
由 Dmitry Torokhov 提交于
The 'size' variable is not really needed, and we can also shift constant in the loop body when masking off existing bits. Also we do not have to use 64 bit calculations if we take an extra branch. [jkosina@suse.cz: fix a small error in changelog] Suggested-by: NDoug Anderson <dianders@chromium.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: NDouglas Anderson <dianders@chromium.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 04 4月, 2016 2 次提交
-
-
由 Alistair Leslie-Hughes 提交于
Adds support for the Micrsift Digital 4K, Media 600 and Media 3000 V1 Keyboards, which have the same quirks as the already existing hardware MS_NE4K. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=52841 [jkosina@suse.cz: rephrase changelog] Signed-off-by: NAlistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Yusuke Fujimaki 提交于
Asus X205TA and E200HA built-in keyboard contain wrong logical maximum value in report descriptor. This patch correct wrong logical maximum in report descriptor. Signed-off-by: NYusuke Fujimaki <usk.fujimaki@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 01 4月, 2016 1 次提交
-
-
由 Yusuke Fujimaki 提交于
Asus X205TA built-in keyboard contains wrong logical maximum value in report descriptor. 0x05, 0x01, // Usage Page (Generic Desktop) 0x09, 0x06, // Usage (Keyboard) 0xa1, 0x01, // Collection (Application) 0x85, 0x01, // Report ID (1) 0x05, 0x07, // Usage Page (Keyboard/Keypad) 0x19, 0xe0, // Usage Minimum (224) 0x29, 0xe7, // Usage Maximum (231) 0x15, 0x00, // Logical Minimum (0) 0x25, 0x01, // Logical Maximum (1) 0x75, 0x01, // Report Size (1) 0x95, 0x08, // Report Count (8) 0x81, 0x02, // Input (Data,Array,Abs) 0x95, 0x01, // Report Count (1) 0x75, 0x08, // Report Size (8) 0x81, 0x03, // Input (Const,Var,Abs) 0x95, 0x05, // Report Count (5) 0x75, 0x01, // Report Size (1) 0x05, 0x08, // Usage (LED) 0x19, 0x01, // Usage Minimum (1) 0x29, 0x05, // Usage Maximum (5) 0x91, 0x02, // Output (Data,Var,Abs) 0x95, 0x01, // Report Count (1) 0x75, 0x03, // Report Size (3) 0x91, 0x03, // Output (Const,Var,Abs) 0x95, 0x06, // Report Count (6) 0x75, 0x08, // Report Size (8) 0x15, 0x00, // Logical Minimum (0) 0x25, 0x65, // Logical Maximum (101) * too small * 0x05, 0x07, // Usage Page (Keyboard/Keypad) 0x19, 0x00, // Usage Minimum (0) 0x29, 0xdd, // Usage Maximum (221) 0x81, 0x00, // Input(Data,Array,Abs) In Asus X205TA japanese keyboard model,there are language specific keys over usage id 101. This patch correct wrong logical maximum in report descriptor. Signed-off-by: NYusuke Fujimaki <usk.fujimaki@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 16 3月, 2016 1 次提交
-
-
由 Slava Bacherikov 提交于
Microsoft Wireless Comfort Keyboard has vendor specific My Favorites 1-5 keys. Linux already supports this buttons on other MS keyboards by MS_ERGONOMY quirk. So apply MS_ERGONOMY quirk to USB PID 0x00e3 (Microsoft Wireless Optical Desktop Receiver 3.0A). After this My Favorites 1..5 keys will be reported as KEY_F14..KEY_F15 events. Signed-off-by: NSlava Bacherikov <slava@bacher09.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 02 3月, 2016 1 次提交
-
-
由 Ben Chen 提交于
The C-Media CM6533 is a USB audio chip featuring it's jack detection capability.The device originates an interrupt transfer via HID interface each time when a jack event occurs. The purpose of this patch is to handle hid raw events to keep the operating system informed of user interactions. Signed-off-by: NBen Chen <ben_chen@bizlinktech.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 16 2月, 2016 2 次提交
-
-
由 Benjamin Tissoires 提交于
hid_ignore_special_drivers works fine until hid_scan_report autodetects and reassign devices (for hid-multitouch, hid-microsoft and hid-rmi). Simplify the handling of the parameter: if it is there, use hid-generic, no matter what, and if not, scan the device or rely on the hid_have_special_driver table. This was detected while trying to disable hid-multitouch on a Surface Pro cover which prevented to use the keyboard. Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> CC: stable@vger.kernel.org Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 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 3 次提交
-
-
由 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>
-
由 Scott Moreau 提交于
This adds rumble and LED support for nyko core controllers using the sino lite chip vendor:1345 product:3008, for PS3. Setting operational mode and output reports are the same as sixaxis but the input report has a different format since the PS3 accepts HID usb devices. For it to work, an exception is needed to skip overriding the report descriptor and use the original one. Signed-off-by: NScott Moreau <oreaus@gmail.com> Acked-by: NAntonio Ospite <ao2@ao2.it> 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>
-