When I test the read() in bulkloop program, it can read the
data successfully.
I don't know how to test it now...
On Sat, Feb 18, 2012 at 12:10 AM, Yunong Pang <029...@gmail.com> wrote:
> 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.
>
> On Sat, Feb 18, 2012 at 12:03 AM, Wander Lairson Costa <
> wander.lair...@gmail.com> wrote:
>
>> 2012/2/17 Yunong Pang <029...@gmail.com>:
>> > Bus 002 Device 018: ID 0547:1002 Anchor Chips, Inc. Python2 WDM Encoder
>> > Device Descriptor:
>> > bLength 18
>> > bDescriptorType 1
>> > bcdUSB 2.00
>> > bDeviceClass 0 (Defined at Interface level)
>> > bDeviceSubClass 0
>> > bDeviceProtocol 0
>> > bMaxPacketSize0 64
>> > idVendor 0x0547 Anchor Chips, Inc.
>> > idProduct 0x1002 Python2 WDM Encoder
>> > bcdDevice 0.00
>> > iManufacturer 1 FCTECH
>> > iProduct 2 SLAVEFIFO
>> > iSerial 0
>> > bNumConfigurations 1
>> > Configuration Descriptor:
>> > bLength 9
>> > bDescriptorType 2
>> > wTotalLength 32
>> > bNumInterfaces 1
>> > bConfigurationValue 1
>> > iConfiguration 0
>> > bmAttributes 0xa0
>> > (Bus Powered)
>> > Remote Wakeup
>> > MaxPower 500mA
>> > Interface Descriptor:
>> > bLength 9
>> > bDescriptorType 4
>> > bInterfaceNumber 0
>> > bAlternateSetting 0
>> > bNumEndpoints 2
>> > bInterfaceClass 255 Vendor Specific Class
>> > bInterfaceSubClass 0
>> > bInterfaceProtocol 0
>> > iInterface 0
>> > Endpoint Descriptor:
>> > bLength 7
>> > bDescriptorType 5
>> > bEndpointAddress 0x02 EP 2 OUT
>> > bmAttributes 2
>> > Transfer Type Bulk
>> > Synch Type None
>> > Usage Type Data
>> > wMaxPacketSize 0x0200 1x 512 bytes
>> > bInterval 0
>> > Endpoint Descriptor:
>> > bLength 7
>> > bDescriptorType 5
>> > bEndpointAddress 0x86 EP 6 IN
>> > bmAttributes 2
>> > Transfer Type Bulk
>> > Synch Type None
>> > Usage Type Data
>> > wMaxPacketSize 0x0200 1x 512 bytes
>> > bInterval 0
>> > Device Qualifier (for other device speed):
>> > bLength 10
>> > bDescriptorType 6
>> > bcdUSB 2.00
>> > bDeviceClass 0 (Defined at Interface level)
>> > bDeviceSubClass 0
>> > bDeviceProtocol 0
>> > bMaxPacketSize0 64
>> > bNumConfigurations 1
>> > Device Status: 0x0002
>> > (Bus Powered)
>> > Remote Wakeup Enabled
>> >
>>
>> I don't think this is related to PyUSB, but with libusb. What libusb
>> version are you using?
>>
>> --
>> 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
>>
>
>
------------------------------------------------------------------------------
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