From: Kristian Amlie <kristian@amlie.name>
To: Daniel Mack <zonque@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: How to add a new MIDI device to the usbaudio driver
Date: Mon, 22 Aug 2011 13:40:12 +0200 [thread overview]
Message-ID: <4E52401C.8030605@amlie.name> (raw)
In-Reply-To: <CACTFLAMA08qqaNALA1dksxVN_yAwXnONxXadeuUb1Owkz6VwsA@mail.gmail.com>
On 08/22/11 12:54, Daniel Mack wrote:
> On Mon, Aug 22, 2011 at 12:52 PM, Kristian Amlie <kristian@amlie.name> wrote:
>> I have just received a new MIDI instrument (Starr Labs Z7S) which is not
>> recognized by the kernel, and I'd like to add support for it. I'm hoping
>> that it uses a standard MIDI interface and it's just a matter of adding
>> the correct entry in the table of devices.
>>
>> I have tried to add an entry to sound/usb/usbquirks.h
>> (sound/usb/quirks-table.h in later kernels), but so far I haven't
>> succeeded. Is there any documentation for how to do this, and which
>> options to use? Google hasn't really turned up anything...
>
> The USB descriptors should give us a hint. Can you send your "lsusb
> -v" output, please?
Sure! Here is the lsusb -v output for the device:
-------
Bus 003 Device 010: ID 0403:b8d8 Future Technology Devices
International, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0xb8d8
bcdDevice 6.00
iManufacturer 1 STARR LABS
iProduct 2 Starr Labs MIDI USB device
iSerial 3 FTPW490R
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Starr Labs MIDI USB device
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
-------
--
Kristian
next prev parent reply other threads:[~2011-08-22 11:41 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 10:52 How to add a new MIDI device to the usbaudio driver Kristian Amlie
2011-08-22 10:54 ` Daniel Mack
2011-08-22 11:40 ` Kristian Amlie [this message]
2011-08-22 11:49 ` Daniel Mack
2011-08-23 7:35 ` Kristian Amlie
2011-08-23 8:43 ` Daniel Mack
2011-08-23 9:03 ` Paul Menzel
2011-08-23 9:22 ` Daniel Mack
2011-08-23 9:42 ` Kristian Amlie
2011-08-23 10:02 ` Paul Menzel
2011-08-27 10:38 ` Kristian Amlie
2011-08-23 9:38 ` Clemens Ladisch
2011-08-23 9:42 ` Daniel Mack
2011-08-23 10:07 ` Kristian Amlie
2011-08-23 10:16 ` Daniel Mack
2011-08-23 11:57 ` Kristian Amlie
2011-08-23 12:20 ` Daniel Mack
2011-08-23 13:12 ` Kristian Amlie
2011-08-23 13:16 ` Daniel Mack
2011-08-23 13:28 ` Kristian Amlie
2011-08-23 13:44 ` Daniel Mack
2011-08-24 8:09 ` Kristian Amlie
2011-08-24 8:32 ` Daniel Mack
2011-08-24 10:14 ` Kristian Amlie
2011-08-24 10:29 ` Daniel Mack
2011-08-24 13:14 ` Kristian Amlie
2011-08-24 13:18 ` Daniel Mack
2011-08-24 19:51 ` Clemens Ladisch
2011-08-25 11:28 ` Kristian Amlie
2011-08-25 11:35 ` [PATCH] Added support for Starr Labs USB MIDI devices Kristian Amlie
2011-08-25 12:20 ` Daniel Mack
2011-08-25 13:40 ` Kristian Amlie
2011-08-26 11:24 ` Clemens Ladisch
2011-08-25 12:38 ` How to add a new MIDI device to the usbaudio driver Daniel Mack
2011-08-24 11:44 ` Clemens Ladisch
2011-08-24 12:05 ` Daniel Mack
2011-08-24 13:19 ` Kristian Amlie
2011-08-24 16:01 ` Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E52401C.8030605@amlie.name \
--to=kristian@amlie.name \
--cc=alsa-devel@alsa-project.org \
--cc=zonque@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).