New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbose flag in tree mode shows vendor and product name. #3

Merged
merged 2 commits into from Aug 12, 2011

Conversation

Projects
None yet
2 participants
@dafyddcrosby
Contributor

dafyddcrosby commented Jun 8, 2011

When running lsusb -tv, devices should have the vendor and
product name appended to the row.

Before:
Bus# 4
-Dev# 1 Vendor 0x1d6b Product 0x0001 -Dev# 2 Vendor 0x046d Product 0xc00e

After:
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

Moved get_product_string and get_vendor_string to names.c to reduce code duplication

Signed-off-by: Dafydd Crosby dtcrsby@gmail.com

dafyddcrosby added some commits Jun 8, 2011

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@gmail.com>

gregkh added a commit that referenced this pull request Aug 12, 2011

Merge pull request #3 from dafyddcrosby/lsusb-tv
Verbose flag in tree mode shows vendor and product name.

@gregkh gregkh merged commit a21da2d into gregkh:master Aug 12, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment