summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-01-20 11:21:37 -0500
committerBen Sima <ben@bsima.me>2023-01-20 11:21:37 -0500
commit45efc231e899245a9f4ee1b77aa93d2e6c2d1dae (patch)
treed7ac2f471e304ae10a4d3041859ceceeec990ef4
parentb08cd71671eea1b4e7d58b32f12943613432d91e (diff)
trying to get coldcard to work
Change-Id: Id0221bf2535a8b3d583242767b6747f5a9c2790a
-rw-r--r--machines/helium.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/helium.nix b/machines/helium.nix
index 3c290ce..01f6cd4 100644
--- a/machines/helium.nix
+++ b/machines/helium.nix
@@ -146,6 +146,10 @@ in {
# when yubi is removed, activate yubilock
#ACTION=="remove", ENV{ID_BUS}=="usb", ENV{ID_VENDOR_ID}=="1050", ENV{ID_MODEL_ID}=="0407", ENV{ID_SERIAL}="Yubico_Yubikey_4_OTP+U2F+CCID", RUN+="${pkgs.systemd}/bin/systemctl start xlock"
+ # coldcard https://github.com/Coldcard/ckcc-protocol/blob/6b6052b38c354c6edc0df79f753f455f286d7b4a/51-coinkite.rules
+ SUBSYSTEMS=="usb", ATTRS{idVendor}=="d13e", ATTRS{idProduct}=="cc10", GROUP="plugdev", MODE="0666"
+ KERNEL=="hidraw*", ATTRS{idVendor}=="d13e", ATTRS{idProduct}=="cc10", GROUP="plugdev", MODE="0666"
+
#Flipper Zero serial port
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", ATTRS{manufacturer}=="Flipper Devices Inc.", TAG+="uaccess"
#Flipper Zero DFU