Re: HUB Per Port Power Control API Missing ?

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

 



A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Tue, Sep 20, 2011 at 12:04:41PM -0400, Lenny Story wrote:
> Greg,
> 
> The company i work for (mutualink.net)  is building a compound device
> for controlling radios. It has two USB audio codecs, a Serial port
> (FTDI) and a board controller implemented in a USB AVR microcontroller
> all sitting behind a HUB.  Depending on the application, we have a
> need to turn off one of the codecs, or cycle power on a single device.
> Power is provided to these devices individually via the USB port power
> for each of the ports.
> 
> I can certainly turn off the power to each of the HUB's ports, and can
> confirm it with external measurements. This is done with setFeature
> packets and LibUSB1.0.  The problem is that KHub has no idea that the
> power was removed. I am uncomfortable messing with KHubs resources
> without it being in the loop, which is why i am bringing this up.
> Although, I would have expected a port change bit to notify khub that
> something has changed, but i have not seen that happen.
> 
> This application is obviously an embedded one and not the normal
> desktop user. So the requirements here are different than probably 90%
> of the users out there.
> 
> I absolutely am not trying to suggest changes that aren't
> architecturally sound, but i think since the USB Hub Committee thought
> it was useful it can lend some credibility to it. ;)

I think, in testing, not all hubs support this.  Please test to verify
this yourself.

And again, patches showing what you are proposing is the best place to
start discussing this.

thanks,

greg k-h
--
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