Re: Lid sensor on Yoga 11e

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

 



Sorry, one last item on this topic before I turn in.  The kernel driver is only monitoring the screen accelerometer at i2c-2, address 0x19.  The keyboard accelerometer at address 0x18 doesn't appear to be recognized by the kernel, but one can access it over the i2c bus. 

On Tue, Oct 24, 2017 at 12:19 AM, Lars Kellogg-Stedman <lars@xxxxxxxxxx> wrote:
On Mon, Oct 23, 2017 at 10:06 PM, Lars Kellogg-Stedman <lars@xxxxxxxxxx> wrote:
...which is all very exciting, and would be even more exciting if it were working correctly.  Unfortunately, the screen orientation appears to be off by 90°...

A problem which can be solved by dropping the following into /etc/udev/hwdb.d/61-sensor-local.hwdb:

sensor:modalias:acpi:BOSC0200:*:dmi:*ThinkPadYoga11e3rdGen*
  ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1

With that in place, screen orientation is correct...but the device is still stuck in tablet mode, with the keyboard/mouse disabled.  

-- 
Lars Kellogg-Stedman <lars@xxxxxxxxxx> | larsks@{twitter, irc, github, ...}



--
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

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux