diff options
| author | nat <nat@NetBSD.org> | 2016-10-16 18:47:49 +0000 |
|---|---|---|
| committer | nat <nat@NetBSD.org> | 2016-10-16 18:47:49 +0000 |
| commit | 051ab8c0612bb2b7067f5cd5cc71912b9aa2cc29 (patch) | |
| tree | ced26fac84c99a526b3220c2b0934c3a3e80dd95 /sys/dev | |
| parent | e0b1ecf78af303101e329e0d950c360a96ec436e (diff) | |
Add quirk for C-Media USB Pnp sound card.
Without this I was unable to record. The recording volume is still way to
low but it's possibly my microphone.
OK christos@
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/usb_quirks.c | 5 | ||||
| -rw-r--r-- | sys/dev/usb/usbdevs | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index 9cccf5816c9..9a284527925 100644 --- a/sys/dev/usb/usb_quirks.c +++ b/sys/dev/usb/usb_quirks.c @@ -1,4 +1,4 @@ -/* $NetBSD: usb_quirks.c,v 1.84 2016/04/23 10:15:32 skrll Exp $ */ +/* $NetBSD: usb_quirks.c,v 1.85 2016/10/16 18:47:49 nat Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $ */ /* @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.84 2016/04/23 10:15:32 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.85 2016/10/16 18:47:49 nat Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -105,6 +105,7 @@ Static const struct usbd_quirk_entry { 0x101, { UQ_AU_INP_ASYNC }}, { USB_VENDOR_PLANTRONICS, USB_PRODUCT_PLANTRONICS_HEADSET, 0x004, { UQ_AU_INP_ASYNC }}, + { USB_VENDOR_CMEDIA, USB_PRODUCT_CMEDIA_USBAUDIO, ANY, { UQ_AU_INP_ASYNC }}, /* XXX These should have a revision number, but I don't know what they are. */ { USB_VENDOR_HP, USB_PRODUCT_HP_895C, ANY, { UQ_BROKEN_BIDIR }}, { USB_VENDOR_HP, USB_PRODUCT_HP_880C, ANY, { UQ_BROKEN_BIDIR }}, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 42621f20486..dde0ecb09f2 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1,4 +1,4 @@ -$NetBSD: usbdevs,v 1.718 2016/10/12 03:07:11 nat Exp $ +$NetBSD: usbdevs,v 1.719 2016/10/16 18:47:49 nat Exp $ /* * Copyright (c) 1998-2004 The NetBSD Foundation, Inc. @@ -1252,6 +1252,9 @@ product CREATIVE3 OPTICAL_MOUSE 0x0001 Notebook Optical Mouse product CSR BLUETOOTH 0x0001 Bluetooth USB Adapter product CSR BLUETOOTH_NF 0xffff Bluetooth USB Adapter +/* C-Media Electronics Inc. products */ +product CMEDIA USBAUDIO 0x013c USB Pnp Sound + /* CTX products */ product CTX EX1300 0x9999 Ex1300 hub |
