From c1d0aa1224cfba9722f01216ed0e195d6c625ba0 Mon Sep 17 00:00:00 2001 From: mpi Date: Wed, 22 Aug 2018 15:32:49 +0000 Subject: [PATCH] Work well with the Dynastream ANTUSB-m, from Jan Klemkow. --- share/man/man4/uscom.4 | 5 +++-- sys/dev/usb/uscom.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/share/man/man4/uscom.4 b/share/man/man4/uscom.4 index 31dc8080e38..8b078a22f28 100644 --- a/share/man/man4/uscom.4 +++ b/share/man/man4/uscom.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uscom.4,v 1.2 2014/03/25 07:10:34 jmc Exp $ +.\" $OpenBSD: uscom.4,v 1.3 2018/08/22 15:32:49 mpi Exp $ .\" .\" Copyright (c) 2006 Jonathan Gray .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 25 2014 $ +.Dd $Mdocdate: August 22 2018 $ .Dt USCOM 4 .Os .Sh NAME @@ -34,6 +34,7 @@ driver: .Bd -literal -offset indent HP 39G HP 49G +Dynastream ANT USB-m Stick .Ed .Sh SEE ALSO .Xr tty 4 , diff --git a/sys/dev/usb/uscom.c b/sys/dev/usb/uscom.c index 69d51578b61..54dab867764 100644 --- a/sys/dev/usb/uscom.c +++ b/sys/dev/usb/uscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uscom.c,v 1.5 2016/09/02 09:14:59 mpi Exp $ */ +/* $OpenBSD: uscom.c,v 1.6 2018/08/22 15:32:49 mpi Exp $ */ /* * Copyright (c) 2006 Jonathan Gray @@ -52,7 +52,8 @@ struct ucom_methods uscom_methods = { }; static const struct usb_devno uscom_devs[] = { - { USB_VENDOR_HP, USB_PRODUCT_HP_HPX9GP } + { USB_VENDOR_HP, USB_PRODUCT_HP_HPX9GP }, + { USB_VENDOR_DYNASTREAM, USB_PRODUCT_DYNASTREAM_ANTUSBM } }; int uscom_match(struct device *, void *, void *); -- 2.20.1