All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Epinat <l.epinat@free.fr>
To: Clemens Ladisch <cladisch@fastmail.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: New sound device question
Date: Sun, 26 Dec 2010 21:11:32 +0100	[thread overview]
Message-ID: <4D17A174.2020001@free.fr> (raw)
In-Reply-To: <1293362435.7496.1412275155@webmail.messagingengine.com>


Hello

Thanks for the answer




Le 26.12.2010 12:20, Clemens Ladisch a écrit :
> Laurent Epinat wrote:
>> I try to developpe a usb sound driver for a Alesis Multix 8 USB2.0
>>
>> http://www.alesis.com/multimix8usb20
>>
>> The output interface is allready fonctional, but the Input not :-(
>> Because there is 2 end point for it. The first one is on Isochronous
>> mode and the other is on Bulk mode
>>
>> I don't know how to declare the second endpoint in the quirks_table.
>
> There is no predefined quirk for such an endpoint; you'd have to write
> your own code.
>
>> Where can I get a good documentation or help about the alsa USB sound
>> structure.
>
> At the moment, the only documentation is the source code.
>
>> The only informations I have about the devices, are dump from windows
>
> What is the bulk endpoint used for?

I don't know exactly,
I think the Isochrone endpoint is used for control and the bulk one is 
the data, because the size is bigger and the interval is short than the 
isochrone one

on the device you can record 10 inputs channels at the same time

Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        1
    bAlternateSetting       1
    bNumEndpoints           2
    bInterfaceClass       255 Vendor Specific Class
    bInterfaceSubClass      0
    bInterfaceProtocol      0
    iInterface              0
    Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               4
    Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x86  EP 6 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               1




> Regards,
> Clemens
>


-- 
Salutations

  reply	other threads:[~2010-12-26 20:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24 13:41 New sound device question Laurent Epinat
2010-12-26 11:20 ` Clemens Ladisch
2010-12-26 20:11   ` Laurent Epinat [this message]
2010-12-26 18:51 ` Intel-HDA Realtek Codec // double matching PCI IDs Thomas Wagner

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=4D17A174.2020001@free.fr \
    --to=l.epinat@free.fr \
    --cc=alsa-devel@alsa-project.org \
    --cc=cladisch@fastmail.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.