view 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 source

#!/usr/bin/python

from usb import UsbContext

context = UsbContext()
for d in context.DeviceList:
   print(d)