Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243157

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

From Mika Westerberg <mika.westerberg@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for Win8 devices
Date 2015-10-09 11:00 +0200
Message-ID <qhBGX-5Da-37@gated-at.bofh.it> (permalink)
References (2 earlier) <qgX6N-6gd-9@gated-at.bofh.it> <qgZil-T6-71@gated-at.bofh.it> <qh82e-5cJ-1@gated-at.bofh.it> <qhfZN-88e-37@gated-at.bofh.it> <qhuvM-3OT-5@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Thu, Oct 08, 2015 at 06:10:23PM -0700, Andrew Duggan wrote:
> No, this touchpad doesn't have HID_QUIRK_NO_INIT_REPORTS set and
> usbhid/hid-core.c is calling usbhid_init_reports() which is retrieving
> feature 8. But, I did some additional testing and I wasn't able to reproduce
> this issue on other systems. The failure occurs on a Dell XPS 13 9343, but
> the exact same touchpad and the exact same kernel (I booted both systems off
> an external HD to ensure that the kernel and OS are identical) I didn't see
> a problem. I also tried a different USB PTP touchpad which didn't have an
> issue. Also, I tried returning in mt_get_feature() instead of reading the
> report when the report id is 8. When I did that everything worked.
> 
> So as of right now, it looks like a single non production USB PTP touchpad
> fails on one particular system. But, all other tests have been successful.
> 
> Let me know if you have any other suggestions for me to test. But, it seems
> like this failure might be fairly isolated.

Thanks a lot for testing all this.

If the failure is limited to a single non-production touchpad then, I
suppose we should be fine. As long as there are no such systems out
there in the wild.

One additional thing we could check in mt_get_feature() is if the device
is connected via I2C and only in that case fetch the feature in
question.

Jiri, Benjamin, what do you think?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] HID: multitouch: Fetch feature reports on demand for  Win8 devices Jiri Kosina <jikos@kernel.org> - 2015-10-06 16:10 +0200
  [PATCH v2] HID: multitouch: Fetch feature reports on demand for Win8 devices Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-10-07 14:40 +0200
    Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2015-10-07 15:40 +0200
      Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Seth Forshee <seth.forshee@canonical.com> - 2015-10-07 18:00 +0200
        Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Andrew Duggan <aduggan@synaptics.com> - 2015-10-08 03:20 +0200
          Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-10-08 11:50 +0200
            Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Andrew Duggan <aduggan@synaptics.com> - 2015-10-09 03:20 +0200
              Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-10-09 11:00 +0200
                Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2015-10-09 15:40 +0200
    Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for  Win8 devices Jiri Kosina <jikos@kernel.org> - 2015-10-12 01:00 +0200

csiph-web