https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224454

Hans Petter Selasky <hsela...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsela...@freebsd.org

--- Comment #1 from Hans Petter Selasky <hsela...@freebsd.org> ---
Hi,

Can you suggest a patch to implement them in FreeBSD 12-current?

/usr/src/lib/libusb

I'm uncertain if the functions you mention are useful to FreeBSD in general
including ports, or if it is better to stub them in the code where these
functions are used.

The function to get the parent USB device must be re-constructed in userspace
by using the information obtained from:

/usr/include/libusb20.h:uint8_t libusb20_dev_get_parent_address(struct
libusb20_device *pdev);

Also this introduce a couple of races, like what to do if the parent USB device
vanishes, refcounts and so on.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to