From nobody Sat Feb 08 20:30:10 2025 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yr2XH1Ygwz5n9TB for ; Sat, 08 Feb 2025 20:30:23 +0000 (UTC) (envelope-from dev@submerge.ch) Received: from pianosa.iway.ch (pianosa.iway.ch [IPv6:2001:8e0:40:325::37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yr2XG018pz4JGV for ; Sat, 08 Feb 2025 20:30:21 +0000 (UTC) (envelope-from dev@submerge.ch) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of dev@submerge.ch designates 2001:8e0:40:325::37 as permitted sender) smtp.mailfrom=dev@submerge.ch; dmarc=none Received: from pianosa.iway.ch (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 99805E07F0; Sat, 8 Feb 2025 21:30:12 +0100 (CET) X-Iway-Path: 0 Received: from localhost (localhost [127.0.0.1]) by localhost (ACF/7290.15740); Sat, 8 Feb 2025 21:30:10 +0100 (CET) Received: from interway.li (sendai-sued.iway.ch [212.25.24.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pianosa.iway.ch (Postfix) with ESMTPS; Sat, 8 Feb 2025 21:30:10 +0100 (CET) Received: from [145.40.196.39] (account fw@submerge.ch HELO z240.localnet) by sendai-sued.interway.li (CommuniGate Pro SMTP 7.1.0) with ESMTPSA id 259087863; Sat, 08 Feb 2025 21:30:10 +0100 From: Florian Walpen To: freebsd-multimedia@freebsd.org, Jan Stary Subject: Re: M-Audio Fast Track Ultra 8R Date: Sat, 08 Feb 2025 21:30:10 +0100 Message-ID: <2387565.THHZn3L5Ee@z240> In-Reply-To: References: List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spamd-Result: default: False [-1.32 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.994]; CTE_CASE(0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:8e0::/32]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.03)[-0.025]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:8758, ipnet:2001:8e0::/32, country:CH]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[submerge.ch]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RECEIVED_HELO_LOCALHOST(0.00)[]; MISSING_XM_UA(0.00)[] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4Yr2XG018pz4JGV Hi Jan, On Friday, February 7, 2025 4:15:34 PM CET Jan Stary wrote: > I got my hands on an M-Audio Fast Track Ultra 8R, > an USB audio interface; eight tracks, 24/96, nice. > It attaches like this on FreeBSD: > > ugen0.6: at usbus0 > uaudio0 on uhub2 > uaudio0: > on usbus0 uaudio0: Play[0]: 96000 Hz, 8 ch, 24-bit S-LE PCM format, 2x4ms > buffer. (selected) uaudio0: Play[0]: 88200 Hz, 8 ch, 24-bit S-LE PCM > format, 2x4ms buffer. uaudio0: Play[0]: 48000 Hz, 8 ch, 24-bit S-LE PCM > format, 2x4ms buffer. uaudio0: Play[0]: 44100 Hz, 8 ch, 24-bit S-LE PCM > format, 2x4ms buffer. uaudio0: Record[0]: 96000 Hz, 8 ch, 24-bit S-LE PCM > format, 2x4ms buffer. (selected) uaudio0: Record[0]: 88200 Hz, 8 ch, 24-bit > S-LE PCM format, 2x4ms buffer. uaudio0: Record[0]: 48000 Hz, 8 ch, 24-bit > S-LE PCM format, 2x4ms buffer. uaudio0: Record[0]: 44100 Hz, 8 ch, 24-bit > S-LE PCM format, 2x4ms buffer. uaudio0: Single command MIDI quirk enabled > uaudio0: MIDI sequencer. > pcm3 on uaudio0 > uaudio0: No HID volume keys found. > > Everything seems to work, recording the 8 channels. good to know. That's quite ancient, I tried to get one second hand long time ago. IIRC the uaudio driver even has a section specific to the Fast Track Ultra, exposing the hardware mixer, which is not supported on other devices. Someone really loved the Fast Track Ultra, it seems. > > The device doesn't seem to be USB class-compliamt, though. > Class 239 (= 0xef) is "miscelaneous", i.e. not audio, which is 0x01. > https://en.wikipedia.org/wiki/USB#Device_classes > > I am trying to make this work on OpenBSD > https://marc.info/?l=openbsd-misc&m=171972890415337&w=2 > where it only attaches as ugen, not uaudio. > > I would like to learn here what it is that FreeBSD does > while trying to attach the device, given that it is, apparently, > not an adio-class compliant device. > > Is there a quirk that makes the kernel go > "oh, but it is actualy USN audio device, even > if it does not report as such; act accordingly"? I think there's a quirk for that, grep for "FASTTRACKULTRA" in src and you should find the relevant pieces. Hope this helps Flo