History log of /freebsd/sbin/devd/Makefile (Results 1 – 25 of 71)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1b806e60 02-Oct-2025 Lexi Winter <ivy@FreeBSD.org>

packages: Add a sound package

Put virtual_oss, /etc/devd/snd.conf and the other audio-related tools
into a new "sound" package. Don't create a separate -lib package,
since it's unlikely someone wil

packages: Add a sound package

Put virtual_oss, /etc/devd/snd.conf and the other audio-related tools
into a new "sound" package. Don't create a separate -lib package,
since it's unlikely someone will want mixer(3) without mixer(8).

Put the sound package in the optional set rather than minimal, since
it's not actually required for audio hardware support, and many systems
(including nearly all servers) won't want it installed.

MFC after: 3 seconds
Reviewed by: christos
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52823

show more ...


# 5cc36854 01-Oct-2025 Christos Margiolis <christos@FreeBSD.org>

devd: Remove SND package

This was done by accident, build snd.conf always.

Reported by: ivy
Fixes: 2ffaca551eaf ("snd_hda: Implement automatic redirection between associations")
Sponsored by: The

devd: Remove SND package

This was done by accident, build snd.conf always.

Reported by: ivy
Fixes: 2ffaca551eaf ("snd_hda: Implement automatic redirection between associations")
Sponsored by: The FreeBSD Foundation
MFC after: 1 day

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 ...


Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2
# 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 ...


Revision tags: release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2, release/14.3.0, release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0
# e9ac4169 15-Jul-2024 Warner Losh <imp@FreeBSD.org>

Remove residual blank line at start of Makefile

This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix


Revision tags: release/14.1.0, release/13.3.0
# 272b4b76 22-Dec-2023 Tijl Coosemans <tijl@FreeBSD.org>

devd: Don't install autofs.conf with WITHOUT_AUTOFS


Revision tags: release/14.0.0
# b3c116d5 07-Nov-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: autofs: Move autofs related events to a separate file

If a user don't have FreeBSD-autofs installed there is no need to try calling
automount on every GEOM event.
It's also easier to add/delet

devd: autofs: Move autofs related events to a separate file

If a user don't have FreeBSD-autofs installed there is no need to try calling
automount on every GEOM event.
It's also easier to add/delete autofs related event in a separate file.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D42495
Reviewed by: imp

show more ...


# 5e50df6d 26-Oct-2023 Warner Losh <imp@FreeBSD.org>

devd: Restore WARNS=6

We compile correctly on all platforms with clang and WARNS=6. We build
on amd64 with gcc12 and WARNS.6. Restore WARNS=6. This reverts
3741a56c310d, since that's no longer relev

devd: Restore WARNS=6

We compile correctly on all platforms with clang and WARNS=6. We build
on amd64 with gcc12 and WARNS.6. Restore WARNS=6. This reverts
3741a56c310d, since that's no longer relevant.

Sponsored by: Netflix

show more ...


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

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


Revision tags: release/13.2.0
# cab549c7 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-console-tools package

And put in it:
- kbdcontrol
- vidcontrol
- moused
- kbdmap

Those aren't useful in a jail or for a modern desktop.
While here, split the devd.conf

pkgbase: Create a FreeBSD-console-tools package

And put in it:
- kbdcontrol
- vidcontrol
- moused
- kbdmap

Those aren't useful in a jail or for a modern desktop.
While here, split the devd.conf part into some new files.

Reviewed by: bapt
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38321

show more ...


# 2878e21f 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: Move power_profile part in devd/power_profile.conf

And make it part of the FreeBSD-acpi package.
This avoid calling service power_profile on an installation without it
installed.

Sponsored by

devd: Move power_profile part in devd/power_profile.conf

And make it part of the FreeBSD-acpi package.
This avoid calling service power_profile on an installation without it
installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38324

show more ...


# 9150a045 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: Move bluetooth part in devd/bluetooth.conf

And make it part of the FreeBSD-bluetooth package.
This avoid calling service bluetooth on an installation without it
installed.

Sponsored by: Bec

devd: Move bluetooth part in devd/bluetooth.conf

