On Sat, Mar 7, 2009 at 9:35 AM, andré palma <andre...@gmail.com> wrote: > Hi folks, I'm new on pyusb programming and to learn how to get data i'm > trying to get data sent from my mouse. > I've download a program called usbview( http://www.kroah.com/linux/usb/ ) to > display the device descriptors of any USB device pluged to my computer. > I made a peace of code that was supposed to get the data sent from my mouse > but when i try to run it there is an error saying that the device is busy > =S
I haven't used pyusb, but my guess is that because your window manager is using the device already that it can't get a lock on it. I've used pyserial for communicating with a USB device, but I've never tried communication with a mouse. HTH, Wayne _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor