Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2024 14:34:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 224454] Feature request: implement libusb_get_parent and libusb_has_capability
Message-ID:  <bug-224454-19105-LKFDeSB0FM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224454-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224454-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224454

--- Comment #6 from Ed Maste <emaste@freebsd.org> ---
libusb_get_parent was introduced in libusb in:

commit cfb8610242394d532778a483570089c2bed52c84
Author: Pete Batard <pete@akeo.ie>
Date:   Thu May 10 20:01:10 2012 +0100

    All: Add parent and port topology calls

    * Adds libusb_get_port_number, libusb_get_parent and libusb_get_port_pa=
th
    * Linux implementation provided by Alan Stern, OS X by Nathan Hjelm
    * Unsupported for *BSD platforms

It is a trivial getter that returns a parent libusb_device member. From wha=
t I
can tell the parent_dev is never set in any of libusb's BSD osdep code.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224454-19105-LKFDeSB0FM>