aboutsummaryrefslogtreecommitdiff
path: root/sysutils/uhidd
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-03-15 15:49:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-03-15 15:49:15 +0000
commit52bea2820c98d98bd4fa29647c7c87fad11288cb (patch)
tree80f0cbc178c3eb47271c8e4d7d39c22c6d0dbb86 /sysutils/uhidd
parentc1222efdec68ac63abe9e3665fc0efd3e66979c8 (diff)
downloadports-52bea2820c98d98bd4fa29647c7c87fad11288cb.tar.gz
ports-52bea2820c98d98bd4fa29647c7c87fad11288cb.zip
- Update to 0.2.0
PR: 144513 Submitted by: Kai Wang <kaiwang27@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=251086
Diffstat (limited to 'sysutils/uhidd')
-rw-r--r--sysutils/uhidd/Makefile7
-rw-r--r--sysutils/uhidd/distinfo6
-rw-r--r--sysutils/uhidd/files/pkg-message.in16
3 files changed, 19 insertions, 10 deletions
diff --git a/sysutils/uhidd/Makefile b/sysutils/uhidd/Makefile
index 9403843d0a53..ed58af22755f 100644
--- a/sysutils/uhidd/Makefile
+++ b/sysutils/uhidd/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= uhidd
-PORTVERSION= 0.1.4
+PORTVERSION= 0.2.0
CATEGORIES= sysutils
-MASTER_SITES= http://people.freebsd.org/~kaiw/distfiles/
+MASTER_SITES= GOOGLE_CODE \
+ http://people.freebsd.org/~kaiw/distfiles/
MAINTAINER= kaiwang27@gmail.com
COMMENT= Userland USB HID device driver using libusb20
@@ -22,6 +23,7 @@ KMODDIR?= /boot/modules
USE_RC_SUBR= uhidd
MAN4= uvhid.4
+MAN5= uhidd.conf.5
MAN8= uhidd.8
.include <bsd.port.pre.mk>
@@ -46,6 +48,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uhidd/uhidd ${PREFIX}/sbin/uhidd
${INSTALL_KLD} ${WRKSRC}/uvhid/uvhid.ko ${KMODDIR}/uvhid.ko
${INSTALL_MAN} ${WRKSRC}/uhidd/uhidd.8 ${PREFIX}/man/man8/uhidd.8
+ ${INSTALL_MAN} ${WRKSRC}/uhidd/uhidd.conf.5 ${PREFIX}/man/man5/uhidd.conf.5
${INSTALL_MAN} ${WRKSRC}/uvhid/uvhid.4 ${PREFIX}/man/man4/uvhid.4
.if !defined(WITHOUT_DEVD)
${MKDIR} ${PREFIX}/etc/devd
diff --git a/sysutils/uhidd/distinfo b/sysutils/uhidd/distinfo
index ea1c5cfddf2f..df1116a549a3 100644
--- a/sysutils/uhidd/distinfo
+++ b/sysutils/uhidd/distinfo
@@ -1,3 +1,3 @@
-MD5 (uhidd-0.1.4.tar.gz) = 3e026f0b29b6b9b60766cb7c16a7bffb
-SHA256 (uhidd-0.1.4.tar.gz) = 8c19ba127af58843b703a2b5fa91aa26817f179fb24bf20b4cb3c6c8dd40f022
-SIZE (uhidd-0.1.4.tar.gz) = 44160
+MD5 (uhidd-0.2.0.tar.gz) = cfdf56699fb8df62f02bc4c278d98998
+SHA256 (uhidd-0.2.0.tar.gz) = d447a1e5625f33892d619353b68d4d71151f492be1217443ace06470fadf2952
+SIZE (uhidd-0.2.0.tar.gz) = 54949
diff --git a/sysutils/uhidd/files/pkg-message.in b/sysutils/uhidd/files/pkg-message.in
index e97651d2bb89..ee9bdacd3b71 100644
--- a/sysutils/uhidd/files/pkg-message.in
+++ b/sysutils/uhidd/files/pkg-message.in
@@ -1,20 +1,26 @@
==============================================================================
-To use uhidd daemon for USB hid devices, you need to remove 'device ums',
-'device ukbd', and 'device uhid' from your kernel config file and recompile
-the kernel. Or if these drivers are loaded as kernel modules, kldunload them.
+To use uhidd daemon for USB HID devices, depends on which sub class
+driver you want to attach, to avoid confilicts between the daemon and
+the kernel drivers, you need to remove some of these entries 'device
+ums', 'device ukbd', or 'device uhid' from your kernel config file and
+recompile the kernel. Or if these drivers are loaded as kernel
+modules, kldunload those that conflicts.
If you want to run uhidd deamon at the startup, add the following lines to
/etc/rc.conf:
- uhidd_flags="-kmhs"
+ uhidd_flags="-kmohs"
uhidd_enable="YES"
+Note that you need to modify the uhidd_flags (command line options)
+according to which sub class drivers you want to use.
+
To manually start/stop uhidd daemon on certain device, run:
%%PREFIX%%/etc/rc.d/uhidd [start|stop] /dev/ugen.X.Y
-See http://wiki.freebsd.org/uhidd for more details about how to install and
+See http://wiki.FreeBSD.org/uhidd for more details about how to install and
setup the daemon.
==============================================================================