In [1]:
import usb1
context = usb1.USBContext()
handle = context.openByVendorIDAndProductID(
        0x08f7,
        0x0008,
        skip_on_error=True)
if handle is None:
    print("LabQuest mini not present on system")

In [2]:
handle.claimInterface(0)


Out[2]:
<usb1._ReleaseInterface at 0x1049a49b0>

In [3]:
handle.getASCIIStringDescriptor(1)


Out[3]:
'Vernier Software & Technology'

In [4]:
handle.getASCIIStringDescriptor(2)


Out[4]:
'LabQuest Mini'

In [5]:
handle.controlRead?

In [21]:
handle.controlRead(0,0,0,0,4,timeout=10)


Out[21]:
b'\x00\x00'

In [6]:
handle.releaseInterface(0)

In [7]:
handle.close()

In [ ]: