Xiaofan, I created the INF file using inf-wizard.exe. My lsusb output
is:
------------------------------
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x03eb Atmel Corp.
idProduct 0x2013
bcdDevice 10.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 100
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 100
cannot read device status, Broken pipe (32)
------------------------------------
Even though I'm getting this error message, under Ubuntu my application
can still access the device.
Mark
On Sun, 2010-05-30 at 08:03 +0800, Xiaofan Chen wrote:
> On Sun, May 30, 2010 at 5:32 AM, Mark <[email protected]> wrote:
> > Hello Xiaofan, thanks for the reply. I did create the .inf file &
> > selected it as the driver to load when the device is attached. My device
> > shows up with no errors under Device Manager but when I run
> > testlibusb-win.exe nothing at all is shown (not even for devices that
> > windows can see). I have also installed the filter package as suggested
> > by Wander but without success.
> >
>
> How did you create the INF file? You have to use INF-Wizard.
> Then testlibusb-win.exe should only show your device.
>
> As for the filter driver, it should show most of your USB device
> (like your USB mouse if you have one). It will not show the hubs
> whereas linux libusb will show your hubs.
>
> What does "lsusb -vvv" say about your device under Linux?
>
>
------------------------------------------------------------------------------
_______________________________________________
pyusb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyusb-users