ALSA: USB quirk for Logitech Quickcam Pro 9000 name
authorSigned-off-by: Peter Stokes <linux@dadeos.co.uk>
Wed, 14 Jan 2009 08:47:57 +0000 (09:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Jan 2009 08:47:57 +0000 (09:47 +0100)
The Logitech QuickCam Pro 9000 does not appear to any product identification
strings in its USB device descriptor. Therefore it receives a device name of
"USB Device 0x46d:0x990". Th e attached patch below adds a USB quirk to
provide a more friendly name.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbquirks.h

index 9211575..5d8ef09 100644 (file)
        .bInterfaceClass = USB_CLASS_AUDIO,
        .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
 },
+{
+       USB_DEVICE(0x046d, 0x0990),
+       .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+               .vendor_name = "Logitech, Inc.",
+               .product_name = "QuickCam Pro 9000",
+               .ifnum = QUIRK_NO_INTERFACE
+       }
+},
 
 /*
  * Yamaha devices