Subject: Re: soft control of +5V at a USB hub port?
To: J Chapman Flack <>
From: Lennart Augustsson <>
List: tech-kern
Date: 05/04/2005 20:07:07
J Chapman Flack wrote:
> Lennart Augustsson wrote:
>>individually.  But my guess is that it doesn't monitor the
>>+5V, but instead checks if the port is enabled.  You can
>>always enable&disable ports individually.  But there is no
> Ah, interesting.  Can you point me in the direction of the right api inside
> the kernel?   maybe I can try it out and see what happens.

If dev is a uhub device, and port is the port number, you do

usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE);

	-- Lennart