From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 12 22:03:42 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4768216A404 for ; Mon, 12 Mar 2007 22:03:42 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A47D413C45A for ; Mon, 12 Mar 2007 22:03:41 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 12 Mar 2007 22:03:40 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO [192.168.0.100]) [81.217.94.222] by mail.gmx.net (mp032) with SMTP; 12 Mar 2007 23:03:40 +0100 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1+P1HZOSwiPVNc8kyCxE7dQjmZF1v0FKvKLzhq4QB P3fUUzowe5za+3 From: Stefan Ehmann To: freebsd-multimedia@freebsd.org In-Reply-To: <200703120143.28799.shoesoft@gmx.net> References: <200703120143.28799.shoesoft@gmx.net> Content-Type: text/plain Date: Mon, 12 Mar 2007 23:03:39 +0100 Message-Id: <1173737019.1120.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: M-Audio Transit experiments X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 22:03:42 -0000 On Mon, 2007-03-12 at 01:43 +0100, Stefan Ehmann wrote: > I was trying to get my M-audio Transit to work today. > > Basically it should be a standard USB audio device, but it needs to load a > firmware first. > > For linux, there's madfuload available here: > http://usb-midi-fw.sourceforge.net/ > > After modifying a few lines (taken from libusb), the firmware seemed to be > downloaded correctly. > > It seems that you need to issue a reset so that the device gets recognized. > libusb hasn't implemented this, so I tried un/reloading usb modules which > seems to work. Any pointer on how to do this properly would be appreciated. > > In dmesg I get: > uaudio0: on uhub2 > uaudio0: ignored audio interface with 2 endpoints > uaudio0: ignored audio interface with 2 endpoints > uaudio0: ignored setting with type 8193 format > uaudio0: ignored setting with type 8193 format > uaudio0: audio rev 1.00 > > /dev/sndstat says > pcm1: on uaudio0 > FreeBSD Audio Driver (newpcm: 32bit) > Installed devices: > pcm0: at io 0xe0100c00, 0xe0100800 irq 11 bufsz 16384 > kld snd_ich (1p/1r/1v channels duplex) > pcm1: at ? kld snd_uaudio (1p/1r/1v channels duplex default) > mode 1:(output) 2ch, 24/24bit, pcm, 48001-96000Hz > mode 1:(input) 2ch, 24/24bit, pcm, 48001-96000Hz > mode 2:(input) 2ch, 24/24bit, pcm, 8000-48000Hz > mode 3:(input) 2ch, 16/16bit, pcm, 8000-48000Hz When #defining UAUDIO_MULTIPLE_ENDPOINTS in sys/dev/sound/usb/uaudio.c, I get working sound. Haven't tested recording yet. /dev/sndstat now says: pcm1: at ? kld snd_uaudio (1p/1r/1v channels duplex default) mode 1:(output) 2ch, 24/24bit, pcm, 48001-96000Hz mode 3:(output) 2ch, 16/16bit, pcm, 8000-48000Hz mode 1:(input) 2ch, 24/24bit, pcm, 48001-96000Hz mode 2:(input) 2ch, 24/24bit, pcm, 8000-48000Hz mode 3:(input) 2ch, 16/16bit, pcm, 8000-48000Hz I'm still looking for a better method than unloading usb to get the device attached.