On Thu, Jun 24, 2010 at 8:15 AM, Diego Jacobi <jacobidi...@gmail.com> wrote: > But what i need from this device is to be able to use it through a > userspace software with USB. This is not yet the problem, because i > could in last instance, use the virtual serial port, but it requires > special permissions.
What do you mean by special permissions? Just take note you need to set up udev rules to run pyusb/libusb based program as normal user as well. http://code.google.com/p/picusb/wiki/libusb_and_udev > Now i am not sure if this fails > - because of an error on pyusb > - because the control message is badly built and the device does'nt > answer (i read something about a timeout function) This is also possible. How do you know your control message is correct? > - because it is not possible to communicate with a device which has a > real driver assigned to it If there is a kernel driver bound to the device, you have to detach the kernel driver first. Even if you run as root, you will get problems if the kernel driver is in the way. -- Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users