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]

 



A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Fri, May 13, 2011 at 03:59:23PM -0600, Dafydd Crosby wrote:
> The before and after:
> [dcrosby@geel usbutils]$ ./lsusb -t
> Bus#  4
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
>  `-Dev#   2 Vendor 0x046d Product 0xc00e
> Bus#  3
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
>  `-Dev#   2 Vendor 0x046d Product 0xc317
> Bus#  2
> `-Dev#   1 Vendor 0x1d6b Product 0x0002
> Bus#  1
> `-Dev#   1 Vendor 0x1d6b Product 0x0002
>  `-Dev#   2 Vendor 0x05e3 Product 0x0608
>    |-Dev#   4 Vendor 0x0d8c Product 0x000e
>    `-Dev#   7 Vendor 0x03f0 Product 0x3307
> 
> [dcrosby@geel usbutils]$ ./lsusb -tv
> Bus#  4
> `-Dev#   1 Vendor 0x1d6b Product 0x0001 Linux Foundation 1.1 root hub
>  `-Dev#   2 Vendor 0x046d Product 0xc00e Logitech, Inc. M-BJ58/M-BJ69
> Optical Wheel Mouse
> Bus#  3
> `-Dev#   1 Vendor 0x1d6b Product 0x0001 Linux Foundation 1.1 root hub
>  `-Dev#   2 Vendor 0x046d Product 0xc317 Logitech, Inc. Wave Corded Keyboard
> Bus#  2
> `-Dev#   1 Vendor 0x1d6b Product 0x0002 Linux Foundation 2.0 root hub
> Bus#  1
> `-Dev#   1 Vendor 0x1d6b Product 0x0002 Linux Foundation 2.0 root hub
>  `-Dev#   2 Vendor 0x05e3 Product 0x0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
>    |-Dev#   4 Vendor 0x0d8c Product 0x000e C-Media Electronics, Inc.
> Audio Adapter (Planet UP-100, Genius G-Talk)
>    `-Dev#   7 Vendor 0x03f0 Product 0x3307 Hewlett-Packard

Thanks for this, that looks good.

> I agree - I'm not thrilled with the fact that there's essentially two
> different programs to generate the same thing. Is lsusb.py going to be
> the actual replacement for the old lsusb? If the C program is going to
> stick around, I'll work on integrating the devtree.c code so that
> there's less overhead. However, if lsusb.py is going to be the
> full-blown replacement for lsusb, I won't waste my (and your) time
> with it.

No, I think we are going to stick with the C version for a long time
now.

But any work you want to do integrating devtree.c into the main code
flow would be great to have done, I'd really appreciate it.

I'll go apply your patch now, 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