2010/7/14 John Harrison <johnharrison...@gmail.com>:
> By the fact that you are asking what libusb version I am using, I assume I
> was supposed to install libusb independent of pyusb? I didn't catch that in
> the docs...

Yes, libusb must be installed separatelly from PyUSB. I will add an
install section in the docs,
sorry about that...

>
> If so, which libusb do you recommend I install for win32? I looked at
> libusb-win32:
> http://sourceforge.net/apps/trac/libusb-win32/wiki

Since there is no stable release of the libusb 1.0 windows backend,
I'd recommend you libusb-win32.
But bear in mind that PyUSB alpha 0 is very buggy yet...

>
> and I assume I install the device driver from that?

Yes

>
> The usb component I am connecting came with its own driver which appears to
> use winusb, so do I need to remove that driver to get libusb to work with
> the device? pywinusb didn't find the component so I am assuming winusb is a
> dead-end for Python?
>

You can install libusb device driver either as a filter driver or as
the device driver for your component. If you choose the former, I
guess you don't need to uninstall your current driver (but probably
will be unable to use software sniffers, like usbsnoopy).

> -John
>
> On Wed, Jul 14, 2010 at 1:04 PM, Wander Lairson <wander.lair...@gmail.com>
> wrote:
>>
>> 2010/7/14 John Harrison <johnharrison...@gmail.com>:
>> > Just installed pyusb-1.0.0-a0 on a WinXP (win32) machine running Python
>> > 2.6.5. Here's the output of my simple test:
>> >
>> > Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
>> > (Intel)]
>> > on
>> > win32
>> > Type "help", "copyright", "credits" or "license" for more information.
>> >>>> import usb.core
>> >>>> import usb.util
>> >>>> dev = usb.core.find()
>> > Traceback (most recent call last):
>> >   File "<stdin>", line 1, in <module>
>> >   File "c:\python26\lib\site-packages\usb\core.py", line 819, in find
>> >     raise ValueError('No backend available')
>> > ValueError: No backend available
>> >>>>
>>
>> What libusb version are you using?
>>
>> >
>> > I'm sure this is a common problem and is already answered on this user
>> > list
>> > but I couldn't find it for Win32 after multiple searches on the list and
>> > Google so please don't flame me! :-)
>>
>> Don't worry, the mailing list is your friend... :-)
>>
>> >
>> >
>> > --
>> > John
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by Sprint
>> > What will you do first with EVO, the first 4G phone?
>> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> > _______________________________________________
>> > pyusb-users mailing list
>> > pyusb-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/pyusb-users
>> >
>> >
>>
>>
>>
>> --
>> Best Regards,
>> Wander Lairson Costa
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> pyusb-users mailing list
>> pyusb-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>
>
> --
> John
> http://alumni.media.mit.edu/~harrison/
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>



-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to