Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable screen rotation support for the InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) #1516

Open
ouija opened this issue Apr 15, 2022 · 0 comments

Comments

@ouija
Copy link

ouija commented Apr 15, 2022

Hi there,

I'm trying to get the InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) working with brunch/chromeos, and have rebuilt the kernel to support this device and now having it loading the corresponding modules correct, but much like this user, the system is registering rotational events via cat /sys/bus/iio/devices/iio\:device0/in_accel_x_raw but the chromeos launcher/screen is not rotating, with tablet mode enabled or not.

cros_ec_sensors isn't loading on startup, but it will attach if I modprobe it, however, it has no effect on getting rotation to work.

I've attached the lsmod and dmesg output from my device:
lsmod.txt
dmesg.txt

I'm curious if theres any way to get chromeos to work like android-x86 does and use the ./hardware/libsensors/iio-sensors.cpp methods that is in use there...

Has anyone managed to get any iio devices supported in brunch/chromeos that originally weren't? And if so, how? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant