History log of /src/sbin/devd/devd.conf.5 (Results 1 – 25 of 320)
Revision Date Author Comments
# 428517a7 03-Mar-2026 Christos Margiolis <christos@FreeBSD.org>

sound: Notify devd when no devices are connected

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55531


# 59b7f3ed 11-Feb-2026 Quentin Thébault <quentin.thebault@defenso.fr>

devd.conf.5: Fix cross-references to devfs(4)

Fixes: 1687d77197c0 (man filesystems: move driver pages)
MFC after: 3 days
Reviewed by: ziaee
Sponsored by: Defenso
Signed-off-by: Quentin Thébault <q

devd.conf.5: Fix cross-references to devfs(4)

Fixes: 1687d77197c0 (man filesystems: move driver pages)
MFC after: 3 days
Reviewed by: ziaee
Sponsored by: Defenso
Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Closes: https://github.com/freebsd/freebsd-src/pull/2015

show more ...


# 2ffaca55 30-Sep-2025 Christos Margiolis <christos@FreeBSD.org>

snd_hda: Implement automatic redirection between associations

For audio to be redirected to the headphones/headset after plugging the
jack, or back to the speaker/internal mic when unplugging it, th

snd_hda: Implement automatic redirection between associations

For audio to be redirected to the headphones/headset after plugging the
jack, or back to the speaker/internal mic when unplugging it, the
speaker and headphone pins need to be part of the same association
(i.e., the same PCM device). This patch makes it possible to redirect
audio even between different associations, which can reduce the need for
manual pin patching.

The idea is that we issue a devctl_notify() from within the jack
detection callback whenever a jack is (un-)plugged to redirect audio to
the appropriate device. Then the snd.conf devd script is responsible for
using virtual_oss to change the playback/recording device to whatever
snd_hda(4) selected. The reason for requiring virtual_oss is that it has
hot-swapping support, which is necessary for jack redirection.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D50070

show more ...


# 5c59cec2 09-Jul-2025 John Baldwin <jhb@FreeBSD.org>

nvmf: Auto-reconnect periodically after a disconnect

Use a timer in the nvmf(4) driver to periodically trigger a devctl
"RECONNECT" notification. A trigger in the /etc/devd/nvmf.conf file
invokes "

nvmf: Auto-reconnect periodically after a disconnect

Use a timer in the nvmf(4) driver to periodically trigger a devctl
"RECONNECT" notification. A trigger in the /etc/devd/nvmf.conf file
invokes "nvmecontrol reconnect nvmeX" upon each notification. This
differs from iSCSI which uses a dedicated daemon (iscsid(8)) to wait
inside a custom ioctl for an iSCSI initiator event to occur, but I
think this design might be simpler.

Similar to nvme-cli, the interval between reconnection attempts is
specified in seconds by the --reconnect-delay argument to the connect
and reconnect commands. Note that nvme-cli uses -c for short letter
of this command, but that was already taken so nvmecontrol uses -r.
The default is 10 seconds to match Linux.

In addition, a second timeout can be used to force a full detach of a
disconnected the nvmeX device after the controller loss timeout
expires. The timeout for this is specified in seconds by the
--ctrl-loss-tmo/-l options (identical to nvme-cli). The default is
600 seconds.

Either of these timers can be disabled by setting the timer to 0. In
that case, the associated action (devctl notifications or full detach)
will not occur after a disconnect.

Note that this adds a dedicated taskqueue for nvmf tasks instead of
using taskqueue_thread as the controller loss task could deadlock
waiting for the completion of other tasks queued to taskqueue_thread.
(Specifically, tearing down the CAM SIM can trigger
destroy_dev_sched_cb() and waits for the callback to run, but the
callback is scheduled to run in a task on taskqueue_thread. Possibly,
destroy_dev_sched should be using a dedicated taskqueue.)

Reviewed by: imp (earlier version)
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D50222

show more ...


# 9ad1589c 08-Jul-2025 John Baldwin <jhb@FreeBSD.org>

devd.conf.5: Use a tag list block for NVMe SMART errors

groff doesn't seem to handle nested column list blocks correctly for
postscript and HTML output causing the subsequent nvme event to be
indent

devd.conf.5: Use a tag list block for NVMe SMART errors

groff doesn't seem to handle nested column list blocks correctly for
postscript and HTML output causing the subsequent nvme event to be
indented incorrectly. Using a tag list block works around this.

Sponsored by: Chelsio Communications

show more ...


# 6aca7132 08-Jul-2025 John Baldwin <jhb@FreeBSD.org>

devd.conf.5: Describe $name used with nvme events

While here, fix a couple of nearby nits.

Sponsored by: Chelsio Communications


# b00d9fa1 08-Jul-2025 John Baldwin <jhb@FreeBSD.org>

devd.conf.5: Expand the width of various columns

Using upper case for column width templates avoids overfull columns
when using groff to generate a postscript version of the manpage but
doesn't affe

devd.conf.5: Expand the width of various columns

Using upper case for column width templates avoids overfull columns
when using groff to generate a postscript version of the manpage but
doesn't affect the terminal version.

Use a wider default column (8 characters) for the "Type" column and
use wider widths for tables with longer event types.

In the terminal, man(1) forces a line break after overfull column
items, but in the postscript and HTML versions the column just
overflows into the adjacent column without any separation.

Sponsored by: Chelsio Communications

show more ...


# 4b472968 08-Jul-2025 John Baldwin <jhb@FreeBSD.org>

devd.conf.5: Consistently use Li to markup literal strings

This doesn't affect terminal output but does affect the fonts used in
other formats such as postscript and HTML.

Sponsored by: Chelsio Com

devd.conf.5: Consistently use Li to markup literal strings

This doesn't affect terminal output but does affect the fonts used in
other formats such as postscript and HTML.

Sponsored by: Chelsio Communications

show more ...


# b4cc8079 29-Apr-2025 John Baldwin <jhb@FreeBSD.org>

devd.conf.5: memrory -> memory

Sponsored by: Chelsio Communications


# 1fc7922f 20-Dec-2024 Joerg Wunsch <joerg@FreeBSD.org>

devd.conf(5): explain difference between internal and shell variables

devd.conf by default considers many variables as internal, possibly
expanding them to an empty string. Shell variables thus nee

devd.conf(5): explain difference between internal and shell variables

devd.conf by default considers many variables as internal, possibly
expanding them to an empty string. Shell variables thus need to be
wrapped into braces.

Reviewed by: imp, Andre Albsmeier
MFC after: 1 week
Differential Revision: <https://reviews.freebsd.org/D48154>

show more ...


# 7c6af209 07-Mar-2024 Warner Losh <imp@FreeBSD.org>

devd: Add directory information

Devd searches /etc/devd and /usr/local/etc/devd by default (given the
default devd.conf file). Document that here.

Sponsored by: Netflix


# 6a3877a0 07-Mar-2024 Warner Losh <imp@FreeBSD.org>

devd: Document the nvme devd events

Nvme informs devd of smart and reset controller events. Document them.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D44212


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 328ebd46 26-Mar-2023 Gordon Bergling <gbe@FreeBSD.org>

devd.conf.5: Fix a typo in the manual page

- s/deteted/detected/

MFC after: 5 days


# 8d147537 02-Dec-2022 Warner Losh <imp@FreeBSD.org>

newbus: Remove deprecated "kern" system name for resume events.

The new "kernel" system name is the one that's documented and has
been generated for a year now. Remove the old one now that 14.0
is g

newbus: Remove deprecated "kern" system name for resume events.

The new "kernel" system name is the one that's documented and has
been generated for a year now. Remove the old one now that 14.0
is getting close.

Sponsored by: Netflix
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D37582

show more ...


# f968cb14 22-Sep-2022 Pau Amma <pauamma@FreeBSD.org>

Track removal of Tokenring and FDDI media types from devd.cc.

Fixes: eec02418d83b Remove support for FDDI and token ring media types in userland utilities.

Reviewed by: brooks, gjb, imp

Approved b

Track removal of Tokenring and FDDI media types from devd.cc.

Fixes: eec02418d83b Remove support for FDDI and token ring media types in userland utilities.

Reviewed by: brooks, gjb, imp

Approved by: brooks (src), gjb (mentor, src), imp (src)

Differential Revision: https://reviews.freebsd.org/D36668

MFC after: 3 days

show more ...


# 80f21bb0 03-Nov-2021 Warner Losh <imp@FreeBSD.org>

vt: fix git mismerge

I made a mistaking in merging the final commits for the devctl changes. This
adds the 'hushed' variable and has the correct dates for the manuals.

Pointy hat to: imp


# cc48eb70 03-Nov-2021 Warner Losh <imp@FreeBSD.org>

vt: fix typo

Notifcation -> Notification


# 4ac3d08a 03-Nov-2021 Warner Losh <imp@FreeBSD.org>

vt: Add devctl message for bells

Generate VT events when the bell beeps. When coupled with disabling the
bell,this allows custom bells to be rung when we'd otherwise beep.

Reviewed by: kevans
Diffe

vt: Add devctl message for bells

Generate VT events when the bell beeps. When coupled with disabling the
bell,this allows custom bells to be rung when we'd otherwise beep.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D32656

show more ...


# a7581946 23-Jun-2021 Rozhuk Ivan <rozhuk.im@gmail.com>

devctl: add ADDR_ADD and ADDR_DEL devctl event for IFNET

Add devd event on network iface address add/remove. Can be used to
automate actions on any address change.

Reviewed by: imp@ (and minor st

devctl: add ADDR_ADD and ADDR_DEL devctl event for IFNET

Add devd event on network iface address add/remove. Can be used to
automate actions on any address change.

Reviewed by: imp@ (and minor style tweaks)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30840

show more ...


# 4fb3e0bb 23-Jun-2021 Rozhuk Ivan <rozhuk.im@gmail.com>

devctl: add RENAME devctl event for IFNET

Add devd event on network iface rename.

Reviewed by: imp@,asomers@
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30839


# 226f43e7 19-Dec-2020 Gordon Bergling <gbe@FreeBSD.org>

devd.conf(5): Fix a mandoc related issue

- sections out of conventional order: Sh SEE ALSO

MFC after: 1 week


# b7169662 23-Nov-2020 Warner Losh <imp@FreeBSD.org>

Prefer Em to Ar for emphasis

Em is better than Ar if all we want to do is underline the text.

Submitted by: yuripv@


# eb93b08f 13-Oct-2020 Warner Losh <imp@FreeBSD.org>

Document the rather suprising behavior with ' inside action rules.

To prevent issues with odd shell characters appearing in, a surprising
shell feature is used. Document it and a workaround for it.

Document the rather suprising behavior with ' inside action rules.

To prevent issues with odd shell characters appearing in, a surprising
shell feature is used. Document it and a workaround for it.

Differential Revision: https://reviews.freebsd.org/D26723

show more ...


# 5f35cd72 03-Oct-2020 Gordon Bergling <gbe@FreeBSD.org>

devd.conf(5): Bugfix for an issue reported by mandoc

- whitespace at end of input line

MFC after: 1 week


12345678910>>...13