BSD Ports

sysutils/uhidd 0.2.1_6 FreeBSD

Userland USB HID device driver using libusb20

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f42be6de85
License
BSD2CLAUSE
Categories
sysutils
Package size
65.8 KiB, 166.5 KiB installed

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.

Install

Binary package:

pkg install uhidd

From the ports tree:

cd /usr/ports/sysutils/uhidd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	uhidd>0:sysutils/uhidd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.1_60.2.1_60.2.1_50.2.1_50.2.1_6
FreeBSD:14:quarterly0.2.1_60.2.1_6n/a0.2.1_50.2.1_6
FreeBSD:15:latest0.2.1_60.2.1_6n/a0.2.1_50.2.1_5
FreeBSD:15:quarterly0.2.1_60.2.1_6n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: sysutils_uhidd

OptionDefaultDescription
DEVDonInstall devd(8) files
USES
uidfix
Service scripts
uhidd

Message after installing

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.

===>   NOTICE:

The uhidd port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 2
  • uhidd(8)
  • uhidd.conf(5)
pkg-plist 4
  • @sample etc/devd/uhidd-devd.conf.sample
  • sbin/uhidd
  • share/man/man5/uhidd.conf.5.gz
  • share/man/man8/uhidd.8.gz
distinfo 11
FileSizeSHA256
kaiwang27-uhidd-REL-0.2.1_GH0.tar.gz590915072e75a374c79e538d0d42e4bf40c1cf0e5fd8a85f332787a1a07a24f44420e
3ddfebf75bbb.patch6545d5827a287163e87529d472e3a5ed2a23a8fafe655ad2b2a89ae2543e6b2ea8a
9c0b5e3255ec.patch753410d27a0a718caa99be9af4307174b2f92839b73d83002bff1142f6c51bc7c13
0d05cd7acadd.patch659b2d8656c4949877f86da340f997827b4309f5dff8ed6fd4325abe4abcac06016
c040f483add2.patch267750d020740ec0e5e8424dd0dfbf7b00d0dab78bc61ddee4e65e97ef11e20f62d8
d5af7099c1e9.patch317777ba630b42b895b2eaab8bcbf4f503716603d24178d73bb228f618522baaaa03
e9e835c93f53.patch4472bc5fd79473f685f0bc73d20f3f21d6dbd567f84b9c818494d07a806e678c50f5
2ed68916f23b.patch816b76c33b4497cf10499f563b002e25d7870b51978fbaa9119f01bbd244a6855ea
dd1279592b04.patch1610ab6552fedd78fdae51911116e5dec4cbd2d7a3d82025882497a40e5bc42ae2bb
498422ccef03.patch897cfdbb3097b7f1571a36a4ee09dc029d70a7eb9710277b64f6a9f2803304ec976
7022ca4d1a1b.patch676657be1c503f7b92920e13f53534f41280d3551b9162c4b47c3ae7cab0a1da8b6

Commit history 1

DateCommitCreditsLog message
f42be6de85 Jan Beich sysutils/uhidd: unbreak DEVD after 495f8d8067f4
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found PR: 296543