]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 92115755d98e7f8626651ebbf3af6782e60ccd0e..5d8ef09b9dcc17d01f85d2ca27047a7faa30fe4f 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