Re: USB port power off discussion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 Sep 2012, Sarah Sharp wrote:

> > > If userspace really wants the port off (e.g. to disconnect and
> > > reconnect a misbehaving device), then it can set the sysfs file
> > > to off.
> > 
> > And unless all ganged ports are also off it will fail. Userspace will
> > want to know about that, and why, along with a reference that can be
> > matched against the list of ganged sets of ports.
> 
> Ah, right.  Yes, we should probably add some dmesg info lines about why
> we can't turn off a port right now.

Do you know when this happens?  Typically the firmware allows you to 
request the power be turned off, and indicates success, but actually 
leaves the power on.

You'd have to check the power settings for all the other ports in the 
ganged set.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux