[uaudio] M-Audio Fast Track Ultra is not recognized, where to start ?

Marcel Bonnet marcelbonnet at gmail.com
Thu Jun 23 03:06:49 UTC 2011


On 15 June 2011 17:22, Hans Petter Selasky <hselasky at c2i.net> wrote:

> On Wednesday 15 June 2011 22:05:17 Olivier Smedts wrote:
> > 2011/6/15 Clemens Ladisch <clemens at ladisch.de>:
> > > Olivier Smedts wrote:
> > >> 2011/6/15 Olivier Smedts <olivier at gid0.org>:
> > >> > I think "uaudio_mixer_fill_info: invalid Audio Control header" is
> > >> > interesting.
> > >
> > > The audio control interface is marked as being vendor-specific, so
> you'd
> > > have to add some quirks to the driver.
> > >
> > > The control and audio interfaces actually have audio descriptors, so
> you
> > > just have to tell the driver to look at the interfaces even though
> their
> > > bInterfaceClass seems to be wrong.
> >
> > Ok, I tried this :
> > # kldload snd_uaudio.ko
> > # kldload usb_quirk.ko
> > # sysctl hw.usb.uaudio.debug=1
> > # usbconfig add_dev_quirk_vplh 0x0763 0x2080 0x0000 0xffff
> > UQ_AU_VENDOR_CLASS
>
> Hi,
>
> You can make a quirk in usb_quirk.c for this.
>
> There is another quirk to force the sample rate to 44100Hz.
>
> Also see the other sysctl under hw.usb.uaudio to tune how your device
> behaves.
>
> > # dmesg | grep uaudio0
> > uaudio0: <Fast Track Ultra> on usbus7
> > uaudio0: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format
> > uaudio0: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format
> > uaudio0: MIDI sequencer
> > pcm4: <USB audio> on uaudio0
> > # dmesg | grep uaudio1
> > uaudio1: <M-Audio DFU> on usbus7
> > uaudio1: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format
> > uaudio1: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format
> > uaudio1: MIDI sequencer
> > pcm5: <USB audio> on uaudio1
> > # cat /dev/sndstat
> > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> > Installed devices:
> > pcm0: <HDA Analog Devices AD1989B PCM #0 Analog> (play/rec) default
> > pcm1: <HDA Analog Devices AD1989B PCM #1 Analog> (play)
> > pcm2: <HDA Analog Devices AD1989B PCM #2 Digital> (play)
> > pcm3: <HDA Analog Devices AD1989B PCM #3 Digital> (play)
> > pcm4: <USB audio> (play/rec)
> > pcm5: <USB audio> (play/rec)
> >
> > I don't know why two devices are detected, but at least the "96000 Hz,
> > 8 ch, 24-bit S-LE PCM format" is correct !
>
> What does usbconfig tell about the device?
>
> --HPS
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "
> freebsd-multimedia-unsubscribe at freebsd.org"
>


Hello, folks.
I'm far away of being an expert, but if I understood something, I hope this
can help:

Well, Olivier, I'm probably the one who wrote the notes about the Fast Track
Pro you told. So, as Hans Petter said, there is a quirck to set the
frequency to 44100. I'm not using tha quirck yet, but using
hw.usb.uaudio.default_rate=44100 on my /boot/loader.conf solved the problem
by now.
I made some tests with jack, as simple as
$ jackd -r -d oss
And recorded with 2 channels in Ardour, without any problem. I can't
remember how (probably with a qjackctl or ardour option, some day)  I
recorded at 48000 Hz (using hw.usb.uaudio.default_rate=44100).

I hope you M-Audio works well.
Thanks to Hans Petter, BTW.

-- 
Marcel Bonnet
*"No princípio era o caos... e no meio também."*
[música  ] www.monovox.net.br
[música  ] twitter.com/mono_vox
[música  ] http://soundcloud.com/monovox
[qq coisa] twitter.com/marbonfly
[Best OS] freebsd.org


More information about the freebsd-multimedia mailing list