Detecting ports that have been shut off

bridged with qdn.public.ddk.usb
Post Reply
Rex Lam

Detecting ports that have been shut off

Post by Rex Lam » Tue Apr 29, 2003 4:27 pm

Sometimes, a USB port is shut off due to electrical conditions. Is there
any way to detect which ports have been shut off? Is it possible to reopen
those ports?

Right now, the only way to do that is to terminate the stack and restart
it.

Rex

Kevin Chiles

Re: Detecting ports that have been shut off

Post by Kevin Chiles » Tue Apr 29, 2003 7:47 pm

Rex Lam <Rex.Lam@igt.com> wrote:
Sometimes, a USB port is shut off due to electrical conditions. Is there
any way to detect which ports have been shut off?
There isn't an API to retrieve the port over current status.
Is it possible to reopen those ports?
If you have attached to the device the port can be reset with the
usbd_reset_device func.
Right now, the only way to do that is to terminate the stack and restart
it.

Rex

Post Reply

Return to “qdn.public.ddk.usb”