And make it part of the FreeBSD-bluetooth package.
This avoid calling service bluetooth on an installation without it
installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38323

show more ...


# f4d9116d 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: Move dhclient part in devd/dhclient.conf

And make it part of the FreeBSD-dhclient package.
This avoid calling dhclient on an installation without dhclient
installed.

Sponsored by: Beckhoff Au

devd: Move dhclient part in devd/dhclient.conf

And make it part of the FreeBSD-dhclient package.
This avoid calling dhclient on an installation without dhclient
installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38322

show more ...


Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# 8214b9d6 25-Nov-2021 Ed Maste <emaste@FreeBSD.org>

Make devd shared now that libc++ is in /lib

Commit 5e6a2d6eb220 moved libc++ from /usr/lib to /lib, so we no longer
have an interval during boot when it is not available (before /usr is
mounted). W

Make devd shared now that libc++ is in /lib

Commit 5e6a2d6eb220 moved libc++ from /usr/lib to /lib, so we no longer
have an interval during boot when it is not available (before /usr is
mounted). We no longer need to force devd to be statically linked.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37409

show more ...


# ea0850e4 22-Jul-2022 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put devd in its own package

It's not that useful in a jail or in a mdroot.

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


# 7ac164dc 02-May-2022 Mina Galić <me+freebsd@igalic.co>

pkgbase: move devd's hyperv.conf to hyperv-tools package

This devd config file is useless without hyperv-tools, so we're moving
it into the hyperv-tools package. pr#263691

PR: 263691
MFC after: 3

pkgbase: move devd's hyperv.conf to hyperv-tools package

This devd config file is useless without hyperv-tools, so we're moving
it into the hyperv-tools package. pr#263691

PR: 263691
MFC after: 3 days

show more ...


# 93c43690 14-Dec-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put more binaries/lib in runtime

Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime.
This is everything needed to boot to multiuser with FreeBSD-rc installed.

MFC aft

pkgbase: Put more binaries/lib in runtime

Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime.
This is everything needed to boot to multiuser with FreeBSD-rc installed.

MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33435

show more ...


Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0
# 61c1328e 13-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352105 through r352307.


# e6f059a9 10-Sep-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Stop linking to libl by specifying we do not need yywrap

MFC after: 3 days


# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 4c1a82ce 05-Sep-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-utilities package and make it the default one

The default package use to be FreeBSD-runtime but it should only contain
binaries and libs enough to boot to single user and r

pkgbase: Create a FreeBSD-utilities package and make it the default one

The default package use to be FreeBSD-runtime but it should only contain
binaries and libs enough to boot to single user and repair the system, it
is also very handy to have a package that can be tranform to a small mfsroot.
So create a new package named FreeBSD-utilities and make it the default one.
Also move a few binaries and lib into this package when it make sense.
Reviewed by: bapt, gjb
Differential Revision: https://reviews.freebsd.org/D21506

show more ...


Revision tags: release/11.3.0, release/12.0.0
# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# 44e1285c 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all devd related configs to sbin/devd/

This helps with pkgbase as it switches these to using CONFS so they are
properly tagged as config files.

Approved by: will (mentor), imp
Differential Rev

Move all devd related configs to sbin/devd/

This helps with pkgbase as it switches these to using CONFS so they are
properly tagged as config files.

Approved by: will (mentor), imp
Differential Revision: https://reviews.freebsd.org/D16781

show more ...


Revision tags: release/11.2.0
# 3741a56c 24-May-2018 Matt Macy <mmacy@FreeBSD.org>

devd: drop WARNS back down to 3 until 6 actually works with GCC


# 695a3b29 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

devd: Unbreak build

I'm not quite sure why this wasn't caught before. Most likely due to
some generated file not being properly cleaned.

Fix build by just hiding the warnings that `-i` was supposed

devd: Unbreak build

I'm not quite sure why this wasn't caught before. Most likely due to
some generated file not being properly cleaned.

Fix build by just hiding the warnings that `-i` was supposed to fix.

Tested with clang, gcc9, gcc7

show more ...


123