Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Conversation

@chenx-dust
Copy link

Some models like Ayaneo Air Plus are using two power button udev events to represent power button pushing down and popping up. This commit added support for these models.

Some models like Ayaneo Air Plus are using two power button udev events to represent power button pushing down and popping up. This commit added support for these models.
@pastaq
Copy link
Collaborator

pastaq commented Sep 26, 2024

Can you tell me which models? Many devices have two power buttons in sysfs. One is a legacy interface and one is a modern interface. As written this PR may conflict with other devices.

@chenx-dust
Copy link
Author

Can you tell me which models? Many devices have two power buttons in sysfs. One is a legacy interface and one is a modern interface. As written this PR may conflict with other devices.

That's what i exactly concerned. :(

If this PR conflicts with other devices, i would prefer making this a configurable option, rather than detecting models, which is not elegant and will be an endless job.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants