Re: [PATCH 0/2] iio: accel: bmc150: Check for a second i2c resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 30-11-17 22:19, Lars Kellogg-Stedman wrote:
On Wed, Nov 29, 2017 at 5:31 PM, Jeremy Cline <jeremy@xxxxxxxxxx <mailto:jeremy@xxxxxxxxxx>> wrote:

    Some BOSC0200 ACPI devices, like the one in the Yoga 11e, have two i2c
    accelerometers listed under a single ACPI device. This checks to see if
    there is an ACPI companion and if so handles a second i2c client.


I am going to try this out (on a yoga 11e) over the weekend.

Will this require an additional patch to iio-sensor-proxy in order to provide the appropriate input events to enter/exit tablet mode? I believe these need to be generated based on the relative position indicated by the two accelerometers.

So the tablet-switch stuff is separate from the accelerometers and
fully handled in ACPI, proper tablet-switch reporting is fixed by
this commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=dda3ec0aa631d15b12a42438d23336354037e108

But iio-sensor-proxy may need some changes so that it only uses
the accelerometer in the screen, not the one in the base to
provide information for screen rotation.

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux