On Sun, 8 Jul 2018 22:09:02 +0200
Martin Pieuchot <[email protected]> wrote:

> On 04/07/18(Wed) 17:00, Martin Pieuchot wrote:
> > Diff below adds support for printing USB ports status.  It includes an
> > ABI change as we currently do not export port status/change to userland.
> > 
> > I'd really like to export the current cached value to userland via the
> > USB_DEVICEINFO ioctl(2) to reduce the numbers of I/O.
> > 
> > Note that this diff also fixes some link-status defines in usb.h
> > 
> > Since it includes an ABI break I cranked devel/libusb1.
> > 
> >   $ usbdevs -dvv 
> >   Controller /dev/usb0:
> >   addr 01: 8086:0000 Intel, xHCI root hub
> >            super speed, self powered, config 1, rev 1.00
> >            driver: uhub0
> >            port 01: 0000.02a0 power Rx.detect
> >            port 02: 0000.02a0 power Rx.detect
> >            port 03: 0000.02a0 power Rx.detect
> >            port 04: 0000.0503 connect enabled recovery
> >            port 05: 0000.02a0 power Rx.detect
> >     ...
> >   addr 02: 04f2:b45d Chicony Electronics Co.,Ltd., Integrated Camera
> >            high speed, power 500 mA, config 1, rev 0.29, iSerialNumber
> > 0x0001 driver: uvideo0
> > 
> > ok?  
> 
> Anyone?  Comments?  Oks?

Updated to current yesterday (2018-07-09) and with this diff added.
usbdevs and rest of the system runs fine.

Reply via email to