Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2024 15:39:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 174835] [uaudio] uaudio fails to create pcm/dsp device file
Message-ID:  <bug-174835-19105-u9EEYP6pEg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-174835-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-174835-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D174835

--- Comment #6 from Christos Margiolis <christos@freebsd.org> ---
(In reply to porok777 from comment #4)
I do not think there is anything wrong here. If I understand correctly, the
initial report stated that there is no /dev/dsp* device created for the uau=
dio
device. That's because at the time and up until recently [1], sound(4) would
create device nodes for each _channel_ opened (and alias them to /dev/dsp*
devices) on the fly, so not seeing any devices was to be expected.

Currently, however, we do create actual /dev/dsp* nodes during device attac=
h,
one per-device (instead of one per-channel as was the case), so you should =
be
able to see them. In your case, /dev/dsp5 should correspond to the device in
question.

> pcm5:record:dsp5.r0 can be accessed and used to record (at least works wi=
th programs using  audio/miniaudio), but is not listed on mixer(8)

"pcm5:record:dsp5.r0" is an internal identifier for the channel being consu=
med.
The "devices" printed by mixer(8) (e.g "vol", "pcm") are used to control
different aspects of the sound device (e.g global volume, recording volume,
gain, etc.), and do not map to a specific channel.

In case I am misunderstanding your problem, please do elaborate further on =
what
the problem is exactly.


[1]
https://cgit.freebsd.org/src/commit/?id=3De8c0d15a64fadb4a330f2da7244becaac=
161bb70

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-174835-19105-u9EEYP6pEg>