Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2016-01-06 Thread Jiri Kosina
o take over the xpad.c heavylifting, but before that work gets done, this can stay, can't it? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-30 Thread Jiri Kosina
tput reports while the device is being > reset by adding a mutex which is held during that time. Thanks Mika. Applied to for-4.4/upstream-fixes. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.

Re: [PATCH 1/5] HID: move to_hid_device() to hid.h

2015-12-28 Thread Jiri Kosina
On Sun, 27 Dec 2015, Geliang Tang wrote: > to_hid_device() macro is defined in both hid-lg4ff.c and > hid-logitech-hidpp.c. So I move it to include/linux/hid.h. > > Signed-off-by: Geliang Tang I've applied the whole series to hid.git#for-4.5/container-of-cleanups -- Jiri

Re: [PATCH] HID: sony: Add rumble and LED support for Nyko Core Controller

2015-12-28 Thread Jiri Kosina
ch adds > rumble > and led support in the hid-sony driver. Scott, the patch is missing your Signoff; as such, it unfortunately can't be merged. Please see Documentation/SubmittingPatches for details. Antonio, Frank, I'd like to have your Ack for this one as well is possible. T

Re: [PATCH 4/4] HID: usbhid: use to_usb_device

2015-12-28 Thread Jiri Kosina
struct usb_device, dev) > + to_usb_device(hid_dev->dev.parent->parent) Applied to hid.git#for-4.5/upstream. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] HID: corsair: Convert to use module_hid_driver

2015-12-28 Thread Jiri Kosina
driver(&corsair_driver); > -} > - > -static void corsair_exit(void) > -{ > - hid_unregister_driver(&corsair_driver); > -} > - > -module_init(corsair_init); > -module_exit(corsair_exit); > +module_hid_driver(corsair_driver); > > MODULE_LICENSE("GPL&

Re: [PATCH] HID: sensor-hub: Add quirk for Lenovo Yoga 900 with ITE Chips

2015-12-28 Thread Jiri Kosina
On Fri, 18 Dec 2015, Srinivas Pandruvada wrote: > This needs same quirk as applied to other YOGA sensor hubs. > Refer to > 47eeca8a48 (" HID: sensor-hub: Add in quirk for Lenovo Yogas with ITE") Which tree is this SHA from? -- Jiri Kosina SUSE Labs -- To unsubscribe from

Re: [PATCH] HID: sensor-hub: Add quirk for Lenovo Yoga 900 with ITE Chips

2015-12-22 Thread Jiri Kosina
udan I got a bit lost here ... what's the status of this patch? Nishanth later reported that the patch actually doesn't fix the issue for him, so? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a mes

Re: [PATCH] hid-input: ignore the battery in OKLICK Laser BTmouse

2015-12-17 Thread Jiri Kosina
On Mon, 14 Dec 2015, Alexander E. Patrakov wrote: > This mouse, when asked about the battery, ceases to report movements and > clicks. So just don't ask. > > Signed-off-by: Alexander E. Patrakov Applied to for-4.5/core branch, thanks. -- Jiri Kosina SUSE Labs -- To unsu

Re: [PATCH 1/4] HID: wacom: Limit touchstrip data to 13 bits

2015-12-17 Thread Jiri Kosina
I've applied the series to for-4.5/wacom. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch] HID: wacom: bitwise vs logical ORs

2015-12-17 Thread Jiri Kosina
viewed-by: Jason Gerecke Queued in for-4.5/wacom, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch] HID: wacom: bitwise vs logical ORs

2015-12-16 Thread Jiri Kosina
wacom: Slim down wacom_intuos_pad processing') > Signed-off-by: Dan Carpenter Jason, could you please provide your Ack for this one? It's obviously a Correct Thing To Do(TM), but I assume you've tested on your devices with this patch, so some other changes might potentially b

Re: [PATCH 1/1] Support for CMedia CM6533 HID audio jack controls.

