svn commit: r568695 - head/security/u2f-devd/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Mar 17 23:13:08 UTC 2021


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 at 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";
+};


More information about the svn-ports-all mailing list