[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1509041448230.30132@pobox.suse.cz>
Date: Fri, 4 Sep 2015 14:48:41 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
cc: Fernando D S Lima <fernandodsl@...il.com>,
Jonathan Cameron <jic23@...nel.org>,
linux-input@...r.kernel.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] HID: sensor-hub: Fixup for Lenovo ThinkPad Helix 2
sensor hub report
On Thu, 3 Sep 2015, Srinivas Pandruvada wrote:
> On Thu, 2015-09-03 at 12:56 -0300, Fernando D S Lima wrote:
> > There is an error in the report descriptor of the Thinkpad Helix 2
> > where
> > logical minimum value (557376) is greater than logical maximum
> > (491200)
> > for all of the magnetic flux axis data fields. This error results in
> > a
> > report descriptor parsing failure that causes the sensors attached to
> > the
> > hub not to be detected.
> >
> > dmesg excerpt:
> > [ 19.866905] drivers/hid/hid-core.c: logical range invalid 0x88140
> > 0x77ec0
> > [ 19.866914] hid-sensor-hub 0018:2047:0855.0007: item 0 1 0 8
> > parsing failed
> > [ 19.866926] hid-sensor-hub 0018:2047:0855.0007: parse failed
> > [ 19.866933] hid-sensor-hub: probe of 0018:2047:0855.0007 failed
> > with error -22
> >
> > Add a report fixup to change magnetic flux logical minimums to
> > -557376
> > for the parsing to succeed and the sensors to get detected.
> > After applying the fix the sensors get detected, with corresponding
> > drivers
> > (hid-accel-3d,hid-gyro-3d,etc) loaded, and its possible to read their
> > values.
> >
> > Signed-off-by: Fernando D S Lima <fernandodsl@...il.com>
> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Applied to for-4.3/upstream-fixes. Thanks,
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists