Automatic screen rotation
#24
(04-10-2024, 06:37 AM)frtodd Wrote: I finally did an OS update today. After the last update rotation quit working for me. After this update, it was still broken.

(Unrelated: with the current update, I can shutdown the device with wifi on! Still seems to hang when it tries to sleep with wifi on, though.)

I went through the motions of the original fix:

1. sudo pacman -S iio-sensor-proxy #[was already installed]
2. create /etc/udev/hwdb.d/60-sensor.hwdb

sensor:modalias:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1

3. Setting -> Display Configuration: Orientation = Automatic; Uncheck "Only when in tablet mode"

After a reboot, rotation seems to be mostly working.

"Mostly" because I can have it in a horizontal orientation, but if I lay the screen back too far (e.g., resting it against a pillow on the couch), it will change back to vertical orientation. I don't know if more tweaking of the matrix would help with this. But I can deal with it for now.

Hi guys,
I am quiete new to the Pinetab2 and hope I do not ask stupid questions. My problem is that the Auto Screen Rotation works, but not as it is supposed to. 
I installed the iio-sensor and when i take it out ot the case the taskbar always urns to the left hand side, so the rotation is wrong for 90 degrees.
The mentioned solution here is to create the file, maybe this is a dumb question, but how can I create this file:60-sensor.hwdb and what is the content. Could you post this file?
Thank in advance

Sumisu
  Reply


Messages In This Thread
Automatic screen rotation - by frtodd - 06-06-2023, 07:05 PM
RE: Automatic screen rotation - by zoward - 06-07-2023, 08:26 AM
RE: Automatic screen rotation - by frtodd - 06-07-2023, 11:12 AM
RE: Automatic screen rotation - by exu - 06-07-2023, 12:22 PM
RE: Automatic screen rotation - by zoward - 06-08-2023, 04:07 AM
RE: Automatic screen rotation - by zoward - 06-07-2023, 04:57 PM
RE: Automatic screen rotation - by frtodd - 06-07-2023, 05:26 PM
RE: Automatic screen rotation - by Corconegre - 06-13-2023, 01:57 AM
RE: Automatic screen rotation - by KelsonV - 06-13-2023, 11:20 AM
RE: Automatic screen rotation - by chzbacon - 06-19-2023, 06:54 PM
RE: Automatic screen rotation - by rqkeating - 06-20-2023, 10:21 AM
RE: Automatic screen rotation - by mtomaschett - 03-17-2024, 01:53 PM
RE: Automatic screen rotation - by hansen - 04-07-2024, 06:58 AM
RE: Automatic screen rotation - by frtodd - 04-10-2024, 06:37 AM
RE: Automatic screen rotation - by hansen - 04-28-2024, 07:53 AM
RE: Automatic screen rotation - by frtodd - 04-28-2024, 03:08 PM
RE: Automatic screen rotation - by Sumisu - 08-01-2024, 08:09 AM
RE: Automatic screen rotation - by frtodd - 08-01-2024, 11:29 AM
RE: Automatic screen rotation - by Kevin Kofler - 04-28-2024, 05:58 PM
RE: Automatic screen rotation - by hansen - 04-29-2024, 10:33 AM
RE: Automatic screen rotation - by Kevin Kofler - 04-29-2024, 02:34 PM
RE: Automatic screen rotation - by hansen - 05-19-2024, 09:28 AM
RE: Automatic screen rotation - by frtodd - 05-21-2024, 07:08 PM
RE: Automatic screen rotation - by hansen - 06-05-2024, 10:57 AM
RE: Automatic screen rotation - by KittyMuffin - 08-26-2024, 01:16 PM
RE: Automatic screen rotation - by hansen - 09-08-2024, 02:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTab 2 login screen rotation fix chzbacon 11 6,395 03-17-2024, 04:53 PM
Last Post: mtomaschett
  Ubuntu touch rotation GloriousCoffee 3 2,360 01-09-2024, 06:01 AM
Last Post: polrus
  Low-level persistent display rotation diodelass 8 11,525 10-06-2020, 07:17 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)