power off port physically

Hans Petter Selasky hselasky at c2i.net
Mon Aug 29 18:13:37 UTC 2011


On Monday 29 August 2011 20:06:43 Eugene Grosbein wrote:
> Hi!
> 

Hi,

> How do I power USB port off with FreeBSD 8.2-STABLE?

If you use an external HUB and the HUB does not have the power always one, 
like some do, it should be enough to re-enumerate the parent HUB which your 
device is connected to.

--HPS

> 
> I have USB 3G modem with LED and all my attempts to power it off
> with usbconfig power_off/power_on, set_state 255 to its hub do nothing
> to modem's LED that is ON still, so modem does not get powered off
> physically.
> 
> I have Intel D975XBX motherboard and use its onboard USB2.0 ports:
> 
> # usbconfig
> ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
> pwr=SAVE ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=SAVE ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=SAVE ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0
> md=HOST spd=FULL (12Mbps) pwr=SAVE ugen4.1: <EHCI root HUB Intel> at
> usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen0.2: <Smart-UPS 750
> FW651.18.I USB FW7.4 American Power Conversion> at usbus0, cfg=0 md=HOST
> spd=LOW (1.5Mbps) pwr=ON ugen4.2: <USB 2.0 4-Port Hub NEC> at usbus4,
> cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen4.3: <ZTE CDMA Technologies
> MSM ZTE, Incorporated> at usbus4, cfg=255 md=HOST spd=HIGH (480Mbps)
> pwr=ON
> 
> As you can see, I also have additional USB Hub intergrated with my monitor,
> tried its ports too - without luck.
> 
> Please CC: me as I'm not in the list.


More information about the freebsd-usb mailing list