[alsa-devel] ALSA sound/usb/mixer.c:415 cannot get current value for control 2 ch 1: err = -22

Eldad Zack eldad at fogrefinery.com
Tue Dec 11 19:59:38 CET 2012


On Mon, 10 Dec 2012, isaac smith wrote:

> I have the same issue with my HP Envy 15. The sound card in question
> is an HP Wireless Audio card that only works with HP-branded wireless
> speakers, so playing to the card produces no output whatsoever, but
> does hang whatever process tries to access it. I doubt that many
> people ever use this feature, so unless someone invests the time to
> get it working I'd like a way to just ignore it completely. I've
> blacklisted the snd-usb-audio module for now, but I have a USB sound
> card and a USB MIDI controller that I'd like to be able to use.

Hi Isaac,

Try this patch - applies against 3.7.

Let me know if that works for you and you can successfully use other USB 
audio devices.

Cheers,
Eldad

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 88d8ceb..be68c66 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -99,6 +99,42 @@
 },
 
 /*
+ * Standard Microsystems Corp.
+ * HP Wireless Audio
+ */
+{
+	USB_DEVICE(0x0424, 0xb832),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "Standard Microsystems Corp.",
+		.product_name = "HP Wireless Audio",
+		.ifnum = QUIRK_ANY_INTERFACE,
+		.type = QUIRK_COMPOSITE,
+		.data = (const struct snd_usb_audio_quirk[]) {
+			/* Mixer */
+			{
+				.ifnum = 0,
+				.type = QUIRK_IGNORE_INTERFACE,
+			},
+			/* Playback */
+			{
+				.ifnum = 1,
+				.type = QUIRK_IGNORE_INTERFACE,
+			},
+			/* Capture */
+			{
+				.ifnum = 2,
+				.type = QUIRK_IGNORE_INTERFACE,
+			},
+			/* HID Device, maybe standard compliant? */
+			{
+				/* .ifnum = 3 */
+				.ifnum = -1,
+			}
+		}
+	}
+},
+
+/*
  * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
  * class matches do not take effect without an explicit ID match.
  */




More information about the Alsa-devel mailing list