2015-12-16 Thread Jiri Kosina
+ struct hid_usage *usage, unsigned long **bit, int *max) > +{ > + return -1; > +} Why do you need this at all? [ ... snip ... ] > -- > Legal Disclaimer: > The information contained in this message may be privileged and > confidential. It is intended to be rea

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-16 Thread Jiri Kosina
> + } while (tries-- > 0 && ret); > + > if (ret) > return ret; As a possible alternative, please test the patch above on top of for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git It contains 64bebefcf3 ("HI

Re: [PATCH 154/182] hid: cp2112: use gpiochip data pointer

2015-12-09 Thread Jiri Kosina
On Wed, 9 Dec 2015, Linus Walleij wrote: > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). > > Cc: Jiri Kosina > Cc: linux-input@vger.kernel.org > Signed-off-by: Linus Wal

Re: [PATCH] HID: wacom: Apply lowres quirk to BAMBOO_TOUCH devices

2015-12-08 Thread Jiri Kosina
e absence of this quirk does not significantly impact usability, but > is a correctness issue nonetheless. > > Signed-off-by: Jason Gerecke Applied to for-4.5/wacom. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the

Re: [PATCH v2] hid: enable hid device to suspend/resume asynchronously

2015-12-03 Thread Jiri Kosina
vice *hid_allocate_device(void) > device_initialize(&hdev->dev); > hdev->dev.release = hid_device_release; > hdev->dev.bus = &hid_bus_type; > + device_enable_async_suspend(&hdev->dev); Applied to for-4.5/async-suspend branch. -- Jiri Kosina

Re: [PATCH 1/7] HID: wacom: Move Intuos pad handling code into dedicated function

2015-12-02 Thread Jiri Kosina
t, thanks. I have applied it to for-4.5/wacom branch. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/7] HID: wacom: Move Intuos pad handling code into dedicated function

2015-12-02 Thread Jiri Kosina
On Wed, 2 Dec 2015, Jiri Kosina wrote: > I know that this code (and other instances of similar spaghetti) has been > there before already and you are just moving it around, but isn't this the > proper time to clean it up a bit? > > Like change it to a for-loop that'd u

Re: [PATCH 1/7] HID: wacom: Move Intuos pad handling code into dedicated function

2015-12-02 Thread Jiri Kosina
TN_9, (data[8] & 0x02)); > + input_report_key(input, BTN_A, (data[8] & 0x04)); > + input_report_key(input, BTN_B, (data[8] & 0x08)); > + input_report_key(input, BTN_C, (data[8] & 0x10)); > + input_report_key(input, BTN_X, (dat

Re: [PATCH] HID: multitouch: fix input mode switching on some Elan panels

2015-12-02 Thread Jiri Kosina
for the input mode and > are > thus not affected by this change. Thanks for detailed assessment. After considering the alternatives, I've now applied it to for-4.5/multitouch. If it later proves itself to be regression-free, we might well backport it to -stable. Ok? Thanks, --

Re: [PATCH] HID: lg: restrict filtering out of first interface to G29 only

2015-12-02 Thread Jiri Kosina
> --- > > Hi Jiri, > > as reported in #108121, this is 4.4-rc material. At least 2 people already > started complaining about it on the mailing list, so it should definitively > be fixed before 4.4 is out. Applied to for-4.4/upstream-fixes, thanks. -- Jiri Kosina SUSE Labs

Re: [PATCH v5 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices

2015-12-01 Thread Jiri Kosina
ien Vergé Reviewed-by: Benjamin Tissoires Reviewed-by: Jiri Kosina Greg, I guess it makes sense to take both 1/2 and 2/2 together as a whole. Would you mind adding the tags above and taking it through usb git tree? Alternatively I can take it through my tree if you Ack the usb part. Thanks

Re: [PATCH v2] hid: usbhid: hid-core: fix recursive deadlock

2015-12-01 Thread Jiri Kosina
id state, calling hid_input_report() > with the spinlock unlocked, allowing the device driver to grab the > lock first, finish and then grab the lock afterwards in hid_ctrl(). > > This patch implements the 2nd solution. > > Signed-off-by: Ioan-Adrian Ratiu Applied to for

Re: [PATCH] HID: debug: improve hid_debug_event()

2015-11-26 Thread Jiri Kosina
ad > buf[i] anyway, so testing it is almost free) and the latter by > changing i to unsigned. This cuts 29% (69 bytes) of the size of the > function. > > Signed-off-by: Rasmus Villemoes Agreed, this is much better. Applied to for-4.5/core, thanks Rasmus. -- Jiri Kosina SUSE Labs --

Re: [PATCH 0/2] HID: Force feedback support for the Logitech G920 Wheel

2015-11-26 Thread Jiri Kosina
it'd be nice if I could get your Tested-by: / Reviewed-by: for this. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2015-11-26 Thread Jiri Kosina
remove quirk MT_QUIRK_ALWAYS_VALID to enable palm > rejection for the WIN 8 touchpad devices which have implemented usage > Confidence in its input reports. > > Tested on Dell XPS 13 laptop. > > Signed-off-by: Allen Hung Applied to for-4.5/multitouch. Thanks, -- Jiri Kosin

Re: [PATCH] USB: quirks: Fix another ELAN touchscreen

2015-11-23 Thread Jiri Kosina
device number 42 using xhci_hcd > [ 2891.783438] usb 1-5: unable to read config index 0 descriptor/start: -71 > [ 2891.783443] usb 1-5: can't read configurations, error -71 The drivers/hid part is Acked-by: Jiri Kosina Makes one wonder however whether we shouldn't be appl

Re: [PATCH] usbhid: discarded events don't abort idleness

2015-11-23 Thread Jiri Kosina
On Thu, 5 Nov 2015, Oliver Neukum wrote: > If an event is discarded the device stays idle. > Just reverse the order of check and marking busy. > > Signed-off-by: Oliver Neukum Applied to for-4.5/core. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: s

Re: [PATCH] usbhid: discarded events don't abort idleness

2015-11-20 Thread Jiri Kosina
eal problems (and hence it should be merged for 4.4), or if you found it just by code inspection (and therefore it should be fine to merge it for 4.5). Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body

Re: [PATCH] HID: core: use scnprintf in modalias_show()

2015-11-20 Thread Jiri Kosina
On Sat, 14 Nov 2015, Rasmus Villemoes wrote: > scnprintf() exists to provide these semantics, so we might as well use > it. > > Signed-off-by: Rasmus Villemoes Applied to hid.git#for-4.5/core. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line

Re: [Patch-V3 0/6] HID: Support for the Logitech G920 Wheel

2015-11-20 Thread Jiri Kosina
Linus first. Do you want me to send you a "proper" pull request? :) Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] HID: usbhid: add Logitech G710+ keyboard quirk NOGET

2015-11-20 Thread Jiri Kosina
On Fri, 20 Nov 2015, Jimmy Berry wrote: > Without quirk keyboard repeats '6' until volume control is used since it > indicates the key is pressed without ever releasing. > > Signed-off-by: Jimmy Berry Applied to for-4.4/upstream-fixes. Thanks, -- Jiri Kosina SUSE Labs

[PATCH] HID: add Benjamin Tissoires as designated reviewer / co-maintainer

2015-11-20 Thread Jiri Kosina
From: Jiri Kosina Benjamin has been helping a lot over time with reviewing patches flowing into HID subsystem. Let's make it official. Acked-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTA

Re: [PATCH] hid: Make report_descriptor available for all devices

2015-11-19 Thread Jiri Kosina
Andy Lutomirski Agreed, that's generally useful; applied to for-4.5/core branch. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] hid: usbhid: hid-core: fix recursive deadlock

2015-11-19 Thread Jiri Kosina
. If you have already done the full analysis that shows that usbhid->lock is indeed not needed, this absolutely needs to go into changelog as proper justification. Could you please reformulate the changelog in this respect and resubmit? Thanks, -- Jiri Kosina SUSE Labs -- To unsubsc

Re: [PATCH] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"

2015-11-19 Thread Jiri Kosina
detected by using the Coccinelle software. Applied to for-4.5/wacom. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RESEND PATCH] hid: Drop owner assignment from i2c_driver

2015-11-19 Thread Jiri Kosina
On Thu, 19 Nov 2015, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > Acked-by: Benjamin Tissoires Applied to for-4.5/i2c-hid. Thanks, -- Jiri Kosina SUSE Labs -- To u

