[alsa-devel] ALSA sound/usb/mixer.c:415 cannot get current value for control 2 ch 1: err = -22
Success! I applied the patch against kernel 3.6.9 (AMD's Catalyst driver doesn't support 3.7 yet) and I can now use the snd-usb-audio driver without it hanging up on the wireless audio. I tested a USB sound card, it worked perfectly. There's no sign of the HP Wireless card in ALSA. Thanks a lot! Now I can finally use my slightly decent speakers and my USB MIDI controller.
On Tue, Dec 11, 2012 at 12:59 PM, Eldad Zack eldad@fogrefinery.com wrote:
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.
*/
participants (1)
-
isaac smith