History log of /src/sbin/devd/snd.conf (Results 1 – 7 of 7)
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


# 56eee778 18-Oct-2025 Christos Margiolis <christos@FreeBSD.org>

devd/snd.conf: Note that any command can be used for the action

Sponsored by: The FreeBSD Foundation
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D53175


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


# 56eee778 18-Oct-2025 Christos Margiolis <christos@FreeBSD.org>

devd/snd.conf: Note that any command can be used for the action

Sponsored by: The FreeBSD Foundation
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D53175


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


# 56eee778 18-Oct-2025 Christos Margiolis <christos@FreeBSD.org>

devd/snd.conf: Note that any command can be used for the action

Sponsored by: The FreeBSD Foundation
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D53175


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