Nifty thing, waiting for MFC!
--
View this message in context:
http://freebsd.1045724.n5.nabble.com/PATCH-USB-power-usage-reporting-tp5786928p5786988.html
Sent from the freebsd-current mailing list archive at Nabble.com.
___
freebsd-current
On Thursday 14 February 2013 12:33:45 Matt Burke wrote:
> The following patch adds the ability to read power draw on usb devices.
Thanks for your patch!
http://svnweb.freebsd.org/changeset/base/246789
Committed with some minor modifications.
--HPS
___
The following patch adds the ability to read power draw on usb devices.
I have used ioctl 135. I don't know what the protocol is for assigning
numbers, so this may be unacceptable?
ugen is patched to export the data via ioctl
libusb20 and usbconfig are patched to make use of it (end-of-line):
[m