From owner-freebsd-usb@freebsd.org Mon Jan 29 18:44:48 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06CFDED75E9 for ; Mon, 29 Jan 2018 18:44:48 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 98C00805F5 for ; Mon, 29 Jan 2018 18:44:47 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by mailman.ysv.freebsd.org (Postfix) id 57C83ED75E8; Mon, 29 Jan 2018 18:44:47 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43F76ED75E7 for ; Mon, 29 Jan 2018 18:44:47 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (blogreen.org [IPv6:2001:41d0:fea8:8901::2]) by mx1.freebsd.org (Postfix) with ESMTP id BD4E4805F3 for ; Mon, 29 Jan 2018 18:44:46 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 681C392E9E; Mon, 29 Jan 2018 19:44:45 +0100 (CET) Date: Mon, 29 Jan 2018 19:44:45 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: usb@freebsd.org Subject: Feedback for portable libusb code Message-ID: <20180129184445.GB7783@blogreen.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline X-PGP-Key: http://romain.blogreen.org/pubkey.asc User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 18:44:48 -0000 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! FreeBSD's libusb allows userland programs to access USB devices in a way similar to GNU/Linux with it's libusb. However, there are some differences between these implementations. I recently diagnosed an issue in sigrok, provided a patch, but the maintainer is having some questions and I am not sure about the best way to address them. If someone with more USB insight could give a look to this GitHub issue, that would be awesome ! Basically, the usb_get_port_path() calls libusb_open() before (and libusb_close() after) libusb_get_port_numbers() because this is required on FreeBSD: https://github.com/sigrokproject/libsigrok/blob/a9010323ddf4e479663e871386c= 05db05ea3522e/src/usb.c#L478-L491 However, calling libusb_open() twice fails=E2=80=A6 The issue is here: https://github.com/sigrokproject/libsigrok/pull/6 Thanks! Romain --=20 Romain Tarti=C3=A8re http://people.FreeBSD.org/~romai= n/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEgjSaeOfAuAcLWYD/uk0dlVESM28FAlpva50ACgkQuk0dlVES M2+umgv+PCb/H76Wnkv10/hfBCBkzeJdjJ2p/7l9ku2nDwruryjonH6s1AN4l9Ee E3yXEhvhr8xMA9A9z1i/ViV5VgdQAPJk/vYgMSrZoIec1uqFfWtpnUnIVKrMz/YS y2Gf2oR52vqkw3pGIC4zerUcFRGywpyJ5aAUkbTjoM2vx0GoKxrvG/11RaIDffRn eKUzRQDUPcQZv4gS1XcebOQ57nnCwXt2Frv+Y+firBcJlbC6Jki+rjM1J41IB9r5 GUnYXW/Meut8YhHtpVYFGUxbeG0q88fGMU9qdRcn/Dj2VZ2P7/iV2ht+EC/mK36L /Niq8gR+jfS9vliOJWLS1czHtVMCDx62iZTNwsqEZrQkcpmt+l+yKPcNN+xWtt9Q pEhHaQJJuykWySUxfnDAG9wHNoxzrm0181Q1mEjODujnSGAoddDw/uBnmns8ygPB pMbFNo9QZUnMDGb2BCNJVenDj+MKpA117VzoM7xMeaJvG2I186gVRe9OX7nnPMIu u/CLQcSm =QZn+ -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN-- From owner-freebsd-usb@freebsd.org Mon Jan 29 19:13:03 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7F25ED8B07 for ; Mon, 29 Jan 2018 19:13:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6AB3B8185D for ; Mon, 29 Jan 2018 19:13:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A055ED8B03; Mon, 29 Jan 2018 19:13:02 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 078B7ED8AFB for ; Mon, 29 Jan 2018 19:13:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 771C481859; Mon, 29 Jan 2018 19:13:01 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 327C326018F; Mon, 29 Jan 2018 20:13:00 +0100 (CET) Subject: Re: Feedback for portable libusb code To: =?UTF-8?Q?Romain_Tarti=c3=a8re?= , usb@freebsd.org References: <20180129184445.GB7783@blogreen.org> From: Hans Petter Selasky Message-ID: <9128056d-c916-597e-f866-48cf6051ee0e@selasky.org> Date: Mon, 29 Jan 2018 20:10:06 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180129184445.GB7783@blogreen.org> Content-Type: multipart/mixed; boundary="------------10B0C664C0A9F56F53F827C7" Content-Language: en-US X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 19:13:03 -0000 This is a multi-part message in MIME format. --------------10B0C664C0A9F56F53F827C7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 01/29/18 19:44, Romain Tartière wrote: > Hello! > > FreeBSD's libusb allows userland programs to access USB devices in a way > similar to GNU/Linux with it's libusb. > > However, there are some differences between these implementations. I > recently diagnosed an issue in sigrok, provided a patch, but the > maintainer is having some questions and I am not sure about the best way > to address them. > > If someone with more USB insight could give a look to this GitHub issue, > that would be awesome ! > > Basically, the usb_get_port_path() calls libusb_open() before (and > libusb_close() after) libusb_get_port_numbers() because this is required > on FreeBSD: > https://github.com/sigrokproject/libsigrok/blob/a9010323ddf4e479663e871386c05db05ea3522e/src/usb.c#L478-L491 > > However, calling libusb_open() twice fails… > > The issue is here: > https://github.com/sigrokproject/libsigrok/pull/6 Hi, Does the attached patch for FreeBSD's libusb solve your issue? --HPS --------------10B0C664C0A9F56F53F827C7 Content-Type: text/x-patch; name="libusb.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libusb.diff" Index: libusb20_int.h =================================================================== --- libusb20_int.h (revision 328435) +++ libusb20_int.h (working copy) @@ -237,8 +237,12 @@ uint8_t is_opened; uint8_t parent_address; uint8_t parent_port; + uint8_t port_level; char usb_desc[96]; + +#define LIBUSB20_DEVICE_PORT_PATH_MAX 32 + uint8_t port_path[LIBUSB20_DEVICE_PORT_PATH_MAX]; }; extern const struct libusb20_backend_methods libusb20_ugen20_backend; Index: libusb20_ugen20.c =================================================================== --- libusb20_ugen20.c (revision 328435) +++ libusb20_ugen20.c (working copy) @@ -136,6 +136,7 @@ const char *tmp = id; struct usb_device_descriptor ddesc; struct usb_device_info devinfo; + struct usb_device_port_path udpp; uint32_t plugtime; char buf[64]; int f; @@ -219,6 +220,21 @@ pdev->device_address, devinfo.udi_vendor, devinfo.udi_product, pdev->bus_number); + /* get parent port path */ + + if (ioctl(f, IOUSB(USB_GET_DEV_PORT_PATH), &udpp)) { + error = LIBUSB20_ERROR_OTHER; + goto done; + } + + if (udpp.udp_port_level > LIBUSB20_DEVICE_PORT_PATH_MAX) { + error = LIBUSB20_ERROR_OVERFLOW; + goto done; + } + + memcpy(pdev->port_path, udpp.udp_port_no, udpp.udp_port_level); + pdev->port_level = udpp.udp_port_level; + error = 0; done: close(f); @@ -653,17 +669,13 @@ static int ugen20_get_port_path(struct libusb20_device *pdev, uint8_t *buf, uint8_t bufsize) { - struct usb_device_port_path udpp; - if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_DEV_PORT_PATH), &udpp)) - return (LIBUSB20_ERROR_OTHER); - - if (udpp.udp_port_level > bufsize) + if (pdev->port_level > bufsize) return (LIBUSB20_ERROR_OVERFLOW); - memcpy(buf, udpp.udp_port_no, udpp.udp_port_level); + memcpy(buf, pdev->port_path, pdev->port_level); - return (udpp.udp_port_level); /* success */ + return (pdev->port_level); /* success */ } static int --------------10B0C664C0A9F56F53F827C7-- From owner-freebsd-usb@freebsd.org Thu Feb 1 14:50:03 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF756ED5036 for ; Thu, 1 Feb 2018 14:50:03 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 55BF26F304 for ; Thu, 1 Feb 2018 14:50:03 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by mailman.ysv.freebsd.org (Postfix) id 08071ED5034; Thu, 1 Feb 2018 14:50:03 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAD82ED5032 for ; Thu, 1 Feb 2018 14:50:02 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (blogreen.org [IPv6:2001:41d0:fea8:8901::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7CD076F302 for ; Thu, 1 Feb 2018 14:50:02 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 5836A94502; Thu, 1 Feb 2018 15:49:55 +0100 (CET) Date: Thu, 1 Feb 2018 15:49:55 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Hans Petter Selasky Cc: usb@freebsd.org Subject: Re: Feedback for portable libusb code Message-ID: <20180201144955.GA38513@blogreen.org> References: <20180129184445.GB7783@blogreen.org> <9128056d-c916-597e-f866-48cf6051ee0e@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <9128056d-c916-597e-f866-48cf6051ee0e@selasky.org> X-PGP-Key: http://romain.blogreen.org/pubkey.asc User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 14:50:03 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Mon, Jan 29, 2018 at 08:10:06PM +0100, Hans Petter Selasky wrote: > Does the attached patch for FreeBSD's libusb solve your issue? Unfortunately, I could not test this before leaving home. I will be back in a few days, feel free to come back to me if you have no news =66rom me in one week. Regards, Romain --=20 Romain Tarti=E8re http://people.FreeBSD.org/~romain/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEgjSaeOfAuAcLWYD/uk0dlVESM28FAlpzKQwACgkQuk0dlVES M282qQv/aFBbQzxNjaN7GdmIb35hOJH9GvPDHrbXZmZhJwP0NMf1vziB4D4uf6pi BBCOhuFHbWceIClzDpguvtrvezBxaVxVVPxg7IO8ikmG7Bh+ztrQRUMTdHLmT0Oe zzkrFQ4lo6Z4Z0l+ZWaaojHmUjGi1Sr15nQtEhY4hnEyFC9xnBPfoCQjW06AYU8Q A3kwVlp+9Yg7ECxR83cA+9j3U6uq9y6FI0R59ayQtfJESKkg5aakLWjSYpl7U6lU u1SsOq6eC9abmRnGmb1PndEUhrRdIm3S1p3hlHP4RUXpMoTul9pG2St2rnwmDar2 jo7x9nzAZyHB6jDpsX6bmf7LnoaJ7C5hKmT+bEiJDQpetsVJ8IiR0AXTVQ6At0MM 4J/zXEiGQqV2w/GhblaOa2TtjJchZ2WtwZLFC+kUfO6W3W78b+pgsXq4Uh+eL1hl Ns3g5qT8YotD4jTP30XusQbDupJn3pEP2GSfy+Ryy1Twjvh4C9qGceuV0wI5Ergh ESqLZTml =c8G2 -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- From owner-freebsd-usb@freebsd.org Fri Feb 2 22:57:05 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15A3DED1101 for ; Fri, 2 Feb 2018 22:57:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A69778582F for ; Fri, 2 Feb 2018 22:57:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0363D231 for ; Fri, 2 Feb 2018 22:57:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w12Mv3ao091407 for ; Fri, 2 Feb 2018 22:57:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w12Mv3rG091406 for freebsd-usb@FreeBSD.org; Fri, 2 Feb 2018 22:57:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 71155] [ulpt] misbehaving usb-printer hangs processes, causes panics Date: Fri, 02 Feb 2018 22:57:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 4.10-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 22:57:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D71155 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org Resolution|--- |DUPLICATE Status|Open |Closed --- Comment #4 from Eugene Grosbein --- Seems to be duplicate of 122483. The problem has already been fixed, though. *** This bug has been marked as a duplicate of bug 122483 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Feb 3 03:44:12 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 876FDEE3833 for ; Sat, 3 Feb 2018 03:44:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C940703B0 for ; Sat, 3 Feb 2018 03:44:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5F3E82B30 for ; Sat, 3 Feb 2018 03:44:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w133iBeF029373 for ; Sat, 3 Feb 2018 03:44:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w133iBXb029372 for freebsd-usb@FreeBSD.org; Sat, 3 Feb 2018 03:44:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 225641] [usbdevs][patch] Add Silabs Hubz USB stick Date: Sat, 03 Feb 2018 03:44:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ryanwinter@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2018 03:44:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225641 Bug ID: 225641 Summary: [usbdevs][patch] Add Silabs Hubz USB stick Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: ryanwinter@outlook.com Keywords: patch Created attachment 190285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190285&action= =3Dedit proposed patch I am using this USB stick which supports both ZigBee and Z-Wave for home automation. Patch attached to add this device. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Feb 3 07:02:58 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEECDEC7C51 for ; Sat, 3 Feb 2018 07:02:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 336CE787C2 for ; Sat, 3 Feb 2018 07:02:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 745CF4C17 for ; Sat, 3 Feb 2018 07:02:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1372vGc003988 for ; Sat, 3 Feb 2018 07:02:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1372vfp003986 for freebsd-usb@FreeBSD.org; Sat, 3 Feb 2018 07:02:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 225641] [usbdevs][patch] Add Silabs Hubz USB stick Date: Sat, 03 Feb 2018 07:02:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ryanwinter@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2018 07:02:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225641 --- Comment #1 from Ryan --- Related forum post: https://forums.freebsd.org/threads/62090/ Home Assistant integration: https://home-assistant.io/components/zha/ --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Feb 3 09:43:53 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 121ECED2D79 for ; Sat, 3 Feb 2018 09:43:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E3717E9A0 for ; Sat, 3 Feb 2018 09:43:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C5336626E for ; Sat, 3 Feb 2018 09:43:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w139hpPl063590 for ; Sat, 3 Feb 2018 09:43:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w139hpBh063589 for freebsd-usb@FreeBSD.org; Sat, 3 Feb 2018 09:43:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 225641] [usbdevs][patch] Add Silabs Hubz USB stick Date: Sat, 03 Feb 2018 09:43:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2018 09:43:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225641 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED CC| |hselasky@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Feb 3 09:44:22 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBD28ED2E7D for ; Sat, 3 Feb 2018 09:44:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C3927EA1D for ; Sat, 3 Feb 2018 09:44:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A87F76276 for ; Sat, 3 Feb 2018 09:44:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w139iLuK064345 for ; Sat, 3 Feb 2018 09:44:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w139iLcG064342 for freebsd-usb@FreeBSD.org; Sat, 3 Feb 2018 09:44:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 225641] [usbdevs][patch] Add Silabs Hubz USB stick Date: Sat, 03 Feb 2018 09:44:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2018 09:44:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225641 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Sat Feb 3 09:43:32 UTC 2018 New revision: 328830 URL: https://svnweb.freebsd.org/changeset/base/328830 Log: Add new USB ID. PR: 225641 Submitted by: Ryan MFC after: 1 week Sponsored by: Mellanox Technologies Changes: head/sys/dev/usb/serial/uslcom.c head/sys/dev/usb/usbdevs --=20 You are receiving this mail because: You are the assignee for the bug.=