Since FreeBSD 12 the way to prevent kernel modules from being loaded has changed because no /etc/devd/usb.conf exists. How to handle this in 12?. Also the man page, the distifo and the wiki page should be updated to show a solution or at least they should say it's broken on 12.
/etc/devd/usb.conf was removed in base r329148, so drivers are now excluded via devmatch_blacklist in /etc/rc.conf. Only specific device can also be excluded using UQ_KBD_IGNORE/UQ_HID_IGNORE/UQ_UMS_IGNORE via usb_quirk(4). Alternatively, upstream added -U (forced_attach) which works fine together with -o (cc_attach) as uhid(4) doesn't trigger events for kbdmux/sysmouse by default. https://github.com/kaiwang27/uhidd/commit/e9e835c93f53 https://github.com/kaiwang27/uhidd/commit/2ed68916f23b
Thanks for your explanation. Could someone place a short manual in UPDATING or the wiki or so?
A commit references this bug: Author: jbeich Date: Tue Dec 3 05:16:46 UTC 2019 New revision: 518909 URL: https://svnweb.freebsd.org/changeset/ports/518909 Log: sysutils/uhidd: improve FreeBSD 12+ support - Backport -U (forced_attach) - Mention devmatch_blacklist and UQ_*_IGNORE in pkg-message PR: 234916 MFH: 2019Q4 Changes: head/sysutils/uhidd/Makefile head/sysutils/uhidd/distinfo head/sysutils/uhidd/pkg-message
A commit references this bug: Author: jbeich Date: Tue Dec 3 19:53:05 UTC 2019 New revision: 518960 URL: https://svnweb.freebsd.org/changeset/ports/518960 Log: MFH: r518909 sysutils/uhidd: improve FreeBSD 12+ support - Backport -U (forced_attach) - Mention devmatch_blacklist and UQ_*_IGNORE in pkg-message PR: 234916 Approved by: ports-secteam (joneum) Changes: _U branches/2019Q4/ branches/2019Q4/sysutils/uhidd/Makefile branches/2019Q4/sysutils/uhidd/distinfo branches/2019Q4/sysutils/uhidd/pkg-message