From: Konstantinos Georgantas <k.georgantas@samsung.com>
To: alsa-devel@alsa-project.org
Subject: Audio usb switch to alternate setting 0
Date: Sun, 19 Jan 2014 14:50:15 +0100 [thread overview]
Message-ID: <52DBD817.8050304@samsung.com> (raw)
Hello,
I am trying to control from the client side which Alternate Setting to
use. Basically I would like to be able to switch from Alternate Setting
0 to 1 and vice versa so that I am not receiving any set interface
requests in the meantime. From the audio class 2.0 documentation I
understand that I should be able to do something like this by using the
active alternate setting control, and here comes my main problem.
When I generate an interrupt to the interrupt endpoint I should expect a
GET request which I never see in the host side (hope I am right here).
Here comes the interrupt:
interrupt->bInfo = 0x00;
interrupt->bAttribute = 0x01;
interrupt->wValue = 0x0100;
interrupt->wIndex = 0x0004;
Could you please tell me if such a functionality is supported and how
the interrupt should look like?
Thank you,
Konstantinos
next reply other threads:[~2014-01-19 13:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 13:50 Konstantinos Georgantas [this message]
2014-01-20 10:25 ` Audio usb switch to alternate setting 0 Daniel Mack
2014-01-23 19:31 ` Konstantinos Georgantas
2014-01-24 23:21 ` Daniel Mack
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=52DBD817.8050304@samsung.com \
--to=k.georgantas@samsung.com \
--cc=alsa-devel@alsa-project.org \
/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