From 2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 26 Jan 2013 18:35:23 +0100 Subject: digital/dev2/tools: support old VID/PID to help transition --- digital/dev2/tools/dev2ctl.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'digital/dev2/tools') 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: -- cgit v1.2.3