On Wed, Oct 25, 2017 at 10:12 AM, Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
Hmm interesting I would expect there to be 2 ACPI devices for the
2 accelerometers and then things should just work fine.
Unless there is one DSDT entry / ACPI device with 2 i2c ACPI resources
to point to the 2 different accelerometers. That would not be the
first time I see that, we've some i2c helpers now to make dealing
with this easier.
Can you put an acpidump of the machine somewhere so that I can check
what is in the DSDT ?
A complete dump is available at https://github.com/larsks/yoga-11e-acpi/. It looks like there is a single ACPI device with two I2C devices; see https://github.com/larsks/yoga-11e-acpi/blob/master/dsdt.dsl#L10396.
On the rotation, the DSDT table has the rotation corrections embedded. I suspect that Lenovo is using non-standard names on the 11e, since it's non-standard hardware and that that's throwing the existing driver for a loop.
Interesting, I don't think non-standard names is going to be an issue
here, the bmc150-accel driver which deals with the BOSC0200 devices
does not have any parsing code for orientation info in the DSDT at all.
Lars Kellogg-Stedman <lars@xxxxxxxxxx> | larsks@{twitter, irc, github, ...}
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel