Port details |
- uhidd Userland USB HID device driver using libusb20
- 0.2.1_5 sysutils
=6 0.2.1_5Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2009-09-19 20:20:59
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: libdrm, python, fusefs-ntfs, figlet, chromium
- License: BSD2CLAUSE
- WWW:
- https://wiki.FreeBSD.org/uhidd
- Description:
- uhidd is a userland driver/daemon for USB HID devices (e.g., mouse,
keyboard) using libusb20. The driver aims to support USB HID devices
with multiple Top-Level application collections in one interface i.e.,
HID devices with multiple logical device sharing one endpoint.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/sysutils/uhidd/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/uhidd
- pkg install uhidd
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: uhidd
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1350244424
SHA256 (kaiwang27-uhidd-REL-0.2.1_GH0.tar.gz) = 5072e75a374c79e538d0d42e4bf40c1cf0e5fd8a85f332787a1a07a24f44420e
SIZE (kaiwang27-uhidd-REL-0.2.1_GH0.tar.gz) = 59091
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for uhidd-0.2.1_5:
DEVD=on: Install devd(8) files
===> Use 'make config' to modify these settings
- Options name:
- sysutils_uhidd
- USES:
- uidfix
- pkg-message:
- For install:
- To use uhidd daemon for USB HID devices, depends on which sub class
driver you want to attach, to avoid conflicts between the daemon and
the kernel drivers, you should either use the command line option '-u'
to instruct the daemon to detach active kernel drivers attached to
a device, or you should remove some of those entries 'device ums',
'device ukbd', or 'device uhid' from your kernel config file and
recompile the kernel.
Note that if the USB kernel drivers are compiled as kernel modules,
you should also remove the relevant devd(8) rules in /etc/devd/usb.conf,
adjust devmatch_blacklist in /etc/rc.conf or define UQ_KBD_IGNORE,
UQ_UMS_IGNORE, UQ_HID_IGNORE via usbconfig(8), so those modules will not
be loaded automatically by devd(8) when devices are attached.
If you want to run uhidd daemon at the startup, add the following lines to
/etc/rc.conf:
uhidd_flags="-kmohsu"
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:
service uhidd [start|stop] /dev/ugen.X.Y
See http://wiki.FreeBSD.org/uhidd for more details about how to install and
setup the daemon.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.2.1_5 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.2.1_5 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
0.2.1_5 04 Oct 2021 21:36:02
    |
Jan Beich (jbeich)  |
sysutils/uhidd: unbreak build after 620968a43a5f
Restore the patch accidentally removed due to confusing comment.
uhidd_vhid_cuse.c:195:16: error: passing 'const char *' to parameter of type
'char *' discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
basename(hi->dev), hi->ndx);
^~~~~~~
/usr/include/libgen.h:61:74: note: expanded from macro 'basename'
#define basename(x) __generic(x, const char *, __old_basename, basename)(x)
^
/usr/include/libgen.h:56:28: note: passing argument to parameter here
char *__old_basename(char *);
^
Reported by: pkg-fallout |
0.2.1_5 30 Sep 2021 21:23:30
    |
Rene Ladan (rene)  |
cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11
Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*
Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index |
0.2.1_5 06 Apr 2021 14:31:13
    |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
0.2.1_5 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.2.1_5 23 Feb 2020 18:43:46
  |
jbeich  |
sysutils/uhidd: drop maintainership
Upstream is inactive while base ukbd(4) improved e.g.,
https://svnweb.freebsd.org/changeset/base/357861 |
0.2.1_5 20 Jan 2020 02:01:42
  |
jbeich  |
Simplify port-specific manpages location after r523104
Not all of my ports are covered because:
- USES=cmake requires patching devel/cmake to undo BSD-specific defaults
(A good example why BSD quirks should stay in ports, not to be upstreamed)
- USES=meson and GNU_CONFIGURE require dropping --mandir argument
- ponscripter-sekai requires Templates/BSD.local.dist to NOT create PREFIX/man |
0.2.1_5 03 Dec 2019 05:16:45
  |
jbeich  |
sysutils/uhidd: improve FreeBSD 12+ support
- Backport -U (forced_attach)
- Mention devmatch_blacklist and UQ_*_IGNORE in pkg-message
PR: 234916
MFH: 2019Q4 |
0.2.1_4 03 Dec 2019 04:33:34
  |
jbeich  |
sysutils/uhidd: move r518732 into a separate file
files/patch-less-basename is a cherry-pick that will disappear on update. |
0.2.1_4 30 Nov 2019 21:55:16
  |
rene  |
sysutils/uhidd: drop obsolete CUSE option for CUSE4BSD, it is replaced by cuse. |
0.2.1_3 14 Aug 2019 12:16:13
  |
mat  |
Convert to UCL & cleanup pkg-message (categories s) |
0.2.1_3 26 Jul 2017 17:02:36
  |
jbeich  |
Fix some typos |
0.2.1_3 08 May 2017 00:56:39
  |
jbeich  |
sysutils/uhidd: switch to HTTPS
Homepage link "http://www.presslabs.com/gitfs/" is a permanent
redirect to "https://www.presslabs.com/gitfs/" and should be updated
Reported by: Repology |
0.2.1_3 29 May 2016 17:29:34
  |
jbeich  |
sysutils/uhidd: unbreak build on 11.0
Only call basename(3) when qualifying for "const" as /dev/ prefix in
/dev/ugen%d.%d is unused.
uhidd.c:234:16: error: passing 'const char *' to parameter of type 'char *'
discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
basename(hi->dev));
^~~~~~~
/usr/include/libgen.h:38:22: note: passing argument to parameter here
char *basename(char *);
^
Reported by: antoine (exp-run), ed (ping)
PR: 209747 |
0.2.1_2 16 Mar 2016 12:58:17
  |
