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 a Lenovo mouse so we can set the ALWAYS_ON q...



details:   https://anonhg.NetBSD.org/src/rev/855aef047dcb
branches:  trunk
changeset: 375321:855aef047dcb
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun May 14 22:30:13 2023 +0000

description:
Add a Lenovo mouse so we can set the ALWAYS_ON quirk.

diffstat:

 sys/dev/usb/usb_quirks.c |  5 +++--
 sys/dev/usb/usbdevs      |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r abd8e5e1072b -r 855aef047dcb sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c  Sun May 14 22:26:37 2023 +0000
+++ b/sys/dev/usb/usb_quirks.c  Sun May 14 22:30:13 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_quirks.c,v 1.105 2022/03/06 23:36:50 andvar Exp $  */
+/*     $NetBSD: usb_quirks.c,v 1.106 2023/05/14 22:30:13 pgoyette 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.105 2022/03/06 23:36:50 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.106 2023/05/14 22:30:13 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -401,6 +401,7 @@ Static const struct usbd_quirk_entry {
        { UQ_ALWAYS_ON, NULL }},
  { USB_VENDOR_LOGITECH,        USB_PRODUCT_LOGITECH_B100,              ANY,
        { UQ_ALWAYS_ON, NULL }},
+ { USB_VENDOR_LENOVO,          USB_PRODUCT_LENOVO_OPTUSBMOUSE,         ANY,            { UQ_ALQAYS_ON, NULL }},
 /*
  * The HAILUCK USB Keyboard has a built-in touchpad, which
  * needs to be active for the keyboard to function properly.
diff -r abd8e5e1072b -r 855aef047dcb sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs       Sun May 14 22:26:37 2023 +0000
+++ b/sys/dev/usb/usbdevs       Sun May 14 22:30:13 2023 +0000
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.807 2023/02/11 22:41:15 nia Exp $
+$NetBSD: usbdevs,v 1.808 2023/05/14 22:30:13 pgoyette Exp $
 
 /*-
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -2729,6 +2729,7 @@ product PINNACLE PCTV73E  0x0237  Pinnacle
 
 /* PixArt */
 product PIXART RPIMOUSE                0x2510  Raspberry Pi Mouse
+product LENOVO OPTUSBMOUSE     0x600e  Lenovo USB Optical Mouse
 
 /* Planex Communications products */
 product PLANEX  GW_US11H       0x14ea  GW-US11H WLAN



Home | Main Index | Thread Index | Old Index