Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2007 23:03:39 +0100
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: M-Audio Transit experiments
Message-ID:  <1173737019.1120.7.camel@localhost>
In-Reply-To: <200703120143.28799.shoesoft@gmx.net>
References:  <200703120143.28799.shoesoft@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <M-Audio Transit USB, class 0/0, rev 1.10/1.00, addr 2> 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: <USB Audio> on uaudio0
> FreeBSD Audio Driver (newpcm: 32bit)
> Installed devices:
> pcm0: <Intel ICH4 (82801DB)> at io 0xe0100c00, 0xe0100800 irq 11 bufsz 16384 
> kld snd_ich (1p/1r/1v channels duplex)
> pcm1: <USB Audio> 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: <USB Audio> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1173737019.1120.7.camel>