projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e5310
)
ALSA: usb - Creative USB X-Fi volume knob support
author
Mandar Joshi
<emailmandar@gmail.com>
Sun, 24 Oct 2010 04:07:00 +0000
(
04:07
+0000)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 24 Oct 2010 10:35:59 +0000
(12:35 +0200)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/mixer_quirks.c
b/sound/usb/mixer_quirks.c
index e7df1e5e3f2ecd36b60ba07944dfeac1d14ff85f..7dae05d8783e4274266bb5c867e534b342e18614 100644
(file)
--- a/
sound/usb/mixer_quirks.c
+++ b/
sound/usb/mixer_quirks.c
@@
-60,6
+60,7
@@
static const struct rc_config {
{ USB_ID(0x041e, 0x3000), 0, 1, 2, 1, 18, 0x0013 }, /* Extigy */
{ 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, 0x3042), 0, 1, 1, 1, 1, 0x000d }, /* Usb X-Fi */
{ USB_ID(0x041e, 0x3048), 2, 2, 6, 6, 2, 0x6e91 }, /* Toshiba SB0500 */
};