8000 Undo previous incorrect tweaks to iio-sensor-proxy and implement ACPI-based detection by fstanis · Pull Request #33 · fstanis/chuwi-minibook · GitHub
[go: up one dir, main page]

Skip to content

Undo previous incorrect tweaks to iio-sensor-proxy and implement ACPI-based detection - #33

Merged
fstanis merged 2 commits into
mainfrom
iio-fix
Nov 11, 2026
Merged

fstanis merged 2 commits into
mainfrom
iio-fix

Conversation

@fstanis
@fstanis fstanis commented Nov 11, 2026 •
Copy link
Copy Markdown
Owner

This builds on top of #24 fixes #23 and (hopefully) #18 by matching Windows behavior in reading from ACPI and selecting the correct sensor.

One important caveat: I'm changing the recommendation again to use neither panel firmware nor bootloader rotation. If either is enabled, it interferes with iio-niri in a major way, since iio-niri itself is not taking DRM into account. I suspect something similar would happen on other platforms. In other words, you have to choose between these two:

  • Permanent rotation without sensor-based rotation, using the bootloader or firmware
  • Sensor-based rotation ONLY - laptop defaults to portrait until the window manager tells it to rotate based on the sensors

4leite and others added 2 commits November 11, 2026 11:53
Allow selecting the base or display raw accelerometer for screen orientation without changing sensor discovery or calibrated hinge inputs. Keep the base sensor as the default and document the systemd override.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

iio-sensor-proxy: allow selecting the display accelerometer

2 participants

0