view python/lsusb.py @ 129:9e350a7dde98

Changed architecture and updated the util
author Windel Bouwman
date Fri, 18 Jan 2013 12:52:11 +0100
parents 056face59ee7
children 654093a9a1e3
line wrap: on
line source

#!/usr/bin/python

from usb import UsbContext

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