diff python/lsusb.py @ 112:056face59ee7

Added lsusb script
author Windel Bouwman
date Fri, 04 Jan 2013 18:40:05 +0100
parents
children 654093a9a1e3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/lsusb.py	Fri Jan 04 18:40:05 2013 +0100
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+from usb import UsbContext
+
+context = UsbContext()
+for d in context.DeviceList:
+   print(d)
+