300e Chromebook Gen 3 - Type 82JA - Upside Down Screen - Need Fix Plz

Hello,

I recently picked up a used chromebook on facebook marketplace and installed Coreboot FULL UEFI and Pop_OS! 22.04 LTS. I have also run the audio script. Everything works great except… The screen. The screen is always upside down and I have to flip the chromebook, lock screen rotation, and then I can use it normally. The problem is after a reboot the screen is upside down again forcing me to redo that screen flip and lock over and over. I would like to adjust the default screens setup so it’s default flipped 180 and is properly orientated.

I have a Lenovo 300e Chromebook Gen 3 - Type 82JA VILBOZ360 system.

I have tried the following to change the default presentation…

udevadm info -n /dev/iio:device0

What I take away from the output is the following…

STH9324

sudo dmidecode | grep Manufacture

What I take away from the output is the following…

Google

sudo dmidecode | grep Product

What I take away from the output is the following…

Vilboz

Once I have those 3 pieces of information I…

cd /lib/udev/hwdb.d

ls

sudo nano 61-sensor-local.hwdb

I add the following entry

sensor:modalias:acpi:STH9324*:dmi*:svnGoogle*:pbVilboz*:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1

CTRL+X
ENTER

sudo udevadm hwdb --update

sudo reboot

And after the reboot my screen is still upside down. I don’t know what I am doing wrong. Can someone help me out? Thanks in advance.

This is an issue with older kernel versions (LTS distros are not recommended to be ran on Chromebooks). You should be able to fix the screen issue as a whole if you update the kernel.

According to the documentation, I am ok. I have used a distro that is recommended in the documentation and my kernel is new enough.

The issue is just how I am trying to address the display matrix and how it’s being setup on boot.

You could try the Screen Rotate extension for Gnome. It has settings to invert horizontal, vertical and flip rotations. Invert horizontal rotation should work for you.

Oh, I didn’t know 6.9 was an lts kernel

I am aware what the issue is, and outdated kernel versions have caused it in the past. (Specifically I had this happen the one time I booted Ubuntu 22.04 LTS) though you should be fine running 6.9. It shouldn’t be booting flipped in the first place

I gave up and just uninstalled the following package…

sudo apt remove iio-sensor-proxy

After removing the package everything is properly orientated. No other issues. This thing is amazing. So glad I saved this thing from the trash heap.

For more information on the package…

This is what I tried originally but it didn’t work.

I gave up trying to get it to work properly and just removed the following package…

sudo apt remove iio-sensor-proxy

After removing the package everything is working as intended with no issues.

udevadm info -n /dev/iio:device0
P: /devices/platform/AMDI0010:00/i2c-STH9324:00/iio:device0
N: iio:device0
L: 0
E: DEVPATH=/devices/platform/AMDI0010:00/i2c-0/i2c-STH934:00/iio:device0
E: DEVNAME=/dev/iio:device0
E: DEVTYPE=iio_device
E: MAJOR=234
E: MINOR=0
E: SUBSYSTEM=iio

STH9324

sudo dmidecode | grep Manufacture

Manufacturer: Google
Manufacturer: Google
Manufacturer: Google
Manufacturer: AuthenticAMD
Manufacturer: Kingston

Google

sudo dmidecode | grep Product

Product Name: Vilboz
Product Name: Vilboz

Vilboz

cd /lib/udev/hwdb.d

ls

sudo nano 61-sensor-local.hwdb

#################################
#Google Chromebooks
#################################

#User made custom entry.

sensor:modalias:acpi:STH9324*:dmi*:svnGoogle*:pnVilboz:*
 ACCEL_MOUNT_MATRIX=0,-1,0;-1,0,0;0,0,1