Re: [PATCH] hid: sony: Remove the size check for the Dualshock 4 HID Descriptor

2015-11-19 Thread Jiri Kosina
> The module is completely replacing the descriptor instead of patching it, so > the > size check isn't really necessary anyways. > > Signed-off-by: Frank Praznik Applied to for-4.5/sony, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "u

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-19 Thread Jiri Kosina
; > Signed-off-by: Simon Wood Adding Dmitry to CC. Dmitry, I am planning to take this through my tree together with the rest of the actual HID support for that device if you Ack this. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-i

Re: [PATCH v2 0/2] hid: sony: Clear and restore controller state on suspend and resume

2015-11-19 Thread Jiri Kosina
resume. > > Force-feedback is cleared on suspend but the state is not restored on resume > since it can potentially result in hardware damage if the device is unattended > when the system wakes. A new event will be required to resume force-feedback. Applied to for-4.5/sony. Thank

Re: [Patch-V2 0/6] HID: Support for the Logitech G920 Wheel

2015-11-19 Thread Jiri Kosina
On Thu, 12 Nov 2015, Simon Wood wrote: > Patch-V2 tweaked as per Benjamin's requests. Looking at the patches, I am happy with them, but still would like to have Benjamin's Ack/Reviewed-by before merging them. Benjamin ... ? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe f

Re: [PATCH] hid: usbhid: hid-core: fix recursive deadlock

2015-11-19 Thread Jiri Kosina
> I'll continue to research this more in depth, but progress is slow > because I don't have much time, I'm doing this in my spare time because > it's my girlfriend's tablet. Oh, now I understand the level of severity of this bug! :-) Thanks, -- Jiri Ko

Re: [PATCH] hid: usbhid: hid-core: fix recursive deadlock

2015-11-19 Thread Jiri Kosina
;d better first understand the problem rather than papering it over with more or less random fixes. First, have you tried to run your usecase on your system with lockdep enabled? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] hid: usbhid: hid-core: fix recursive deadlock

2015-11-18 Thread Jiri Kosina
the lock > after the hid_input_report() call and the deadlock dissapears. I think the proper fix actually is to spin_lock_irqsave() in hid_ctrl(), isn't it? -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a me

Re: drivers/hid/wacom_wac.c:2484: bad if test ?

2015-11-16 Thread Jiri Kosina
Yup, I have already comitted fix with David's Reported-by:, just wanted to make you aware of this. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: drivers/hid/wacom_wac.c:2484: bad if test ?

2015-11-16 Thread Jiri Kosina
BAMBOO_PT) Good catch, that code is obviously crappy. Adding Ping, Aaron and Jason to CC. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] hid: enable hid device to suspend/resume asynchronously

2015-11-16 Thread Jiri Kosina
aised at http://lkml.kernel.org/r/alpine.lnx.2.00.1509251404130.30...@pobox.suse.cz has ever been answered or at least discussed ... ? -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kern

Re: [PATCH] HID: wacom: Add outbounding area for DTU1141

