On Mon, Aug 29, 2022 at 05:06:58PM +0000, Angelo wrote:
> On Mon, Aug 29, 2022 at 11:23:58AM +0100, Stuart Henderson wrote:
> > On 2022/08/29 07:23, Angelo wrote:
> > >   The USB audio interface RME Babyface Pro FS does not seem to attach
> > >         as an audio interface.
> > 
> > It does:
> > 
> > > uaudio0 at uhub0 port 4 configuration 1 interface 1 "RME Babyface Pro 
> > > (73034982)" rev 2.00/0.01 addr 2
> > > uaudio1 at uhub0 port 4 configuration 1 interface 2 "RME Babyface Pro 
> > > (73034982)" rev 2.00/0.01 addr 2
> > > umidi0 at uhub0 port 4 configuration 1 interface 3 "RME Babyface Pro 
> > > (73034982)" rev 2.00/0.01 addr 2
> > > umidi0: (genuine USB-MIDI)
> > > umidi0: out=2, in=2
> > > midi0 at umidi0: <USB MIDI I/F>
> > > midi1 at umidi0: <USB MIDI I/F>
> It attaches as two uaudio(4) devices and an umidi(4) device,
> but shouldn't it also show up as an audio(4) device, similar as it is
> attaching midi(4) devices?
> I'm looking for an additional uaudio0 line or similar, specifying how many
> channels (play, rec, ctls) the interface has, followed by a:
> audio1 at uaudio0

It doesn't seem to finish initialization. Could you reboot, disable
uaudio(4) device driver (at the "boot>" prompt type "boot -c", then
"disable uaudio", then "quit")

This will make the RME Babyface Pro attach ugen(4) devices instead of
uaudio(4) and umidi(4) ones.

Then download this program:

https://caoua.org/ugendesc.tar.gz

and do:

tar -xzvf ugendesc.tar.gz
cd ugendesc
make

For each of the ugen(4) device that show up in your dmesg output run:

doas ./ugendesc /dev/ugen0.00 >/tmp/rme_baby_face0.txt
doas ./ugendesc /dev/ugen1.00 >/tmp/rme_baby_face1.txt
...

This utility dumps the USB descriptos of the device in a format that
allows me to test and debug significant parts of the uaudio(4) driver
without access to the hardware.

thanks

Reply via email to