From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 6 21:30:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 743DE106566B for ; Sat, 6 Mar 2010 21:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 48A6F8FC0A for ; Sat, 6 Mar 2010 21:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o26LU2s4020468 for ; Sat, 6 Mar 2010 21:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o26LU2kb020463; Sat, 6 Mar 2010 21:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 6 Mar 2010 21:30:02 GMT Resent-Message-Id: <201003062130.o26LU2kb020463@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kai Wang Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE609106564A for ; Sat, 6 Mar 2010 21:21:28 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 51A478FC12 for ; Sat, 6 Mar 2010 21:21:27 +0000 (UTC) Received: by wwb17 with SMTP id 17so2769602wwb.13 for ; Sat, 06 Mar 2010 13:21:20 -0800 (PST) Received: by 10.216.90.7 with SMTP id d7mr1302999wef.81.1267910480088; Sat, 06 Mar 2010 13:21:20 -0800 (PST) Received: from localhost (81-233-38-26-no36.tbcn.telia.com [81.233.38.26]) by mx.google.com with ESMTPS id 5sm1473799eyh.1.2010.03.06.13.21.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 06 Mar 2010 13:21:19 -0800 (PST) Received: from localhost ([127.0.0.1] helo=localhost.my.domain) by localhost with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1No1R0-0000qT-F8 for FreeBSD-gnats-submit@freebsd.org; Sat, 06 Mar 2010 22:21:18 +0100 Received: (from kaiw@localhost) by localhost.my.domain (8.14.3/8.14.3/Submit) id o26LLIJb003252; Sat, 6 Mar 2010 22:21:18 +0100 (CET) (envelope-from kaiw) Message-Id: <201003062121.o26LLIJb003252@localhost.my.domain> Date: Sat, 6 Mar 2010 22:21:18 +0100 (CET) From: Kai Wang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/144513: [MAINTAINER] sysutils/uhidd: update to 0.2.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 21:30:02 -0000 >Number: 144513 >Category: ports >Synopsis: [MAINTAINER] sysutils/uhidd: update to 0.2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Mar 06 21:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kai Wang >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD viskning 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r189287M: Sun Jan 24 17:17:24 CET >Description: - Update to 0.2.0, changes include: * Improved HID parser. * Support for multimedia keys on USB keyboard. * Support for keyboard leds. - Add one more master site. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- uhidd-0.2.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/uhidd/Makefile /usr/home/kaiw/port/uhidd/Makefile --- /usr/ports/sysutils/uhidd/Makefile 2009-11-12 04:36:06.000000000 +0100 +++ /usr/home/kaiw/port/uhidd/Makefile 2010-03-06 21:56:02.000000000 +0100 @@ -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= ${MASTER_SITE_GOOGLE_CODE} \ + http://people.freebsd.org/~kaiw/distfiles/ MAINTAINER= kaiwang27@gmail.com COMMENT= Userland USB HID device driver using libusb20 @@ -22,6 +23,7 @@ USE_RC_SUBR= uhidd MAN4= uvhid.4 +MAN5= uhidd.conf.5 MAN8= uhidd.8 .include @@ -46,6 +48,7 @@ ${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 -ruN --exclude=CVS /usr/ports/sysutils/uhidd/distinfo /usr/home/kaiw/port/uhidd/distinfo --- /usr/ports/sysutils/uhidd/distinfo 2009-09-19 22:20:28.000000000 +0200 +++ /usr/home/kaiw/port/uhidd/distinfo 2010-03-06 21:43:49.000000000 +0100 @@ -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 -ruN --exclude=CVS /usr/ports/sysutils/uhidd/files/pkg-message.in /usr/home/kaiw/port/uhidd/files/pkg-message.in --- /usr/ports/sysutils/uhidd/files/pkg-message.in 2009-09-19 22:20:28.000000000 +0200 +++ /usr/home/kaiw/port/uhidd/files/pkg-message.in 2010-03-06 21:34:05.000000000 +0100 @@ -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. ============================================================================== --- uhidd-0.2.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: