View | Details | Raw Unified | Return to bug 144513
Collapse All | Expand All

(-)/usr/home/kaiw/port/uhidd/Makefile (-2 / +5 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	uhidd
8
PORTNAME=	uhidd
9
PORTVERSION=	0.1.4
9
PORTVERSION=	0.2.0
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://people.freebsd.org/~kaiw/distfiles/
11
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
12
		http://people.freebsd.org/~kaiw/distfiles/
12
13
13
MAINTAINER=	kaiwang27@gmail.com
14
MAINTAINER=	kaiwang27@gmail.com
14
COMMENT=	Userland USB HID device driver using libusb20
15
COMMENT=	Userland USB HID device driver using libusb20
Lines 22-27 Link Here
22
USE_RC_SUBR=	uhidd
23
USE_RC_SUBR=	uhidd
23
24
24
MAN4=		uvhid.4
25
MAN4=		uvhid.4
26
MAN5=		uhidd.conf.5
25
MAN8=		uhidd.8
27
MAN8=		uhidd.8
26
28
27
.include <bsd.port.pre.mk>
29
.include <bsd.port.pre.mk>
Lines 46-51 Link Here
46
	${INSTALL_PROGRAM} ${WRKSRC}/uhidd/uhidd ${PREFIX}/sbin/uhidd
48
	${INSTALL_PROGRAM} ${WRKSRC}/uhidd/uhidd ${PREFIX}/sbin/uhidd
47
	${INSTALL_KLD} ${WRKSRC}/uvhid/uvhid.ko ${KMODDIR}/uvhid.ko
49
	${INSTALL_KLD} ${WRKSRC}/uvhid/uvhid.ko ${KMODDIR}/uvhid.ko
48
	${INSTALL_MAN} ${WRKSRC}/uhidd/uhidd.8 ${PREFIX}/man/man8/uhidd.8
50
	${INSTALL_MAN} ${WRKSRC}/uhidd/uhidd.8 ${PREFIX}/man/man8/uhidd.8
51
	${INSTALL_MAN} ${WRKSRC}/uhidd/uhidd.conf.5 ${PREFIX}/man/man5/uhidd.conf.5
49
	${INSTALL_MAN} ${WRKSRC}/uvhid/uvhid.4 ${PREFIX}/man/man4/uvhid.4
52
	${INSTALL_MAN} ${WRKSRC}/uvhid/uvhid.4 ${PREFIX}/man/man4/uvhid.4
50
.if !defined(WITHOUT_DEVD)
53
.if !defined(WITHOUT_DEVD)
51
	${MKDIR} ${PREFIX}/etc/devd
54
	${MKDIR} ${PREFIX}/etc/devd
(-)/usr/home/kaiw/port/uhidd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (uhidd-0.1.4.tar.gz) = 3e026f0b29b6b9b60766cb7c16a7bffb
1
MD5 (uhidd-0.2.0.tar.gz) = cfdf56699fb8df62f02bc4c278d98998
2
SHA256 (uhidd-0.1.4.tar.gz) = 8c19ba127af58843b703a2b5fa91aa26817f179fb24bf20b4cb3c6c8dd40f022
2
SHA256 (uhidd-0.2.0.tar.gz) = d447a1e5625f33892d619353b68d4d71151f492be1217443ace06470fadf2952
3
SIZE (uhidd-0.1.4.tar.gz) = 44160
3
SIZE (uhidd-0.2.0.tar.gz) = 54949
(-)/usr/home/kaiw/port/uhidd/files/pkg-message.in (-5 / +11 lines)
Lines 1-20 Link Here
1
==============================================================================
1
==============================================================================
2
2
3
To use uhidd daemon for USB hid devices, you need to remove 'device ums',
3
To use uhidd daemon for USB HID devices, depends on which sub class
4
'device ukbd', and 'device uhid' from your kernel config file and recompile
4
driver you want to attach, to avoid confilicts between the daemon and
5
the kernel. Or if these drivers are loaded as kernel modules, kldunload them.
5
the kernel drivers, you need to remove some of these entries 'device
6
ums', 'device ukbd', or 'device uhid' from your kernel config file and
7
recompile the kernel. Or if these drivers are loaded as kernel
8
modules, kldunload those that conflicts.
6
9
7
If you want to run uhidd deamon at the startup, add the following lines to
10
If you want to run uhidd deamon at the startup, add the following lines to
8
/etc/rc.conf:
11
/etc/rc.conf:
9
12
10
	uhidd_flags="-kmhs"
13
	uhidd_flags="-kmohs"
11
	uhidd_enable="YES"
14
	uhidd_enable="YES"
12
15
16
Note that you need to modify the uhidd_flags (command line options)
17
according to which sub class drivers you want to use.
18
13
To manually start/stop uhidd daemon on certain device, run:
19
To manually start/stop uhidd daemon on certain device, run:
14
20
15
	%%PREFIX%%/etc/rc.d/uhidd [start|stop] /dev/ugen.X.Y
21
	%%PREFIX%%/etc/rc.d/uhidd [start|stop] /dev/ugen.X.Y
16
22
17
See http://wiki.freebsd.org/uhidd for more details about how to install and
23
See http://wiki.FreeBSD.org/uhidd for more details about how to install and
18
setup the daemon.
24
setup the daemon.
19
25
20
==============================================================================
26
==============================================================================

Return to bug 144513