umidi(4) entries plus quirks for Roland UA25, UA4FX and SonicCell.

Submitted by DHOYASHIKI Shinichi via PR kern/36834.
This commit is contained in:
xtraeme 2007-10-14 01:08:35 +00:00
parent 048deba525
commit fe47e4a5cf
3 changed files with 59 additions and 5 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: umidi.4,v 1.8 2006/07/02 01:36:24 wiz Exp $
.\" $NetBSD: umidi.4,v 1.9 2007/10/14 01:08:36 xtraeme Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -31,7 +31,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd June 30, 2006
.Dd October 14, 2007
.Dt UMIDI 4
.Os
.Sh NAME
@ -62,10 +62,13 @@ Vendor-specific support is also included for the following:
.It Tn SD80
.It Tn SD90
.It Tn SK500
.It Tn SonicCell
.It Tn U8
.It Tn UA25
.It Tn UA100
.It Tn UA101
.It Tn UA10F
.It Tn UA4FX
.It Tn UA700
.It Tn UA1000
.It Tn UM1

View File

@ -1,4 +1,4 @@
/* $NetBSD: umidi_quirks.c,v 1.12 2006/09/03 21:28:03 christos Exp $ */
/* $NetBSD: umidi_quirks.c,v 1.13 2007/10/14 01:08:36 xtraeme Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: umidi_quirks.c,v 1.12 2006/09/03 21:28:03 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: umidi_quirks.c,v 1.13 2007/10/14 01:08:36 xtraeme Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -450,6 +450,51 @@ UMQ_DEF(ROLAND, ROLAND_UM3, 0) = {
UMQ_TERMINATOR
};
/*
* ROLAND UA-25
*/
UMQ_FIXED_EP_DEF(ROLAND, ROLAND_UA25, 2, 1, 1) = {
/* out */
{ 0, 1 },
/* in */
{ 1, 1 }
};
UMQ_DEF(ROLAND, ROLAND_UA25, 2) = {
UMQ_FIXED_EP_REG(ROLAND, ROLAND_UA25, 2),
UMQ_TERMINATOR
};
/*
* ROLAND UA-4FX
*/
UMQ_FIXED_EP_DEF(ROLAND, ROLAND_UA4FX, 2, 1, 1) = {
/* out */
{ 0, 1 },
/* in */
{ 1, 1 }
};
UMQ_DEF(ROLAND, ROLAND_UA4FX, 2) = {
UMQ_FIXED_EP_REG(ROLAND, ROLAND_UA4FX, 2),
UMQ_TERMINATOR
};
/*
* ROLAND SonicCell
*/
UMQ_FIXED_EP_DEF(ROLAND, ROLAND_SONICCELL, 2, 1, 1) = {
/* out */
{ 0, 1 },
/* in */
{ 1, 1 }
};
UMQ_DEF(ROLAND, ROLAND_SONICCELL, 2) = {
UMQ_FIXED_EP_REG(ROLAND, ROLAND_SONICCELL, 2),
UMQ_TERMINATOR
};
/*
* Midiman Midisport 2x4. This has 2 physical MIDI IN jacks that are read
* on endpoint 0x81 (descriptor index 0). It has 4 physical MIDI OUT jacks
@ -513,6 +558,9 @@ struct umidi_quirk umidi_quirklist[] = {
UMQ_REG(ROLAND, ROLAND_FANTOMX, 0),
UMQ_REG(ROLAND, ROLAND_PCR, 0),
UMQ_REG(ROLAND, ROLAND_UM3, 0),
UMQ_REG(ROLAND, ROLAND_UA25, 2),
UMQ_REG(ROLAND, ROLAND_UA4FX, 2),
UMQ_REG(ROLAND, ROLAND_SONICCELL, 2),
UMQ_REG(MIDIMAN, MIDIMAN_MIDISPORT2X4, ANYIFACE),
{ .vendor = 0 },
};

View File

@ -1,4 +1,4 @@
$NetBSD: usbdevs,v 1.485 2007/09/22 08:37:01 mlelstv Exp $
$NetBSD: usbdevs,v 1.486 2007/10/14 01:08:35 xtraeme Exp $
/*
* Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@ -1884,10 +1884,13 @@ product ROLAND UA1000 0x0044 EDIROL UA-1000 USB audio I/F
product ROLAND UA3FXA 0x0050 EDIROL UA-3FX USB audio I/F (advanced)
product ROLAND UA3FX 0x0051 EDIROL UA-3FX USB audio I/F
product ROLAND FANTOMX 0x006d Fantom-X MIDI Synth.
product ROLAND UA25 0x0074 EDIROL UA-25
product ROLAND UA101 0x007d EDIROL UA-101
product ROLAND UA101F 0x008d EDIROL UA-101 USB1
product ROLAND UA1EX 0x0096 EDIROL UA-1EX
product ROLAND UM3 0x009A EDIROL UM-3
product ROLAND UA4FX 0x00A3 EDIROL UA-4FX
product ROLAND SONICCELL 0x00C2 SonicCell
/* Sagem products */
product SAGEM XG760A 0x004a XG-760A