2012/2/17 Yunong Pang <029...@gmail.com>:
> I grep out two results...
> $ rpm -qa | grep libusb
>
> libusb1-1.0.8-1.fc14.i686
> libusb-0.1.12-23.fc14.i686
>
> I don't know which one is my libusb version.
>

The first one. But you also have the libusb 0.1. Let's try to force
its use and check if we get the same results:

import usb.core
from usb.core.backend import libusb01

b = libusb.get_backend()

dev = usb.core.find(idVendor=0x0547, idProduct=0x1002, backend = b)
dev.set_configuration()
ret = dev.read(0x86, 1024, 0, 100)

Please, check if you get errors with the above code..

-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to