notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
uhidd Userland USB HID device driver using libusb20
0.2.1_5 sysutils on this many watch lists=6 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. /usr/local/share/licenses/uhidd-0.2.1_5/catalog.mk
  2. /usr/local/share/licenses/uhidd-0.2.1_5/LICENSE
  3. /usr/local/share/licenses/uhidd-0.2.1_5/BSD2CLAUSE
  4. @sample etc/devd/uhidd-devd.conf.sample
  5. sbin/uhidd
  6. share/man/man5/uhidd.conf.5.gz
  7. share/man/man8/uhidd.8.gz
  8. @owner
  9. @group
  10. @mode
Collapse this list.
Dependency lines:
  • uhidd>0:sysutils/uhidd
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

Expand this list (20 items)

Collapse this list.

SHA256 (3ddfebf75bbb.patch) = 5d5827a287163e87529d472e3a5ed2a23a8fafe655ad2b2a89ae2543e6b2ea8a SIZE (3ddfebf75bbb.patch) = 654 SHA256 (9c0b5e3255ec.patch) = 410d27a0a718caa99be9af4307174b2f92839b73d83002bff1142f6c51bc7c13 SIZE (9c0b5e3255ec.patch) = 753 SHA256 (0d05cd7acadd.patch) = b2d8656c4949877f86da340f997827b4309f5dff8ed6fd4325abe4abcac06016 SIZE (0d05cd7acadd.patch) = 659 SHA256 (c040f483add2.patch) = 50d020740ec0e5e8424dd0dfbf7b00d0dab78bc61ddee4e65e97ef11e20f62d8 SIZE (c040f483add2.patch) = 2677 SHA256 (d5af7099c1e9.patch) = 77ba630b42b895b2eaab8bcbf4f503716603d24178d73bb228f618522baaaa03 SIZE (d5af7099c1e9.patch) = 3177 SHA256 (e9e835c93f53.patch) = bc5fd79473f685f0bc73d20f3f21d6dbd567f84b9c818494d07a806e678c50f5 SIZE (e9e835c93f53.patch) = 4472 SHA256 (2ed68916f23b.patch) = b76c33b4497cf10499f563b002e25d7870b51978fbaa9119f01bbd244a6855ea SIZE (2ed68916f23b.patch) = 816 SHA256 (dd1279592b04.patch) = ab6552fedd78fdae51911116e5dec4cbd2d7a3d82025882497a40e5bc42ae2bb SIZE (dd1279592b04.patch) = 1610 SHA256 (498422ccef03.patch) = cfdbb3097b7f1571a36a4ee09dc029d70a7eb9710277b64f6a9f2803304ec976 SIZE (498422ccef03.patch) = 897 SHA256 (7022ca4d1a1b.patch) = 657be1c503f7b92920e13f53534f41280d3551b9162c4b47c3ae7cab0a1da8b6 SIZE (7022ca4d1a1b.patch) = 676

Collapse this list.


Packages (timestamps in pop-ups are UTC):
uhidd
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.1_50.2.1_50.2.1_50.2.1_50.2.1_5-0.2.1_5-
FreeBSD:13:quarterly0.2.1_50.2.1_50.2.1_50.2.1_50.2.1_50.2.1_50.2.1_50.2.1_5
FreeBSD:14:latest0.2.1_50.2.1_50.2.1_50.2.1_50.2.1_50.2.1_5-0.2.1_5
FreeBSD:14:quarterly0.2.1_50.2.1_5-0.2.1_50.2.1_50.2.1_50.2.1_50.2.1_5
FreeBSD:15:latest0.2.1_50.2.1_5n/a0.2.1_5n/a0.2.1_50.2.1_50.2.1_5
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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/kaiwang27/uhidd/tar.gz/REL-0.2.1?dummy=/
Collapse this list.

Number of commits found: 39

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.2.1_5
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
0.2.1_5
04 Oct 2021 21:36:02
commit hash: 644d695c79fa5a7e45c0e87d8cfeb9351a8553b5commit hash: 644d695c79fa5a7e45c0e87d8cfeb9351a8553b5commit hash: 644d695c79fa5a7e45c0e87d8cfeb9351a8553b5commit hash: 644d695c79fa5a7e45c0e87d8cfeb9351a8553b5 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
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
commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
0.2.1_5
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.2.1_5
23 Feb 2020 18:43:46
Revision:526933Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:523601Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:518909Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:518908Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:518732Original commit files touched by this commit
rene search for other commits by this committer
sysutils/uhidd: drop obsolete CUSE option for CUSE4BSD, it is replaced by cuse.
0.2.1_3
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
0.2.1_3
26 Jul 2017 17:02:36
Revision:446667Original commit files touched by this commit
jbeich search for other commits by this committer
Fix some typos
0.2.1_3
08 May 2017 00:56:39
Revision:440393Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:416118Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:411229Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:410579Original commit files touched by this commit
jbeich search for other commits by this committer
sysutils/uhidd: chase new home
0.2.1_2
21 Aug 2015 18:04:29
Revision:394990Original commit files touched by this commit
jbeich search for other commits by this committer
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
Revision:378353Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Remove always false OSVERSION condition
0.2.1_1
03 Aug 2014 10:37:12
Revision:363873Original commit files touched by this commit
pawel search for other commits by this committer
- 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
Revision:360930Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:340077Original commit files touched by this commit
rakuco search for other commits by this committer
- 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
Revision:327772Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:313088Original commit files touched by this commit
gahr search for other commits by this committer
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: sysutils)

Approved by:	portmgr
0.2.1_1
29 Oct 2012 12:41:02
Revision:306606Original commit files touched by this commit
crees search for other commits by this committer
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
Revision:306286Original commit files touched by this commit
madpilot search for other commits by this committer
- 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
Original commit files touched by this commit
ak search for other commits by this committer
- 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
Original commit files touched by this commit
eadler search for other commits by this committer
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
Original commit files touched by this commit
miwi search for other commits by this committer
- 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
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
glarkin search for other commits by this committer
- 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
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
0.2.0
12 Nov 2010 20:57:42
Original commit files touched by this commit
pav search for other commits by this committer
- Do not remove etc/devd, it is now part of mtree
0.2.0
26 Aug 2010 14:50:38
Original commit files touched by this commit
pav search for other commits by this committer
- 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
Original commit files touched by this commit
dougb search for other commits by this committer
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
0.2.0
15 Mar 2010 15:49:15
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 0.2.0

PR:             144513
Submitted by:   Kai Wang <kaiwang27@gmail.com> (maintainer)
0.1.4
12 Nov 2009 03:36:06
Original commit files touched by this commit
linimon search for other commits by this committer
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
Original commit files touched by this commit
miwi search for other commits by this committer
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>

Number of commits found: 39