I tried to manually interact with device using python command prompt, and it worked fine:
C:\Projetos\pyusb\trunk>python ActivePython 2.6.1.1 (ActiveState Software Inc.) based on Python 2.6.1 (r261:67515, Dec 5 2008, 13:58:38) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import usb.core >>> d = usb.core.find(idVendor=0xfffe) >>> d.write(1, "teste") 5 >>> d.read(5) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: read() takes at least 3 arguments (2 given) >>> d.read(0x81, 5) array('B', [116, 101, 115, 116, 101]) >>> exit() Although not showed above, it is using libusb 1.0, as libusb 0.1 would fail to enumerate the device (it is not using libusb0.sys driver). After that, I disconnected and reconnected the device, and the hanging problem came back. I will investigate a bit further, and report any news... Wander 2010/4/7 Xiaofan Chen <xiaof...@gmail.com>: > On Thu, Apr 8, 2010 at 7:55 AM, Wander Lairson <wander.lair...@gmail.com> > wrote: >> I am using WinUSB, but suddenly the problem stopped to occur, now I am >> having that "access denied" problem... >> > > I see. Now we have the same problem with native Python installation > and libusb 1.0 Windows. I will say it is a strange problem but I am not > a Python expert. > > > -- > 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