jbeich  |
Drop default directory from _DEPENDS in my ports
https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.html |
0.2.1_2 07 Mar 2016 22:34:56
  |
jbeich  |
sysutils/uhidd: chase new home |
0.2.1_2 21 Aug 2015 18:04:29
  |
jbeich  |
sysutils/uhidd: grab and modernize
- Add CUSE option and enable on FreeBSD 11.0-CURRENT
- Convert to vendor install
- Convert to option target helpers
- Convert to service(8) that runs rc.d in sanitized environment
- Convert DEVD substitution to SUB_LIST (without SUB_FILES)
- Reformat patches with makepatch
- Fix PREFIX != LOCALBASE for libcuse4bsd.so
- Remove no longer required byacc(1) workaround
- Take maintainership |
0.2.1_1 03 Feb 2015 14:50:56
  |
amdmi3  |
- Remove always false OSVERSION condition |
0.2.1_1 03 Aug 2014 10:37:12
  |
pawel  |
- Add staging support
- Use options sub, @sample for config file
- Fix few spelling errors in pkg-message |
0.2.1_1 06 Jul 2014 15:52:25
  |
bapt  |
Resetting maintainership on ports that have not been staged and without any
pending PR (related to stage)
With hat: portmgr |
0.2.1_1 17 Jan 2014 17:04:19
  |
rakuco  |
- Add patch to fix the build on FreeBSD 10 and beyond. [1]
- Set LICENSE, adjust LIB_DEPENDS to the new syntax, adjust WWW to the new
format.
PR: ports/185011 [1]
Submitted by: Kai Wang <kaiwang27@gmail.com> (maintainer) |
0.2.1_1 20 Sep 2013 23:06:00
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
0.2.1_1 28 Feb 2013 10:51:58
  |
gahr  |
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: sysutils)
Approved by: portmgr |
0.2.1_1 29 Oct 2012 12:41:02
  |
crees  |
Style fixes and remove unconditional use of [
Users should see some microseconds shaved off boot :)
Approved by: Kai Wang (maintainer)
Feature safe: yes |
0.2.1 22 Oct 2012 20:13:37
  |
madpilot  |
- Update to 0.2.1
PR: ports/172703
Submitted by: Kai Wang <kaiwang27@gmail.com> (maintainer)
Feature safe: yes |
0.2.0_2 27 May 2012 09:14:07
 |
ak  |
- Unbreak after yacc update in r235723
PR: ports/168311
Submitted by: Jan Beich <jbeich@tormail.org>
Approved by: eadler, itetcu (mentors, implicit) |
0.2.0_2 03 Feb 2012 17:16:28
 |
eadler  |
This patch has been committed into uhidd upstream and will be included
in the next uhidd release. However it seems that the next release will take some
time and some people want/need this patch so temporarily add it.
PR: ports/159313
Submitted by: Test Rat <ttsestt@gmail.com>
Reviewed by: Kai Wang <kaiwang27@gmail.com>
Requested by: Jan Beich jbeich@tormail.net
Approved by: maintainer |
0.2.0_1 14 Jan 2012 19:58:48
 |
miwi  |
- Unbreak build on clang/gcc46
PR: 163440
Submitted by: Jan Beich <jbeich@tormail.net>
Approved by: maintainer |
0.2.0_1 14 Jan 2012 08:57:23
 |
dougb  |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
0.2.0_1 03 May 2011 15:20:02
 |
glarkin  |
- Added rc.d default value
- Bumped PORTREVISION
PR: ports/156734
Submitted by: Chris Rees <utisoft@gmail.com>
Approved by: Kai Wang <kaiwang27@gmail.com> (maintainer) |
0.2.0 19 Mar 2011 12:38:54
 |
miwi  |
- Get Rid MD5 support |
0.2.0 12 Nov 2010 20:57:42
 |
pav  |
- Do not remove etc/devd, it is now part of mtree |
0.2.0 26 Aug 2010 14:50:38
 |
pav  |
- respect PREFIX for location of uhidd.conf
- use PTHREAD_LIBS instead of -lpthread
- try to guess kernel sources based on SYSDIR (used by bsd.kmod.mk)
or SRC_BASE (used by ports like virtualbox and kqemu)
- use KMODDIR in plist, too
- I don't think SUB_FILES needs to be *after* bsd.port.pre.mk
- inherit DEBUG_FLAGS from make.conf, not only from command line
- mimic bsd.kmod.mk in installing .symbols file and add entry to plist
PR: ports/147898
Submitted by: Anonymous <swell.k@gmail.com>
Approved by: Kai Wang <kaiwang27@gmail.com> (maintainer) |
0.2.0 27 Mar 2010 00:15:24
 |
dougb  |
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr# |
0.2.0 15 Mar 2010 15:49:15
 |
amdmi3  |
- Update to 0.2.0
PR: 144513
Submitted by: Kai Wang <kaiwang27@gmail.com> (maintainer) |
0.1.4 12 Nov 2009 03:36:06
 |
linimon  |
Since it is unlikely that this will ever be back-ported to the old
USB stack, IGNORE is preferred to BROKEN here.
Hat: portmgr |
0.1.4 19 Sep 2009 20:20:28
 |
miwi  |
uhidd is a userland driver/daemon for USB HID devices (e.g. mouse,
keyboard) using libusb20. The driver aims to support USB HID devices
with multiple Top-Level application collections in one interface, i.e,
HID devices with multiple logical device sharing one endpoint.
WWW: http://wiki.FreeBSD.org/uhidd
PR: ports/137793
Feature safe: yes
Submitted by: Kai Wang <kaiwang27 at gmail.com> |