Re: [lsusb PATCH] Verbose flag in tree mode shows vendor and product name.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 13, 2011 at 03:37:44PM -0600, Dafydd Crosby wrote:
> Verbose flag in tree mode shows vendor and product name.
> When running `lsusb -tv`, devices should have the vendor and
> product name appended to the row.
> 
>  Signed-off-by: Dafydd Crosby <dtcrsby@xxxxxxxxx>

I hate the fact that the tree mode code is a totally different code
path and you have to duplicate all of this logic multiple times.

Have you just tried the 'lsusb.py' script that comes with usbutils now?
That probably shows what you want here, and is a simpler solution as it
is already coded and shipping in distros.

Oh, and what does the before and after output of this patch look like?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux