I have so far gotten to the stage of finding the device, now I am ready to talk to the USB using the devices protocol laid out in the specification on page 22.
libusb is installed on my machine and so is PyUSB.
import usb.core
import usb.util
# find our device
dev = usb.core.find(idVendor=0x067b, idProduct=0x2303)
# was it found?
if dev is None:
raise ValueError('Device not found')
# b are bytes, w are words
reqType = ''
bReq = ''
wVal = ''
wIndex = ''
dev.ctrl_transfer(reqType, bReq, wVal, wIndex, [])
The above example is attempting to use a control transfer, which I assume is what the protocol describes.
I just want to know if I am along the right lines or if I am doing something fundamentally wrong.
The device is found, it's just the next part I am unsure of.