Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Add quirk for C-Media USB Pnp sound card.
details: https://anonhg.NetBSD.org/src/rev/ad9ef71b5a7b
branches: trunk
changeset: 348380:ad9ef71b5a7b
user: nat <nat%NetBSD.org@localhost>
date: Sun Oct 16 18:47:49 2016 +0000
description:
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:
sys/dev/usb/usb_quirks.c | 5 +++--
sys/dev/usb/usbdevs | 5 ++++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r cc0f3702043c -r ad9ef71b5a7b sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c Sun Oct 16 13:54:28 2016 +0000
+++ b/sys/dev/usb/usb_quirks.c Sun Oct 16 18:47:49 2016 +0000
@@ -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 @@
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 -r cc0f3702043c -r ad9ef71b5a7b sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs Sun Oct 16 13:54:28 2016 +0000
+++ b/sys/dev/usb/usbdevs Sun Oct 16 18:47:49 2016 +0000
@@ -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 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
Home |
Main Index |
Thread Index |
Old Index