<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows">
    <title>gmane.comp.lib.libusb.devel.windows</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5457"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5456"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5455"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5454"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5453"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5452"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5451"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5450"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5449"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5448"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5447"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5446"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5445"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5444"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5443"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5442"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5441"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5440"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5439"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5438"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5457">
    <title>Re: usb_find_devices() is zero</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5457</link>
    <description>&lt;pre&gt;Thank you. You were correct, after installing the driver that came with the
Microchip product my issue was resolved.

Thank you!
~Warren Terrall



--
View this message in context: http://libusb.6.n5.nabble.com/usb-find-devices-is-zero-tp5711961p5711963.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Warren Terrall</dc:creator>
    <dc:date>2013-05-13T16:11:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5456">
    <title>Re: usb_find_devices() is zero</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5456</link>
    <description>&lt;pre&gt;
This means you have not installed the libusb-win32 device
driver for your device.


You need to install a supported driver before using libusb-win32.
If you use Microchip's USB stack, they already provides the driver
package.


&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2013-05-10T23:50:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5455">
    <title>usb_find_devices() is zero</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5455</link>
    <description>&lt;pre&gt;I realize that this has been posted about before, but I can't seem to find
the answer to my problem. I have some simple enumeration code that looks for
the usb busses and devices. However usb_find_devices() always returns zero.
Since there aren't any devices I can't connect to anything later.

I have run testlibusb-win.exe as some of the other posts have suggested and
get the following output:

/DLL version:1.2.6.0
Driver version:-1.-1.-1.-1

bus/device  idVendor/idProduct/

Honestly I'm not sure what it means.
Most of the code I'm using was provided by Microchip in one of their
examples.

Thanks in advance!
~Warren


