Phone Attitude(Device orientation)
#2
The accelerometer readings are under /sys/bus/iio/devices/iio:device*/ where * stands for an integer depending on the kernel being used. The correct device is the one having an in_accel_x_raw file (and several other similar files, all giving you accelerometer readings if you cat them).
  Reply


Messages In This Thread
RE: Phone Attitude(Device orientation) - by Kevin Kofler - 06-21-2023, 05:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine Phone Pro audio on phone calls: discussion, support and tips apink 48 24,617 12-22-2024, 04:27 AM
Last Post: biketool
  Guide to Suitable Phone State Borealid 19 14,346 09-18-2023, 07:00 AM
Last Post: robocone
  Pine Phone won't boot into recovery mode ninjapig26@gmail.com 3 2,694 02-18-2023, 06:14 PM
Last Post: fxc
  [Mobian] No return from locked phone arno_nuehm 1 1,408 02-06-2023, 07:57 AM
Last Post: arno_nuehm
  Phone shuts down unexpectedly Hobgoblin 3 2,289 12-20-2022, 01:11 PM
Last Post: Fish
  Sound completely gone with Mobian in Phone Call configuration EwigeBlumenkraft 2 2,294 11-11-2022, 09:18 PM
Last Post: apink
  PinePhone Pro Manjaro Plasma Mobile Beta 13 & No Audio with Phone Calls X0X0X0X0X0 0 1,363 11-02-2022, 02:09 PM
Last Post: X0X0X0X0X0
  Outgoing audio in phone calls gone linuxfreedom 6 4,637 10-25-2022, 08:40 PM
Last Post: apink
  Phone wont turn on with any SD Card inserted Ausfaller 3 3,241 07-21-2022, 10:20 AM
Last Post: Ausfaller
  PPP Phone rings with constant vibrate - turn off vibrate henrythemouse 0 1,085 05-16-2022, 03:59 PM
Last Post: henrythemouse

Forum Jump:


Users browsing this thread: 1 Guest(s)