<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/devd/Makefile, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-04-28T19:50:41Z</updated>
<entry>
<title>acpi: Remove userland bits on non-ACPI platforms</title>
<updated>2026-04-28T19:50:41Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2026-04-28T19:37:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c4b244af42a1f20937939a824b753a92c9c0a46f'/>
<id>urn:sha1:c4b244af42a1f20937939a824b753a92c9c0a46f</id>
<content type='text'>
ACPI is only supported on amd64, arm64 and i386.  Don't install the
power_profile rc script or devd configuration on other platforms.

This avoids creating a useless FreeBSD-acpi package on those platforms.

MFC after:	2 weeks
Reviewed by:	imp
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D56650
</content>
</entry>
<entry>
<title>src.opts: Introduce MK_SOUND</title>
<updated>2026-01-12T14:16:35Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-01-12T14:16:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f74f891581bc4df20431607de9b761107f6a0aa7'/>
<id>urn:sha1:f74f891581bc4df20431607de9b761107f6a0aa7</id>
<content type='text'>
PR:		291853
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	zarychtam_plan-b.pwste.edu.pl, markj
Differential Revision:	https://reviews.freebsd.org/D54456
</content>
</entry>
<entry>
<title>packages: Add a sound package</title>
<updated>2025-10-02T01:37:35Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-10-02T01:16:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b806e607f52285f973fb1106491668fd28da6a4'/>
<id>urn:sha1:1b806e607f52285f973fb1106491668fd28da6a4</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>devd: Remove SND package</title>
<updated>2025-10-01T08:23:02Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2025-10-01T08:18:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5cc36854ee63dc695d90a841d9db587bec67ba24'/>
<id>urn:sha1:5cc36854ee63dc695d90a841d9db587bec67ba24</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>snd_hda: Implement automatic redirection between associations</title>
<updated>2025-09-30T10:52:44Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2025-09-30T10:52:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2ffaca551eaf32c17f701762ecf29a961cf19aa4'/>
<id>urn:sha1:2ffaca551eaf32c17f701762ecf29a961cf19aa4</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>nvmf: Auto-reconnect periodically after a disconnect</title>
<updated>2025-07-09T14:19:45Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-07-09T14:17:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c59cec2d5e141de54bbc737477a8e498685186a'/>
<id>urn:sha1:5c59cec2d5e141de54bbc737477a8e498685186a</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>urn:sha1:e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>devd: Don't install autofs.conf with WITHOUT_AUTOFS</title>
<updated>2023-12-22T14:27:50Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2023-12-22T14:14:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=272b4b764bdfb563f655da37ef9ec8c01c77f386'/>
<id>urn:sha1:272b4b764bdfb563f655da37ef9ec8c01c77f386</id>
<content type='text'>
</content>
</entry>
<entry>
<title>devd: autofs: Move autofs related events to a separate file</title>
<updated>2023-11-24T09:45:03Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2023-11-07T10:06:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b3c116d50ecacaab5236e0488cb74c1bcf614ae7'/>
<id>urn:sha1:b3c116d50ecacaab5236e0488cb74c1bcf614ae7</id>
<content type='text'>
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 &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D42495
Reviewed by:	imp
</content>
</entry>
<entry>
<title>devd: Restore WARNS=6</title>
<updated>2023-10-26T16:11:59Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-10-26T04:35:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e50df6dc026853d578b295af7891b34c59adfe9'/>
<id>urn:sha1:5e50df6dc026853d578b295af7891b34c59adfe9</id>
<content type='text'>
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
</content>
</entry>
</feed>
