Lenovo IdeaPad Duet Chromebook (google-krane)

Contributors

 * Bonfire
 * Jenneron

Installation
See Chrome_OS_devices.

Screen
Screen rotation works via accelerometer but is stuck +/- 90 degrees.

You might be able to offset it, by creating an udev rule, as seen here. To get it working properly, you have to swap the x and y values, as well as inverting the x-axis:

ACTION=="remove", GOTO="sensor_end" SUBSYSTEM=="iio", KERNEL=="iio*", SUBSYSTEMS=="platform", \ ATTRS{modalias}=="platform:cros-ec-accel", ATTR{location}=="base", \ ENV{ACCEL_MOUNT_MATRIX}="0, -1, 0; -1, 0, 0; 0, 0, 1", \ ENV{ACCEL_LOCATION}="base", \ GOTO="sensor_end" SUBSYSTEM=="iio", KERNEL=="iio*", SUBSYSTEMS=="platform", \ ATTRS{modalias}=="platform:cros-ec-accel", ATTR{location}=="lid", \ ENV{ACCEL_MOUNT_MATRIX}="0, 1, 0; -1, 0, 0; 0, 0, -1", \ ENV{ACCEL_LOCATION}="display", \ GOTO="sensor_end" LABEL="sensor_end"
 * 1) /etc/udev/rules.d/61-cros-ec-accel.rules

FDE
Use.