2015-11-13 Thread Jiri Kosina
_DTU_OFFSET, WACOM_DTU_OFFSET }; > static const struct wacom_features wacom_features_0x57 = > { "Wacom DTK2241", 95640, 54060, 2047, 63, > DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6, Applied to for-4.4/upstream-fixes. -- Jiri Kosina SUSE Labs -- To unsubscribe f

Re: [PATCH 1/2] HID: hid-logitech: Simplify wheel detection scheme

2015-11-06 Thread Jiri Kosina
On Mon, 2 Nov 2015, Simon Wood wrote: > Simplfy how hid-logitech driver detects the native mode of the wheel, > done by looking at the USB-ID revision and comparing bit mask. > > Signed-off-by: Simon Wood I've applied both patches to for-4.4/logitech. Thanks, -- Jiri Kosina

Re: [PATCH v2] HID: wacom: Call 'wacom_query_tablet_data' only after 'hid_hw_start'

2015-11-05 Thread Jiri Kosina
Jiri, > > Ping clued me in to the fact that 'wacom_query_tablet_data' hasn't always > been in this problematic location. The offending commit mentioned in the > revised commit summary is queued for 4.4, so this only needs to get into > the next RC rather than be targ

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-04 Thread Jiri Kosina
nother option would be to create a joint merge tree that'd contain both branches merged together and proceed further from that, but I don't think it's worth the hassle for simple case like this. Works for you? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: sen

Re: [PATCH 2/3] HID: wacom: Remove useless conditions from 'wacom_query_tablet_data'

2015-11-03 Thread Jiri Kosina
set. This is really late in the game (the merge window is already open), but given the nature of the patches (we'll be sending them as -rc bugfixes later anyway), I've just picked those up to for-4.4/wacom. 1/1 I am sure you two will have some more discussion about :) so I am i

Re: [PATCH] HID: wacom: fix Intuos wireless report id issue

2015-11-02 Thread Jiri Kosina
ported-by: Dale Brewe > Tested-by: Dale Brewe > Signed-off-by: Ping Cheng Applied to hid.git#for-4.4/wacom. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Jiri Kosina
gt; please resend with that fixed? > > > > Have you guys noticed the patch [1] to support Surface Book along with > Surface Pro 3? Not really. A quick scan through my mailbox tells me that it has actually never submitted to me for inclusion into the kernel. > [1] https://github

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Jiri Kosina
On Tue, 27 Oct 2015, savoca wrote: > Adding support for device 0x07e8 (SP4 Type Cover) > > Signed-off-by: savoca Thanks for the patch. The authorship and signoffs should same real names though. Could you please resend with that fixed? -- Jiri Kosina SUSE Labs -- To unsubscribe

Re: [RFC 1/5] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-10-30 Thread Jiri Kosina
[ Benjamin added to CC ] Benjamin, before I proceed with this series, I'd like you to have review the HID++ bits at least, if possible. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@v

Re: [PATCH] hid-gfrm: Google Fiber TV Box remote controls

2015-10-26 Thread Jiri Kosina
On Thu, 22 Oct 2015, Jiri Kosina wrote: > > Add HID driver for Google Fiber TV Box remote controls > > I am not particularly happy with drvdata not being actually used "the > usual way", i.e. to store a pointer, but apart from being unusual, I don't > see a re

Re: [PATCH] HID: usbhid: Add a quirk for Xin-Mo Dual Arcade

2015-10-24 Thread Jiri Kosina
DOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE, > HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT }, > > { 0, 0 } > }; > -- > 2.5.0 > -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] hid-gfrm: Google Fiber TV Box remote controls

2015-10-22 Thread Jiri Kosina
y, as this depends on a patch queued in your tree, would you be okay with taking the patch with my signoff? Thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org

Re: [PATCH] HID: reject input outside logical range only if null state is set

2015-10-21 Thread Jiri Kosina
ld->flags & HID_MAIN_ITEM_NULL_STATE) && > (field->logical_minimum < field->logical_maximum) && > (value < field->logical_minimum || > value > field->logical_maximum)) { Your patch has been corrupted by your mailer badly. Please try to fix it (some hi

Re: [PATCH 1/1] HID: fix some indenting issues

2015-10-21 Thread Jiri Kosina
the are not really worth it per se, but the ones in aureal_report_fixup() and sensor_hub_*() are annoying enough to make the code harder to read, so I am applying it as a whole. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input"

Re: [PATCH 2/2] HID: wacom: Expect 'touch_max' touches if HID_DG_CONTACTCOUNT not present

2015-10-21 Thread Jiri Kosina
implementation of my "Ignore contacts in excess of declared > contact count" patch which was pulled in as part of the 4.3 merge window. Alright, I've applied this to for-4.3/upstream-fixes, but it's now very late in the cycle, so I am not 100% sure this patch will make it

Re: [PATCH] HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes

2015-10-21 Thread Jiri Kosina
I would suggest future removal of device specific > drivers. > The userspace tools don't use these attributes for a year now. > The first Kone is not fully HID-compliant and will still need a module. Ok, I am queuing this in for-4.4/roccat-sysfs-deprecation, let's see how this go

Re: [PATCH v3] HID: wacom: Add support for Cintiq Companion 2

2015-10-21 Thread Jiri Kosina
_2 case. The second case has been moved to the >switch in wacom_setup_pad_input_capabilities where it belongs. > > * The second CINTIQ_COMPANION_2 case mentioned above no longer explicitly >sets up the pad buttons since wacom_setup_numbered_buttons is now >(70ee06c) in charge

Re: [PATCH] HID: wacom: Report full pressure range for Intuos, Cintiq 13HD Touch

2015-10-21 Thread Jiri Kosina
if it should read the > 11th bit. > > Signed-off-by: Jason Gerecke Applied to for-4.4/wacom. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] HID: wacom: Add support for Cintiq Companion 2

2015-10-11 Thread Jiri Kosina
gt; + __set_bit(BTN_A, input_dev->keybit); > + break; > + And here you break out of the same case again explicitly again. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for Win8 devices

2015-10-11 Thread Jiri Kosina
s as needed in mt_feature_mapping(). This prevents > fetching reports which might cause problems with the device in question. > > Suggested-by: Benjamin Tissoires > Signed-off-by: Mika Westerberg > --- > Added check for MT_CLS_WIN_8 so that the fix is only done for real Win8 >

Re: [PATCH] HID: multitouch: Fetch feature reports on demand for Win8 devices

2015-10-06 Thread Jiri Kosina
s does it have?), I'd be in favor of doing that. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RESEND] [PATCH] HID: quirks: add MULTI_INPUT quirk for Dragonrise GameCube adapter

2015-10-06 Thread Jiri Kosina
Rodland Sorry, the formatting is still damaged, please fix your client and resend the patch. For some common ones, there are some hints in Documentation/email-clients.txt -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in t

Re: [PATCH] HID: hiddev: fix returned errno code in hiddev_connect()

2015-10-05 Thread Jiri Kosina
g to look at every 'return -1' occurence in the kernel and convert it to something else? That can keep you busy for quite some time: $ git grep 'return -1' | wc -l 9167 The only cleanup I'd imagine at least remotely possible in this case would be to

Re: [PATCH] HID: quirks: add MULTI_INPUT quirk for Dragonrise GameCube adapter

2015-10-04 Thread Jiri Kosina
land Andrew, your patch has been corrupted by your mailer (line wrapped). Could you please fix this up on your side and resend? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.ker

Re: [PATCH] usbhid: Fix for the WiiU adapter from Mayflash

2015-10-04 Thread Jiri Kosina
#x27;ve fixed up the formatting and applied to hid.git#for-4.3/upstream-fixes (please note that this doesn't guarantee that this patch will not go to 4.3 still, because it alone is not going to be reason for pull request, but might eventually piggy-back on something that'll be needed for 4.

Re: [PATCH] HID: hiddev: fix returned errno code in hiddev_connect()

2015-09-30 Thread Jiri Kosina
v->clamed flags accordingly. Could you please be more specific about the -EPERM mapping you are talking about? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More m

Re: [RESEND PATCH v3 1/1] Add Corsair Vengeance K90 driver

2015-09-30 Thread Jiri Kosina
> + int removed; This could be made bool. Also the patch subject doesn't really follow the usual format we're using in hid.git. Otherwise I like the code, thanks a lot for working on the driver. I have fixed the nits above and it's now queued in hid.git#for-4.4/corsa

Re: [PATCH v2] HID: hid-input: allow input_configured callback return errors

2015-09-30 Thread Jiri Kosina
pplied to hid.git#for-4.4/upstream, thanks Dmitry. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] HID: hid-multitouch.c: fix formatting warnings

2015-09-30 Thread Jiri Kosina
low too minor to justify cluttering of git blame. > > Ok, although Greg Kroah-Hartman inspires you in his video to submit patches > to make the code checkpatch clean. https://www.youtube.com/watch?v=LLBrBBImJt4 HID is not a subsystem residing in drivers/staging playground thoug

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2015-09-30 Thread Jiri Kosina
blame compiler on getting it wrong here as well. The generated assembly really needs to be inspected to see how does clang manage to leak the IRQ state (probably some incorrect reordering, i.e. not respecting the "memory" clobber while fiddling with flags). [ ... snip a lot of stuff ... ]

Re: [PATCH] HID: hid-multitouch.c: fix formatting warnings

2015-09-29 Thread Jiri Kosina
390 For files which are already in tree I'd be taking such fixes only as a side-change if refactoring the code anyway in a substantial way. Otherwise I consider the ones below too minor to justify cluttering of git blame. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list:

Re: [PATCH] HID: multitouch: Add suffix for HID_DG_TOUCHPAD

2015-09-29 Thread Jiri Kosina
On Mon, 28 Sep 2015, Mika Westerberg wrote: > Instead of printing "UNKNOWN" as device suffix for HID_DG_TOUCHPAD call > the device as "Touchpad". > > Signed-off-by: Mika Westerberg Applied to hid.git#for-4.4/multitouch. -- Jiri Kosina SUSE Labs -- To unsu

Re: [PATCH 2/2] HID: i2c-hid: Fill in physical device providing HID functionality

2015-09-29 Thread Jiri Kosina
but it is left empty by the > driver. > > Make it look better and fill in the physical device name. > > Signed-off-by: Mika Westerberg Applied to hid.git#for-4.4/i2c-hid. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2015-09-29 Thread Jiri Kosina
t;usbhid.h" +#include + /* * Version Information */ @@ -725,6 +727,9 @@ void usbhid_close(struct hid_device *hid) mutex_lock(&hid_open_mut); + if(WARN_ON(irqs_disabled())) + print_irqtrace_events(current); + /* protecting hid->open to make sure we don't restart * data acquistion due to a resumption we no longer * care about -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2015-09-28 Thread Jiri Kosina
u are able to see how usbhid_close() can be called with IRQs off, that would be a completely different story. But if that's not the case, the warning is bogus, and gcc-compiled kernels are right about not issuing it. But without that, I so far fail to see how this is a correct thing to d

Re: [PATCH] hid: enable hid device to suspend/resume asynchronously

2015-09-25 Thread Jiri Kosina
pend/resume asynchronously". Is there any reason why not enable this from userspace via sysfs instead, based on whitelist on known-to-be-well-behaved devices, from udev? I am really careful when it comes to enabling features like this (especially given the state of PM support on some low-

Re: [PATCH 1/2] HID: wacom: Cleanup unsupported device_type for BAMBOO_PT

2015-09-23 Thread Jiri Kosina
On Wed, 23 Sep 2015, Ping Cheng wrote: > Not all Bamboo support both pen and touch. Make sure we deal with > pen only and touch only devices properly. > > Signed-off-by: Ping Cheng > Tested-By: Aaron Skomra Both patches queued in hid.git#for-4.4/wacom. Thanks, -- Jiri K

Re: [PATCH 2/2] HID: wacom: Add four new Intuos devices

2015-09-23 Thread Jiri Kosina
On Wed, 23 Sep 2015, Ping Cheng wrote: > Signed-off-by: Ping Cheng > Tested-By: Aaron Skomra Please insert a changelog here. At least explanation why these are not just a simple a device ID additions, but actual code changes are necessary, is needed. Thanks. -- Jiri Kosina SUS

Re: [PATCH] hid-core: Avoid uninitialized buffer access

2015-09-23 Thread Jiri Kosina
with > printk. This leads to corruption on the console/in the logs. > > Ensure buf is initialized to an empty string. > > Signed-off-by: Richard Purdie > [dvhart: Initialize string to "" rather than assign buf[0] = NULL;] > Cc: Jiri Kosina > Cc: linux-input@vger.k

Re: [PATCH] HID: Make I2C a known bus in hid_connect()

2015-09-23 Thread Jiri Kosina
On Thu, 17 Sep 2015, Daniel Martin wrote: > Just to prettify the log message. Otherwise it would be . > > Signed-off-by: Daniel Martin Applied to hid.git#for-4.4/upstream, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-inpu

Re: [PATCH RESEND v2] HID: Add new Microsoft Type Cover 3 product ID

