Subject: M-Audio Transit progress report, and uaudio help wanted
To: None <netbsd-users@netbsd.org>
From: Giles Lean <giles@nemeton.com.au>
List: netbsd-users
Date: 08/21/2004 22:42:39
Hi all,

I'm in the process of making a M-Audio Transit USB audio interface work
on NetBSD.

I can load firmware via DFU (Device Firmware Update), the device is
attached by the uaudio driver, but I can't play anything yet:

    $ audioplay -d /dev/sound2 -c 2 -P 16 -s 44100 -e slinear_le filename
    audioplay: failed to open /dev/sound2: Invalid argument

Suggestions, anyone?

Currently I'm testing on i386 1.6.2_STABLE and I will try 2.0_BETA
and/or -currrent once my laptop returns from its latest hardware repair.

Before firmware download:

    ugen0 at uhub0 port 2
    ugen0: Unknown Unknown, rev 1.00/1.00, addr 2

After the firmware is download and the device is reset:

    ugen0: at uhub0 port 2 (addr 2) disconnected
    ugen0 detached
    uaudio0 at uhub0 port 2 configuration 1 interface 0: M-Audio Transit USB, rev 1.10/1.00, addr 2
    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
    uaudio0: 4 mixer controls
    audio2 at uaudio0: full duplex, independent

$ mixerctl -d /dev/mixer2 -a -v
fea2-i1-mute=off  [ off on ]
fea2-i1-master=127,127 volume delta=1
fea5-i4-mute=off  [ off on ]
fea5-i4-master=0,0 volume delta=7

$ audioctl -d /dev/audioctl2 -a
name=USB audio
version=
config=uaudio
encodings=ulinear:8*,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=512
hiwat=128
lowat=96
monitor_gain=0
mode=
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0

--
Giles Lean <giles@nemeton.com.au>