From 5600f99bd941f5d44eb3c690e15a0f125fbd23f4 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 22 Sep 2011 18:51:50 +0300 Subject: [PATCH] Print Vendor/Product/Version in hexadecimal This is how their are more commonly known. --- test/list-devices | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/list-devices b/test/list-devices index 912071485..cb564be4e 100755 --- a/test/list-devices +++ b/test/list-devices @@ -67,6 +67,12 @@ for i in adapter_list: print " %s = %s" % (key, list) elif (key == "Class"): print " %s = 0x%06x" % (key, value) + elif (key == "Vendor"): + print " %s = 0x%04x" % (key, value) + elif (key == "Product"): + print " %s = 0x%04x" % (key, value) + elif (key == "Version"): + print " %s = 0x%04x" % (key, value) else: print " %s = %s" % (key, value) -- 2.47.3