From: Takashi Iwai <tiwai@suse.de>
To: emailmandar@gmail.com
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH - snd-usb-audio 1/1] Creative USB X-Fi volume knob support
Date: Sun, 24 Oct 2010 12:37:26 +0200 [thread overview]
Message-ID: <s5haam3anbt.wl%tiwai@suse.de> (raw)
In-Reply-To: <1287893220-13048-1-git-send-email-emailmandar@gmail.com>
At Sun, 24 Oct 2010 04:07:00 +0000,
emailmandar@gmail.com wrote:
>
> From: Mandar Joshi <emailmandar@gmail.com>
>
> Adds an entry for Creative USB X-Fi to the rc_config array in mixer_quirks.c to allow use of volume knob on the device.
> The action of the volume knob is received by lirc when its using the alsa_usb driver.
>
> Signed-off-by: Mandar Joshi <emailmandar@gmail.com>
Applied now with a slight modification (sorted the item in the order
id number). Thanks.
Takashi
> diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
> index e7df1e5..53ce1d2 100644
> --- a/sound/usb/mixer_quirks.c
> +++ b/sound/usb/mixer_quirks.c
> @@ -61,6 +61,7 @@ static const struct rc_config {
> { USB_ID(0x041e, 0x3020), 2, 1, 6, 6, 18, 0x0013 }, /* Audigy 2 NX */
> { USB_ID(0x041e, 0x3040), 2, 2, 6, 6, 2, 0x6e91 }, /* Live! 24-bit */
> { USB_ID(0x041e, 0x3048), 2, 2, 6, 6, 2, 0x6e91 }, /* Toshiba SB0500 */
> + { USB_ID(0x041e, 0x3042), 0, 1, 1, 1, 1, 0x000d }, /* Usb X-Fi */
> };
>
> static void snd_usb_soundblaster_remote_complete(struct urb *urb)
> --
> 1.7.1
>
prev parent reply other threads:[~2010-10-24 10:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-24 4:07 [PATCH - snd-usb-audio 1/1] Creative USB X-Fi volume knob support emailmandar
2010-10-24 10:37 ` Takashi Iwai [this message]
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=s5haam3anbt.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=emailmandar@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