From c3be00b0a04befac3a2590cd693ed4ef46695c21 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 11 Oct 2006 20:00:40 +0000 Subject: [PATCH] Show vendor and product --- tools/scan.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/scan.py b/tools/scan.py index 5a405b5..21dd482 100755 --- a/tools/scan.py +++ b/tools/scan.py @@ -38,6 +38,8 @@ def showProperties(udi): deviceProperties = deviceObj.GetAllProperties( dbus_interface = 'org.freedesktop.Hal.Device') print 'Device %s' % udi + print 'Vendor: %s' % deviceProperties['usb_device.vendor'] + print 'Product: %s' % deviceProperties['info.product'] print 'Serial Number: %s' % deviceProperties['usb_device.serial'] print print 'Volume\t\t\tUUID'