2011/1/18 Sridev Nair <sksridevn...@gmail.com>: > Spied on the USB bus, I see that reader.open() does not actually open the > port though it seem to pass a handle object to readerHandler . There are no > messages passed and no activity on the bus. > On debugging the code, I see that reader.open() just returns DeviceHandle > object without any call to open the port. Is this intended? > Yes, it is expected behavior. PyUSB 0.4 API emulation is built over standard API, which has no explicit open (it is managed internally). This open only exist for backward compatibility.
-- Best Regards, Wander Lairson Costa LCoN - Laboratório de Computação Natural - Natural Computing Laboratory (http://www.mackenzie.com.br/lcon.html) Programa de Pós-Graduação em Engenharia Elétrica (PPGEE) Faculdade de Computação e Informática (FCI) Universidade Presbiteriana Mackenzie - SP - Brazil ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users