Bug 239916 - Add detach_kernel_driver to usbconfig(8)
Summary: Add detach_kernel_driver to usbconfig(8)
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: Hans Petter Selasky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-16 19:28 UTC by Kevin Zheng
Modified: 2019-09-05 09:34 UTC (History)
1 user (show)

See Also:


Attachments
Patch (2.71 KB, patch)
2019-08-16 19:28 UTC, Kevin Zheng
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zheng 2019-08-16 19:28:42 UTC
Created attachment 206624 [details]
Patch

Give usbconfig(8) the ability to detach kernel drivers using libusb20_dev_detach_kernel_driver().
Comment 1 commit-hook freebsd_committer 2019-08-16 21:18:16 UTC
A commit references this bug:

Author: hselasky
Date: Fri Aug 16 21:17:56 UTC 2019
New revision: 351146
URL: https://svnweb.freebsd.org/changeset/base/351146

Log:
  Implement detach_kernel_driver command in usbconfig(8).

  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
  PR:		239916
  MFC after:	1 week

Changes:
  head/usr.sbin/usbconfig/usbconfig.8
  head/usr.sbin/usbconfig/usbconfig.c
Comment 2 Hans Petter Selasky freebsd_committer 2019-08-16 21:18:29 UTC
Thank you for your patch!
Comment 3 commit-hook freebsd_committer 2019-09-05 09:32:27 UTC
A commit references this bug:

Author: hselasky
Date: Thu Sep  5 09:32:01 UTC 2019
New revision: 351842
URL: https://svnweb.freebsd.org/changeset/base/351842

Log:
  MFC r351146:
  Implement detach_kernel_driver command in usbconfig(8).

  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
  PR:		239916

Changes:
_U  stable/12/
  stable/12/usr.sbin/usbconfig/usbconfig.8
  stable/12/usr.sbin/usbconfig/usbconfig.c
Comment 4 commit-hook freebsd_committer 2019-09-05 09:34:28 UTC
A commit references this bug:

Author: hselasky
Date: Thu Sep  5 09:33:48 UTC 2019
New revision: 351843
URL: https://svnweb.freebsd.org/changeset/base/351843

Log:
  MFC r351146:
  Implement detach_kernel_driver command in usbconfig(8).

  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
  PR:		239916

Changes:
_U  stable/11/
  stable/11/usr.sbin/usbconfig/usbconfig.8
  stable/11/usr.sbin/usbconfig/usbconfig.c