Power cycling device without affecting other devices
Marcin Wisnicki
mwisnicki+freebsd at gmail.com
Sat Aug 6 18:43:50 UTC 2011
In the past I could do a real power_off and power_on a single device
without affecting other devices on the same (root) hub.
Today, it seems that issuing those two commands does something different
that is not really a full power down (led light goes down but device is
still stuck after power_on).
I have also tried issuing commands to hub as suggested in other thread:
usbconfig -d ${root_hub} set_config 255
usbconfig -d ${root_hub} set_config 0
which caused hub and attached devices to disappear but didn't cut the
power (lights still up).
Is it no longer possible to power cycle single device ?
# relevant sysctl dev.*
dev.uhub.1.%desc: VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1
dev.uhub.1.%driver: uhub
dev.uhub.1.%parent: usbus1
dev.usbus.1.%desc: VIA 83C572 USB controller
dev.usbus.1.%driver: usbus
dev.usbus.1.%parent: uhci1
dev.uhci.1.%desc: VIA 83C572 USB controller
dev.uhci.1.%driver: uhci
dev.uhci.1.%location: slot=16 function=1 handle=\_SB_.PCI0.USB2
dev.uhci.1.%pnpinfo: vendor=0x1106 device=0x3038 subvendor=0x1106 subdevice=0x3038 class=0x0c0300
dev.uhci.1.%parent: pci0
dev.uhci.1.wake: 0
Using FreeBSD 8-Stable from Jun 26.
More information about the freebsd-usb
mailing list