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

One likely fix, 2 cosmetic fixes, udev-rules-file #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avl42
Copy link

@avl42 avl42 commented Oct 29, 2024

This PR adds the following:

"etc--udev--rules.d--24-TEMPer.rules"
This file can be copied to /etc/udev/rules.d/24-TEMPer.rules, then any of the
supported thermometers will have their device-entries (hidraw* or tty*)
be read- and writeable by all users of group "plugdev" - allowing to use
temper.py without sudo.

In temper.py there is one change in a regular expression.
A couple lines down from that there was a "recent" change in
a similar regular expression, and it makes sense for me, that
the two regular expressions should be structurally equal.
But then again, I do not own one of these devices, so I cannot
test them myself.
The removed semicolons ";" are purely cosmetic, and so is
the one change in a function's comment.

Take it, leave it, or cherrypick it... :-)

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.

1 participant