Date: Wed, 22 Jun 2011 23:39:46 -0300 From: Marcel Bonnet <marcelbonnet@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, Clemens Ladisch <clemens@ladisch.de> Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? Message-ID: <BANLkTi=%2BGrrbu_6truRnTY88oRmBxa6SeA@mail.gmail.com> In-Reply-To: <201106152222.08318.hselasky@c2i.net> References: <BANLkTimXnhsxem2rUtieMO0c8b%2B-gAgunQ@mail.gmail.com> <4DF87676.1090303@ladisch.de> <BANLkTikky09rGqhTZ8QyHycFcJk-=73JWA@mail.gmail.com> <201106152222.08318.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 June 2011 17:22, Hans Petter Selasky <hselasky@c2i.net> wrote: > On Wednesday 15 June 2011 22:05:17 Olivier Smedts wrote: > > 2011/6/15 Clemens Ladisch <clemens@ladisch.de>: > > > Olivier Smedts wrote: > > >> 2011/6/15 Olivier Smedts <olivier@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=3D1 > > # 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@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 Trac= k 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=3D44100 on my /boot/loader.conf solved the probl= em 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=3D44100). I hope you M-Audio works well. Thanks to Hans Petter, BTW. --=20 Marcel Bonnet *"No princ=EDpio era o caos... e no meio tamb=E9m."* [m=FAsica ] www.monovox.net.br [m=FAsica ] twitter.com/mono_vox [m=FAsica ] http://soundcloud.com/monovox [qq coisa] twitter.com/marbonfly [Best OS] freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=%2BGrrbu_6truRnTY88oRmBxa6SeA>