2015-09-23 Thread Jiri Kosina
On Tue, 15 Sep 2015, Donavan Lance wrote: > Adds support for Microsoft Type Cover 3 with 0x07e2 product ID. > > Signed-off-by: Donavan Lance Queued in hid.git#for-4.4/microsoft. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH v4] drivers/hid: Check result of debugfs_create_dir() and debugfs_create_file()

2015-09-23 Thread Jiri Kosina
gt; - hid_debug_unregister(hdev); > + if (hdev->debug) > + hid_debug_unregister(hdev); As we are sprinkling these checks around, and hid_debug_unregister() is a slow path anyway, I think I'll just rearrange the code that hid_debug_unregister() actually a

Re: [PATCH 1/1] Corsair Vengeance K90 driver

2015-09-04 Thread Jiri Kosina
{ > + ret = -ENOMEM; > + goto fail_backlight; > + } > + snprintf(name, name_sz, "%s" K90_BACKLIGHT_LED_SUFFIX, > + dev_name(&dev->dev)); > + led = &drvdata->backlight; > + led->cdev.name = name; > + led

Re: [PATCH v3] drivers/hid: Check result of debugfs_create_dir() and debugfs_create_file()

2015-09-04 Thread Jiri Kosina
ug_init() and hid_debug_exit() only if hid_debug > * add check for the hid_debug_root in the hid_debug_register() > > Signed-off-by: Alexander Kuleshov Did you try to even compile-test your patch? -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line &qu

Re: [PATCH] hid: enable hid device to suspend/resume asynchronously

2015-09-04 Thread Jiri Kosina
be careful. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 4.2] hid_dr: Fixed HID Descriptor

2015-09-04 Thread Jiri Kosina
On Thu, 3 Sep 2015, Maciej Zuk wrote: > From: Maciej Zuk > > Fixed HID descriptor for DragonRise Joystick. > Replaced default descriptor which doubles Z axis > and causes mixing values of X and Z axes. Applied to for-4.4/dragonrise. -- Jiri Kosina SUSE Labs -- To unsubscribe

Re: [PATCH 0/2] HID: logitech-hidpp: allow to disable tap to click on the K400

2015-09-04 Thread Jiri Kosina
e that from the > host by using the feature 0x6010. > > The first patch might conflict with Simon's current work in progress, so > that's why Simon is CC-ed to it. Now in for-4.4/logitech. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "

Re: [PATCH v1] HID: sensor-hub: Fixup for Lenovo ThinkPad Helix 2 sensor hub report

2015-09-04 Thread Jiri Kosina
ers > > (hid-accel-3d,hid-gyro-3d,etc) loaded, and its possible to read their > > values. > > > > Signed-off-by: Fernando D S Lima > Reviewed-by: Srinivas Pandruvada Applied to for-4.3/upstream-fixes. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] HID: mode button quirk for Mad Catz R.A.T.5

2015-09-04 Thread Jiri Kosina
On Thu, 3 Sep 2015, Harald Brinkmann wrote: > Hi all, > > this patch applies to Linux 4.2.0. > > It enables the Saitek HID quirk for the mode button > of the Mad Catz R.A.T.5 gaming mouse. > > Signed-off-by: Harald Brinkmann Applied to for-4.4/upstream. Thanks, -

Re: [PATCH 1/2] HID: wacom: Set button bits based on a new numbered_buttons

2015-08-28 Thread Jiri Kosina
gt; input_dev *input_dev, > return 0; > } > > +void wacom_setup_numbered_buttons(struct input_dev *input_dev, I made this static, and applied both patches. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input"

Re: [PATCH] HID: quirks: add QUIRK_NOGET for an other TPV touchscreen

2015-08-24 Thread Jiri Kosina
jamin Tissoires Applied to for-4.3/upstream. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] drivers/hid: Check result of debugfs_create_dir() and debugfs_create_file()

2015-08-19 Thread Jiri Kosina
ange related to the rest of the patch? It's wrong anyway, because hid_debug is independent of the debugfs HID debugging facility. Please see for example the printk() a few lines above in this very function, which is emited in case hid_debug is enabled. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

  1   2   3   4   5   6   7   8   9   10   >