Skip to content

Commit 9af61fc

Browse files
pvtiwai
authored andcommitted
ALSA: usb-audio: add volume quirks for MS LifeChat LX-3000
ID 045e:070f Microsoft Corp. LifeChat LX-3000 Headset has muted minimum Speaker Playback Volume, and 4 amixer steps were observed to produce 1 actual volume step. Apply min_mute quirk and correct res=48 -> 4*48. Tested with the device. Signed-off-by: Pauli Virtanen <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 28412b4 commit 9af61fc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

sound/usb/mixer.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,14 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
11471147
}
11481148
break;
11491149

1150+
case USB_ID(0x045e, 0x070f): /* MS LifeChat LX-3000 Headset */
1151+
if (!strcmp(kctl->id.name, "Speaker Playback Volume")) {
1152+
usb_audio_info(chip,
1153+
"set volume quirk for MS LifeChat LX-3000\n");
1154+
cval->res = 192;
1155+
}
1156+
break;
1157+
11501158
case USB_ID(0x0471, 0x0101):
11511159
case USB_ID(0x0471, 0x0104):
11521160
case USB_ID(0x0471, 0x0105):

sound/usb/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2153,6 +2153,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
21532153
DEVICE_FLG(0x045e, 0x083c, /* MS USB Link headset */
21542154
QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_CTL_MSG_DELAY |
21552155
QUIRK_FLAG_DISABLE_AUTOSUSPEND),
2156+
DEVICE_FLG(0x045e, 0x070f, /* MS LifeChat LX-3000 Headset */
2157+
QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
21562158
DEVICE_FLG(0x046d, 0x0807, /* Logitech Webcam C500 */
21572159
QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_MIC_RES_384),
21582160
DEVICE_FLG(0x046d, 0x0808, /* Logitech Webcam C600 */

0 commit comments

Comments
 (0)