I'm running on Windows 7 32-bit.If I need to install mouse drivers, I may be in
trouble.The real reason I started playing with pyusb is that I have a
projectwhere I need to interface with a microcontroller via USB. We already
knowwe have to write a driver to mount on the microcontroller, but I was kinda
hopingto avoid some of the heavy lifting on the PC side.
> Date: Thu, 27 Sep 2012 09:00:59 +0800
> From: xiaof...@gmail.com
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Using the Library Question
>
> 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
------------------------------------------------------------------------------
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