On Thu, Sep 27, 2012 at 8:23 AM, Bryce Gamble <iamhighlan...@hotmail.com> wrote:
> So after a lot of tinkering and searching, I managed to get pyusb running
> and not complaining and everything.
> Now I'm just trying to test it by recognizing my USB mouse.  I use the
> following code:
>
> import usb.core
> import usb.util
>
> # find our device
> dev = usb.core.find(idVendor=0x093a, idProduct=0x2510)
>
> # was it found?
> if dev is None:
>     raise ValueError('Device not found')
>
> which runs find, but dev is always null.  Am I doing something wrong?

What is the OS you are using? If you use Windows, then
you may need to install supported drivers.

-- 
Xiaofan

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to