Date: Wed, 17 Mar 2021 23:13:07 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568695 - head/security/u2f-devd/files Message-ID: <202103172313.12HND7H6019303@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Mar 17 23:13:07 2021 New Revision: 568695 URL: https://svnweb.freebsd.org/changeset/ports/568695 Log: - Add USB IDs for Trezor One and T models PR: 242929 Submitted by: robert.ayrapetyan@gmail.com Modified: head/security/u2f-devd/files/u2f.conf Modified: head/security/u2f-devd/files/u2f.conf ============================================================================== --- head/security/u2f-devd/files/u2f.conf Wed Mar 17 22:57:23 2021 (r568694) +++ head/security/u2f-devd/files/u2f.conf Wed Mar 17 23:13:07 2021 (r568695) @@ -241,3 +241,34 @@ attach 100 { match "product" "(0x5070|0x50b0)"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; + +# Trezor (One and T models) +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x534c"; + match "product" "0x0001"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x534c"; + match "product" "0x0001"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +}; + +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x1209"; + match "product" "(0x53c0|0x53c1)"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x1209"; + match "product" "(0x53c0|0x53c1)"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +};
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103172313.12HND7H6019303>