opnsense-src/sbin/devd
Christos Margiolis f89909e462 virtual_oss: Introduce virtual_oss_default_control_device rc variable
The -t option gives the user the ability to create a control device for
a given virtual_oss(8) instance, so that the instance's configuration
can be manipulated during runtime with virtual_oss_cmd(8). As is
expected, the control device's name is not known, since it is specified
by the user.

This patch introduces a virtual_oss_default_control_device rc variable,
which defaults to "vdsp.ctl". The goal of this is that third-party
programs and scripts can access the control device of the default
virtual_oss(8) configuration without guessing. This is especially useful
for sbin/devd/snd.conf which deals with hot-swapping sound devices using
virtual_oss(8).

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

(cherry picked from commit 70e27ecba51892cbe4cc94bbf785c6dd261dfd57)
2026-04-23 10:41:15 +02:00
..
tests devd tests: Fix client_test 2024-11-21 18:55:13 +00:00
apple.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
asus.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
autofs.conf man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
bluetooth.conf
devd.8 devd.8: Document monitoring devd.pipe via cat 2025-05-07 09:46:52 -04:00
devd.cc devd: accept new clients before notifying them 2025-07-22 23:57:31 -06:00
devd.conf mt7601U: Importing if_mtw from OpenBSD 2025-02-03 20:20:52 +01:00
devd.conf.5 devd.conf.5: Fix cross-references to devfs(4) 2026-04-10 14:27:09 -04:00
devd.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
devd.hh Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
devmatch.conf devd: Improve devmatch support 2023-10-27 15:24:19 -06:00
dhclient.conf
hyperv.conf devd.conf(5): call hyperv_vfattach in a Hyper-V guest only 2025-07-22 17:06:24 +07:00
Makefile src.opts: Introduce MK_SOUND 2026-01-21 18:06:42 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
moused.conf moused(8): Start moused with devd 2025-09-22 12:22:24 +03:00
nvmf.conf nvmf: Auto-reconnect periodically after a disconnect 2025-07-09 10:19:45 -04:00
parse.y Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
power_profile.conf
snd.conf virtual_oss: Introduce virtual_oss_default_control_device rc variable 2026-04-23 10:41:15 +02:00
syscons.conf
token.l Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
uath.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ulpt.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
zfs.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00