power off port physically

Eugene Grosbein egrosbein at rdtc.ru
Mon Aug 29 18:06:51 UTC 2011


Hi!

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

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.

Eugene Grosbein


More information about the freebsd-usb mailing list