summaryrefslogtreecommitdiffhomepage
path: root/digital/dev2/tools
diff options
context:
space:
mode:
authorNicolas Schodet2013-01-26 18:35:23 +0100
committerNicolas Schodet2013-01-26 18:35:23 +0100
commit2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (patch)
tree399387710e165e072ff1182b0504eec5c724cb1a /digital/dev2/tools
parent2a06cd6240bfc0222fdac51a2c71cc87e43367d6 (diff)
digital/dev2/tools: support old VID/PID to help transition
Diffstat (limited to 'digital/dev2/tools')
-rwxr-xr-xdigital/dev2/tools/dev2ctl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/dev2/tools/dev2ctl.py b/digital/dev2/tools/dev2ctl.py
index 4fd64f65..2089dc16 100755
--- a/digital/dev2/tools/dev2ctl.py
+++ b/digital/dev2/tools/dev2ctl.py
@@ -61,6 +61,8 @@ if options.gpio is not None and (options.gpio[0] < 0 or options.gpio[0] > 0xff
d = None
for bus in usb.busses ():
for dev in bus.devices:
+ if dev.idVendor == 0x03eb and dev.idProduct == 0x204e:
+ d = dev.open ()
if dev.idVendor == 0x1d50 and dev.idProduct == 0x6052:
d = dev.open ()
if d is None: