All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Puneet Sharma <punitsharma1181@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: USB audio2.0 status interrupt endpoint
Date: Thu, 3 Mar 2016 14:07:52 +0100	[thread overview]
Message-ID: <56D83728.9090404@ladisch.de> (raw)
In-Reply-To: <CAJha+Ve6wYyYMxU5FTpjDpih41OLmTWHX2UfOZZRAksJN6u8TA@mail.gmail.com>

Puneet Sharma wrote:
> As per my understanding, when the above interrupt endpoint is transferred
> to host in response to Interrupt IN request, the host should send me a GET
> CUR volume class-specific request to further qualify the cause of interrupt.
>
> However, I am not getting any class-specific request from host in response
> to the status interrupt transferred to host.
>
> My query is do i need to implement a mixer interface in the uac2 kernel
> driver to get the request or i am doing something wrong in the process.

You must not send a notification for a unit ID that does not exist, so
you must implement the mixer interface.

And you will get a request to read the control's current volume only if
some application that cares about the value (e.g., alsamixer) actually
happens to be running on the host.


Regards,
Clemens

  reply	other threads:[~2016-03-03 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01 11:06 USB audio2.0 status interrupt endpoint Puneet Sharma
2016-03-03 13:07 ` Clemens Ladisch [this message]
2016-03-04 11:14   ` Puneet Sharma

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=56D83728.9090404@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=punitsharma1181@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 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.