Martin Pieuchot <[email protected]> wrote: > My recent work to force USB devices to attach as ugen(4) [0] and Ilya's > work to enable/disable USB devices [1] have a lot in common. Now I'd > argue that we don't want new userland tool for these functionalities. > IMHO we should improve usbdevs(8).
I agree. > Sadly usbdevs(8) output is hard to read. So here's a first diff to > improve that. > > With the diff below '-v' can be specified multiple time and the 'port' > status of hub are only printed if verbose is > 1. That's similar to > pcidump(8)'s -xxx :) > > Like in pcidump(8) the USB "Controller" or bus, will now be displayed > unconditionally. This matters now that most computer have multiple > controllers and it is coherent with pcidump(8). Makes sense. That will allow accurate selection of devices.
