linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Sid Spry <sid@aeam.us>
Cc: linux-usb@vger.kernel.org
Subject: Re: USB Hardware Power Control, IOCTL_USB_HUB_CYCLE_PORT Equivalent
Date: Tue, 15 Sep 2020 06:50:00 +0200	[thread overview]
Message-ID: <20200915045000.GA2031@kroah.com> (raw)
In-Reply-To: <33a6b755-f1ba-4c9c-9320-601365afbd67@www.fastmail.com>

On Mon, Sep 14, 2020 at 09:14:44PM -0500, Sid Spry wrote:
> Hi, after a fair bit of looking I do not see a way to do a hard reset of
> a device. Windows seems to expose some functionality that hints these things
> are possible. Does anyone know if it is and is implemented in the Linux
> drivers?

You can do this from userspace on hardware that supports it by using the
`usbreset` tool that is in the usbutils package.

But as you have found out, this is not a requirement for USB hardware to
support, so not all hubs do support this, sorry.

good luck!

greg k-h

  reply	other threads:[~2020-09-15  4:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15  2:14 USB Hardware Power Control, IOCTL_USB_HUB_CYCLE_PORT Equivalent Sid Spry
2020-09-15  4:50 ` Greg KH [this message]
2020-09-15 14:45 ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200915045000.GA2031@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sid@aeam.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).