///////////////////////////////////// Code
////////////////////////////////////////////
if ( Connection_Status != CONNECTED)  // if not connected already
{
int count;
usb_init(); /* initialize the library */
usb_find_busses(); /* find all busses */
count = usb_find_devices(); /* find all connected devices */


//Now look through the list that we just populated.  We are trying to see
if a&lt;/pre&gt;</description>
    <dc:creator>Warren Terrall</dc:creator>
    <dc:date>2013-05-10T15:42:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5454">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5454</link>
    <description>&lt;pre&gt;Xiaofan,

Cracked it!!  Or, at least, I think I have - it seems to work.

There were two problems.  You told me to remove the isochronous stuff, 
which I didn't need anyway, so I removed it, but the system still did 
not work.  However, I had introduced a new error - I had the length of 
the endpoint descriptors wrong - 0x1E instead of 0x20.  I didn't know 
what I should be counting, and didn't realise it should include the line
"db 0x09, CONFIGURATION" above.

Anyway, I fixed that and then testlibusb-win gave:

DLL version:1.2.6.0
Driver version:1.2.6.0

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x04d8-0xe05b     04D8/E05B
- Manufacturer : Microchip Technology, Inc.
- Product      : PIC18F4550 ASI Lab USB Firmware
bLength:             18
bDescriptorType:     01h
bcdUSB:              0200h
bDeviceClass:        00h
bDeviceSubClass:     00h
bDeviceProtocol:     00h
bMaxPacketSize0:     20h
idVendor:            04D8h
idProduct:           E05Bh
bcdDevice:           0000h
iManufacturer:       1
iPr&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-09T11:08:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5453">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5453</link>
    <description>&lt;pre&gt;Xiaofan,

Oh dear!  I thought I had that about right!  I suppose the fact that it 
worked misled me.  I keep the data in pairs because it's stored that 
way, and it's easier to count.  The comments are meant to refer to the 
first byte and then the second - it makes some kind of weird sense to 
me, at any rate!  I'll check out what you say and see if I can tidy it up.

I have now confirmed that the original code (including all the 
isochronous stuff I've now removed) all works fine on two other Windows 
7 PCs, though which versions of Win 7 I don't know.  It's really just 
*this* PC that's causing the trouble.

I don't have any blue USB connectors or XHCI controllers.

You're certainly right about XP going obsolete, but I really need some 
old software to work, and it's not happening.  Others are clearly 
finding this to be a problem too.  I don't want to go backwards, but if 
it's the only way ...

Thanks for your patience.

Martin

On 09/05/2013 09:57, Xiaofan Chen wrote:


&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-09T09:09:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5452">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5452</link>
    <description>&lt;pre&gt;
But your testlibusb-win output has the following which is not correct.



Usually USB 3.0 connectors are of blue color. You can also
use Device Manger to check whether there are USB 3.0
controller existing. In that case, you will have XHCI
controller in the system.


XP is going to be obsolete really really soon, next year Microsoft
will no longer support Windows XP. So I think it is time to move
to Windows 7 or Windows 8.


What is the comment for?


The comments are really confusing here.


Why not split into seperate lines for endpoint address
and endpoint attributes.


Where is the bInterval defined even if it is ignored. It
still needs to be defined.

??


Where is this defined?


The above whole section are obviously wrong. You may
want to fix them first to see if that helps.

&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2013-05-09T08:57:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5451">
    <title>LibUsbDotNet-WIN7 and LINUX experience</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5451</link>
    <description>&lt;pre&gt;Hi all,

Maybe, my experience with simple USB thermometer TEMPerV1.2 and LibUsbDotNet 
(2.2.8).
would be helpful for c# .NET/mono programmers.

Is the following a general feature of LibUsbDotNet library in LINUX systems, 
or is it a special
situation of poor combination of LINUX OS/device?

--------------------------------------------------------------------------------------

Using "high level" API, following code runs OK under WIN 7, but under LINUX
(OpenSuse on x86 PC or Raspberry PI, after detaching kernel driver), 
UsbEndpointReader
allways fails with timeout and returns no data:


Code (shortened):

UsbDeviceFinder MyUsbFinder = new UsbDeviceFinder(VID, PID);
MyUsbDevice = UsbDevice.OpenUsbDevice(MyUsbFinder);
IUsbDevice wholeUsbDevice = MyUsbDevice as IUsbDevice;
wholeUsbDevice.SetConfiguration((byte)0x01);
wholeUsbDevice.ClaimInterface(0);
wholeUsbDevice.ClaimInterface(1);
UsbEndpointReader deviceReader = 
MyUsbDevice.OpenEndpointReader(ReadEndpointID....);
MyUsbDevice.ControlTransfer(ref packet, ...&lt;/pre&gt;</description>
    <dc:creator>Milan Drášil</dc:creator>
    <dc:date>2013-05-09T08:24:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5450">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5450</link>
    <description>&lt;pre&gt;Xiaofan,

Sorry, but I continue to fail to understand.  I know you are familiar 
with PICs, so here is the data I use for configuration, etc.  I don't 
think I have a description of EP0 in the descriptor section.  Am I 
missing something again?

I don't think I have a USB3 system.  The USB3 connectors are 
double-sided, aren't they.  Looking at the USB sockets on the PC, they 
look like standard USB sockets to me.

I'm beginning to think that this computer would run XP pretty well and 
that that would solve all my problems.  There is other important 
software it won't run ...

Martin

Descriptor_begin
Device

; bLength, bDescriptorType.  It's a device, so value = 1. DEVICE = 1
; 0x12 = decimal 18 = number of bytes in descriptor, all inclusive.
db0x12, DEVICE

; bcdUSB (low byte), bcdUSB (high byte) (Now USB 2.0. Was 10, 01)
db0x00, 0x02

; bDeviceClass, bDeviceSubClass
db0x00, 0x00

; bDeviceProtocol, bMaxPacketSize
db0x00, CONTROL_PACKET_SIZE

; idVendor (low byte), idVendor (high byte)
db0xD8, 0x&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-09T08:04:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5449">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5449</link>
    <description>&lt;pre&gt;
Yes it is compulsory to have endpoint 0 (default control endpoint).
But it should not appear in the endpoint descriptor section.


USB 3.0 under Windows XP/Vista/7 are all problematic since
you are at the mercy of the vendor USB driver stack, not
Microsoft's. So it may work or it may not work. You
may want to try to upgrade the host controller driver
and maybe firmware as well to see if that helps. Take note
adding a USB 2.0 hub in between will not help you here.

If you can, test it under a computer with Windows 8
and USB 3.0 port to see if that helps. That will have
Microsoft's driver.

&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2013-05-08T09:24:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5448">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5448</link>
    <description>&lt;pre&gt;Xiaofan,
I thought that having endpoint 0 was absolutely compulsory. Is that not the case? How am I misunderstanding you?
This PC is just about new enough to have USB3 ports, but I thought they were backward compatible. Also I am using the Microchip USB boot loader to program the PIC, and that's working OK. 
As ever, thanks for your help. 
Martin

On 8 May 2013, at 00:12, Xiaofan Chen &amp;lt;xiaofanc&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-08T07:40:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5447">
    <title>Re: LIBUSB does not detect USB device after a Shorting USB cables</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5447</link>
    <description>&lt;pre&gt;
Yes that is the case.


I think the original post here has a different problem.
http://libusb.6.n5.nabble.com/LIBUSB-does-not-detect-USB-device-after-a-Shorting-USB-cables-td5711842.html#a5711903

+++++++++++++++++
I am new to USB &amp;amp; LIBUSB. We are developing a USB device
and it has to pass some electrical tests . So we do shorting of
D+, D-, VCC and Gnd pins.

Earlier we used default windows serial driver and device was
not detected after any of pin shorting.

Then we switched to LIBUSB and almost everything is fine
except one case -&amp;gt; D- pin to Gnd pin. After these 2 pins
shorting, we do not see device listed under class 'libusb-win32 devices"
in Windows Devicemanager.
There is also a popup system tray that "one of USB devices
attached to this computer has malfunctioned, and windows
does not recognize it.".

We have no clue how to proceed. we are in a critical situation
after switching to LIBUSB. We feel we got solution after
swithing to LIBUSB and now only this problem is
hindering us.... Any hints are wel&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2013-05-07T23:16:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5446">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5446</link>
    <description>&lt;pre&gt;
One of the endpoint address is 0, which is not correct.
You may want to change that to see if it helps.


Just a guess, does this PC have USB 3.0 ports and you
are using USB 3.0 port in this case?




??



&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2013-05-07T23:12:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5445">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5445</link>
    <description>&lt;pre&gt;I have USBlyser, but not on this Win 7 PC, and this PC is the only one 
that has the error!

Martin

On 07/05/2013 12:42, Uwe Hagmaier wrote:


&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-07T11:45:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5444">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5444</link>
    <description>&lt;pre&gt;Xiaofan, Ekkehard,

I've just done the obvious test that I didn't originally think of doing: 
The PIC with the new (no isochronous) firmware *does* work on the old XP 
machine.  I don't seem to have screwed the firmware.

Martin

On 07/05/2013 10:27, Xiaofan Chen wrote:


&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-07T11:43:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5443">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5443</link>
    <description>&lt;pre&gt;Hi

Using a USB tracer like USBlyzer you (and we) could see if that is 
something which ahppens inside the Windows USB stack of habens more on 
the Hostcontroller/Device-Side...

regards
Uwe

Am 07.05.2013 13:24, schrieb Martin Reekie:

&lt;/pre&gt;</description>
    <dc:creator>Uwe Hagmaier</dc:creator>
    <dc:date>2013-05-07T11:42:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5442">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5442</link>
    <description>&lt;pre&gt;Xiaofan, Ekkehard,

No joy, I'm afraid - it's still failing with error -5 on running 
"usb_set_configuration".  The new output of testlibusb is below.

Come to think of it, I have given this PCB (with the original firmware, 
including isochronous) to students who have been running it with Vista 
and Win 7 without problems.  I think it's just *this* PC that seems to 
be having problems.

Any thoughts??

Martin

DLL version:1.2.6.0
Driver version:1.2.6.0

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x04d8-0xe05b     04D8/E05B
- Manufacturer : Microchip Technology, Inc.
- Product      : PIC18F4550 ASI Lab USB Firmware
bLength:             18
bDescriptorType:     01h
bcdUSB:              0200h
bDeviceClass:        00h
bDeviceSubClass:     00h
bDeviceProtocol:     00h
bMaxPacketSize0:     20h
idVendor:            04D8h
idProduct:           E05Bh
bcdDevice:           0000h
iManufacturer:       1
iProduct:            2
iSerialNumber:       0
bNumConfigurations:  1
   wTotalLength:         30
   bNumInt&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-07T11:24:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5441">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5441</link>
    <description>&lt;pre&gt;Xiaofan, Ekkehard,

Thanks for your replies.  The device is indeed based on a Microchip 
PIC18F4550, but I didn't think that was relevant.  Obviously mistaken 
there!  I always get confused between Full and High speed, so I 
chickened out with my description.  Full speed.

OK, dump the isochronous.  It was in the header files for something 
else, I don't need it now, and it should be easy to dump.  I'll get onto 
that now.

Thanks again,

Martin

On 07/05/2013 10:27, Xiaofan Chen wrote:


&lt;/pre&gt;</description>
    <dc:creator>Martin Reekie</dc:creator>
    <dc:date>2013-05-07T09:54:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5440">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5440</link>
    <description>&lt;pre&gt;Shit, at least a shot in the direction of the goal ;-)


Xiaofan Chen wrote







--
View this message in context: http://libusb.6.n5.nabble.com/usb-set-configuration-error-Win-7-tp5711913p5711932.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Ekkehard</dc:creator>
    <dc:date>2013-05-07T09:38:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5439">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5439</link>
    <description>&lt;pre&gt;Hi Martin,
in High-Speed mode Bulk transfer size could only be exact 512 Bytes, nothing 
else! Since the descriptor does not meet the requirement, Win 7 do not allow 
to select this configuration/interface
So you have to adjust your descriptors in the Firmware accordingly
      iInterface:         0
        bEndpointAddress: 01h
        bmAttributes:     02h
change this
        wMaxPacketSize:   64
into
        wMaxPacketSize:   512

the actual transferred size could be smaller (some hardware has only small 
buffers on certain EP), this case must be than handled by the 
receiver/transmitter software.
Greetings
Ekkehard

Am 07.05.2013 10:24, schrieb Martin Reekie:

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your&lt;/pre&gt;</description>
    <dc:creator>Ekkehard Domning</dc:creator>
    <dc:date>2013-05-07T09:12:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5438">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5438</link>
    <description>&lt;pre&gt;
If this device is based on PIC18F4550, then it is not a high speed USB
device, but rather full speed USB.

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x04d8-0xe05b     04D8/E05B
- Manufacturer : Microchip Technology, Inc.
- Product      : PIC18F4550 ASI Lab USB Firmware

The problem is with the following two isoc endpoint. They
should be removed out of the default interface setting.

As per USB 2.0 Spec Section 5.6.3, a full-speed
isochronous endpoint (with a non-zero wMaxpacket
size) must not be part of a default interface setting.
(same for a high-speed isochronous endpoint)

       bEndpointAddress: 02h
       bmAttributes:     05h
       wMaxPacketSize:   256
       bInterval:        1
       bRefresh:         0
       bSynchAddress:    0
       bEndpointAddress: 82h
       bmAttributes:     05h
       wMaxPacketSize:   128
       bInterval:        1
       bRefresh:         0
       bSynchAddress:    0

So these two endpoints need to be move to alt setting 1.

Indeed Windows Vista/7/8 are m&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2013-05-07T09:27:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5437">
    <title>Re: usb_set_configuration error, Win 7</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libusb.devel.windows/5437</link>
    <description>&lt;pre&gt;Hi Martin,
in High-Speed mode Bulk transfer size could only be exact 512 Bytes, nothing
else! Since the descriptor does not meet the requirement, Win 7 do not allow
to select this configuration/interface
So you have to adjust your descriptors in the Firmware accordingly 
     iInterface:         0
       bEndpointAddress: 01h
       bmAttributes:     02h
change this
       wMaxPacketSize:   64
into
       wMaxPacketSize:   512

the actual transferred size could be smaller (some hardware has only small
buffers on certain EP), this case must be than handled by the
receiver/transmitter software.
Greetings
Ekkehard






H Martin Reekie wrote









--
View this message in context: http://libusb.6.n5.nabble.com/usb-set-configuration-error-Win-7-tp5711913p5711928.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide &lt;/pre&gt;</description>
    <dc:creator>Ekkehard</dc:creator>
    <dc:date>2013-05-07T08:47:01</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lib.libusb.devel.windows">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lib.libusb.devel.windows</link>
  </textinput>
</rdf:RDF>
