From 45efc231e899245a9f4ee1b77aa93d2e6c2d1dae Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 20 Jan 2023 11:21:37 -0500 Subject: trying to get coldcard to work Change-Id: Id0221bf2535a8b3d583242767b6747f5a9c2790a --- machines/helium.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3