Hi. Thank You all very much for trying to help.
I have installed libusb-win32 device driver.
Here is the printout from the TestLibUsb program which is provided with the
driver.
It still doesn't work. My main problem is that I don't know what the error
means and I had no luck finding in online.
Thanks.
bus/device idVendor/idProduct
bus-0/\\.\libusb0-0004--0x04cc-0x1235 04CC/1235
- Manufacturer : NXP Semiconductors
- Product : Keil MCB2140 HID
- Serial Number: DEMO
wTotalLength: 41
bNumInterfaces: 1
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 80h
MaxPower: 50
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 1
bInterfaceClass: 3
bInterfaceSubClass: 0
bInterfaceProtocol: 0
iInterface: 86
bEndpointAddress: 81h
bmAttributes: 03h
wMaxPacketSize: 1
bInterval: 32
bRefresh: 0
bSynchAddress: 0
On Wed, Mar 31, 2010 at 3:01 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Wed, Mar 31, 2010 at 4:41 AM, Ivan Dodig <madi...@gmail.com> wrote:
> > After the interruptWrite function I get this error
> > Traceback (most recent call last):
> > File "<pyshell#48>", line 1, in <module>
> > handle.interruptWrite(1, [1])
> > USBError: usb_submit_async: submitting request failed, win error: The
> > parameter is incorrect.
>
> I assume you are using Windows. In that case, did you install
> the libusb-win32 device driver? What is the output of
> testlibusb-win.exe?
>
> You need to use the inf wizard to generate the
> INF file and replace the original driver with
> libusb-win32 device driver.
>
> If you are using the filter driver, then be very careful
> as it may cause BSOD, especially under Vista and
> Windows 7.
>
>
> --
> Xiaofan http://mcuee.blogspot.com
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users