Add a quirk for the Altec ASC495 speakers. They pretend to support the

audio class, but they don't
This commit is contained in:
Nick Hibma 1999-11-28 20:48:08 +00:00
parent cf6e42a4a9
commit 3475de90b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53851
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: usb_quirks.c,v 1.14 1999/09/15 13:57:09 augustss Exp $ */
/* $NetBSD: usb_quirks.c,v 1.18 1999/11/16 12:08:38 augustss Exp $ */
/* $FreeBSD$ */
/*
@ -64,6 +64,7 @@ static struct usbd_quirk_entry {
{ USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1, 0x101, { UQ_NO_STRINGS }},
{ USB_VENDOR_DALLAS, USB_PRODUCT_DALLAS_J6502, 0x0a2, { UQ_BAD_ADC }},
{ USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_N48, 0x110, { UQ_MS_REVZ }},
{ USB_VENDOR_ALTEC, USB_PRODUCT_ALTEC_ASC495, 0x000, { UQ_BAD_AUDIO }},
{ USB_VENDOR_QTRONIX, USB_PRODUCT_QTRONIX_980N, 0x110, { UQ_SPUR_BUT_UP }},
{ 0, 0, 0, { 0 } }
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: usb_quirks.h,v 1.7 1999/06/26 00:09:15 augustss Exp $ */
/* $NetBSD: usb_quirks.h,v 1.9 1999/11/15 22:04:15 augustss Exp $ */
/* $FreeBSD$ */
/*
@ -46,7 +46,8 @@ struct usbd_quirks {
#define UQ_NO_STRINGS 0x08 /* string descriptors are broken. */
#define UQ_BAD_ADC 0x10 /* bad audio spec version number. */
#define UQ_BUS_POWERED 0x20 /* device is bus powered, despite claim */
#define UQ_SPUR_BUT_UP 0x40 /* spurious mouse button up events */
#define UQ_BAD_AUDIO 0x40 /* device claims audio class, but isn't */
#define UQ_SPUR_BUT_UP 0x80 /* spurious mouse button up events */
};
extern struct usbd_quirks usbd_no_quirk;