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

Move solo2 udev rules into it's own directory #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
18 changes: 18 additions & 0 deletions udev/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# On modern systems, udev has a TAG uaccess, which is used in 73-seat-late.rules
# On older systems, we use GROUP plugdev with MODE
# --> Try `make setup` first, if it doesn't work, try `make legacy-setup`.
#
# The symlinks are optional, install with `make symlinks`.


setup: install activate

RULES_PATH=/etc/udev/rules.d

activate:
sudo udevadm control --reload-rules
sudo udevadm trigger

install:
sudo cp $(PWD)/70-solo2-access.rules ${RULES_PATH}/70-solo2-access.rules

14 changes: 14 additions & 0 deletions udev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
This is for Linux systems only.

To install the official SoloKeys udev rules, allowing access to your key, run

```
make install
```

This should work assuming your system is reasonably up-to-date. If not, try

```
make install-legacy
```