Skip to content

Update NixOS accelerometer info#81

Open
pol-epsevg wants to merge 2 commits intoFrameworkComputer:mainfrom
pol-epsevg:main
Open

Update NixOS accelerometer info#81
pol-epsevg wants to merge 2 commits intoFrameworkComputer:mainfrom
pol-epsevg:main

Conversation

@pol-epsevg
Copy link
Copy Markdown

I found out I needed to add hardware.sensor.iio.enable = true; in order to have automatic screen rotation, which I didn't find documented anywhere, so I figured it would be handy to include here.

Also includes a way to disable the touchscreen. Many Framework Laptop 12 owners have previously complained about the quality of the palm rejection. I was having trouble with palm rejection while drawing, so I figured out how to disable the touchscreen entirely while keeping stylus functionality. It might come in handy for someone.

Also includes a way to disable the touchscreen. Many Framework Laptop 12
owners have previously complained about the quality of the palm
rejection. I was having trouble with palm rejection while drawing, so I
figured out how to disable the touchscreen entirely while keeping stylus
functionality.
@pol-epsevg
Copy link
Copy Markdown
Author

Disabling the touchscreen breaks auto rotate. I'll see if I can find a fix

@ctsdownloads
Copy link
Copy Markdown
Collaborator

I'd like to have @JohnAZoidberg check this before I do anything with it, hang tight for me.

@JohnAZoidberg
Copy link
Copy Markdown
Member

I found out I needed to add hardware.sensor.iio.enable = true; in order to have automatic screen rotation, which I didn't find documented anywhere, so I figured it would be handy to include here.

It's already included in the nixos-hardware config: https://github.com/NixOS/nixos-hardware/blob/master/framework/12-inch/common/default.nix

@pol-epsevg
Copy link
Copy Markdown
Author

My bad! Somehow I missed it. Thanks for the review. Let me know if I should update the file including only the note about the touchscreen, otherwise you can close the merge request :)

Comment thread framework12/nixOS.md

Version 3.7 has a bug, making it incompatible with Framework 12.
NixOS 25.05 and NixOS 25.11 (unstable) are patched:
NixOS channels 25.05 and newer are patched:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually everything is either patches, has a newer fixed version or an older unaffected version.

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.

3 participants