Creative USB X-Fi volume knob support
PATCH 1/1 Creative USB X-Fi volume knob support
From: Mandar Joshi <[email protected]>
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 <[email protected]>
sound/usb/mixer_quirks.c +1 -0
@@ -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)
Signature · 1 line
1.7.1
At Sun, 24 Oct 2010 04:07:00 +0000,
Quoted 7 lines · [email protected] wrote:
From: Mandar Joshi <[email protected]>
Adds an entry for Creative USB X-Fi to the
rc_configarray inmixer_quirks.cto allow use of volume knob on the device. The action of the volume knob is received by lirc when its using thealsa_usbdriver.Signed-off-by Mandar Joshi <[email protected]>
Applied now with a slight modification (sorted the item in the order id number). Thanks.
Takashi
Quoted 15 lines
sound/usb/mixer_quirks.c +1
-0@@ -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)Signature · 1 line
1.7.1