svn commit: r518181 - head/misc/openhantek

Yuri Victorovich yuri at FreeBSD.org
Sat Nov 23 05:36:24 UTC 2019


Author: yuri
Date: Sat Nov 23 05:36:23 2019
New Revision: 518181
URL: https://svnweb.freebsd.org/changeset/ports/518181

Log:
  misc/openhantek: Cleanup pkg-message
  
  PR:		242168
  Submitted by:	Zane C. Bowers-Hadley <vvelox at vvelox.net>

Modified:
  head/misc/openhantek/pkg-message

Modified: head/misc/openhantek/pkg-message
==============================================================================
--- head/misc/openhantek/pkg-message	Sat Nov 23 05:17:59 2019	(r518180)
+++ head/misc/openhantek/pkg-message	Sat Nov 23 05:36:23 2019	(r518181)
@@ -4,9 +4,9 @@
 You installed OpenHantek: the client for Hantek PC-oscilloscope.
 
 In order for OpenHantek to work you need:
-1. Have compatible device: DSO-6022, DSO-2020, etc.
+1. Have a compatible device: DSO-6022, DSO-2020, etc.
 2. Make sure that your USB device has permissions for your user.
-   You can achieve this by adding a records like this to your
+   You can achieve this by adding records like this to your
    /etc/devd.conf:
 
 notify 100 {
@@ -15,7 +15,7 @@ notify 100 {
 	match "type"		"ATTACH";
 	match "vendor"	"0x04b4";
 	match "product"	"0x6022";
-	action "/usr/sbin/chown {your-user}:users /dev/usb/8.5.*";
+	action "/usr/sbin/chown {your-user} /dev/usb/`echo $cdev | sed s/ugen//`.*";
 };
 notify 100 {
 	match "system"		"USB";
@@ -23,7 +23,7 @@ notify 100 {
 	match "type"		"ATTACH";
 	match "vendor"	"0x04b5";
 	match "product"	"0x6022";
-	action "/usr/sbin/chown {your-user}:users /dev/usb/8.5.*";
+	action "/usr/sbin/chown {your-user} /dev/usb/`echo $cdev | sed s/ugen//`.*";
 };
 
 The "action" above doesn't use $device-name due to:


More information about the svn-ports-head mailing list