Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Udev): cache device properties so they are not lost during rule evaluation #286

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

ShadowApex
Copy link
Contributor

@ShadowApex ShadowApex commented Feb 12, 2025

This change fixes an issue where the evdev source would not identify the correct driver to use because the udev properties to identify the driver are no longer present at the time of source device initialization. I suspect this could be from udev hiding that triggers reloading the rules.

This change caches udev properties, so they will be queryable at the time of source device initialization.

@ShadowApex ShadowApex requested a review from pastaq February 12, 2025 18:51
@ShadowApex ShadowApex merged commit fac8967 into main Feb 12, 2025
2 checks passed
@ShadowApex ShadowApex deleted the shadowapex/fix-udex-priority branch February 12, 2025 23:07
Copy link

🎉 This PR is included in version 0.46.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants