Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2019 05:36:24 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518181 - head/misc/openhantek
Message-ID:  <201911230536.xAN5aOKe046099@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911230536.xAN5aOKe046099>