[Libusbx-devel] libusbx v1.0.9-rc4 is now available

Xiaofan Chen xiaofanc at gmail.com
Fri Mar 30 09:21:45 EDT 2012


On Fri, Mar 30, 2012 at 9:11 PM, Pete Batard <pete at akeo.ie> wrote:
> On 2012.03.30 11:17, Xiaofan Chen wrote:
>> Next test: Windows XP64 where winusb will not work so
>> xusb will not work.
>
> Can't say I'm too concerned about XP64, especially as the Windows
> backend page states:
>
> Supported systems are all Windows platforms, starting with Windows XP,
> and including 64 bit versions, with the following exceptions:
> * Windows 2003 (Microsoft does not support WinUSB on 32bit/64bit Windows
> 2003)
> * Windows XP 64 bit (Microsoft does not support WinUSB on 64bit Windows XP)

Yes I agree Windows XP64 and Windows 2003 are out of our
concerns since they are not supported by Microsoft.

On the other hand, it is interesting to see that WinUSB actually works
under XP64.

Even Microsoft webpage contains information for 64bit Windows
XP WinUSB support.
http://support.microsoft.com/kb/971286

For all supported x86-based versions of Windows XP
File name	File version	File size	Date	Time
Winusb.dll	6.1.7600.16385	16,896	13-Jul-2009	10:16
Winusb.sys	6.1.7600.16385	34,944	13-Jul-2009	08:51

For all supported x64-based versions of Windows XP
File name	File version	File size	Date	Time
Winusb.dll	6.1.7600.16385	20,480	13-Jul-2009	10:41
Winusb.sys	6.1.7600.16385	40,448	13-Jul-2009	09:06

http://msdn.microsoft.com/en-us/library/windows/hardware/ff540196(v=vs.85).aspx
This pages says Windows 2003 are not supported but all SKUs
of XP SP2/SP3 are supported. But not so sure if XP 64bit is
considered as an XP SKU or not. I remember some older page
mentioned only XP SP2/SP3 32bit SKUs are supported but I
did not see 32bit mentioned in the notes.

It seems to me maybe XP 64bit WinUSB is supported after all.
>> One issue:
>> io.c: In function 'get_next_timeout':
>> io.c:1969:3: warning: suggest parentheses around '&&' within '||' [-Wparentheses
>> ]
>> io.c: In function 'libusb_get_next_timeout':
>> io.c:2274:2: warning: suggest parentheses around '&&' within '||' [-Wparentheses
>> ]
>
> Not something we can fix in libusbx, as this is a problem with a
> MinGW-64 header macro (timercmp) over which we have no control, unless
> we used our own replacement macro. We (well you actually) already asked
> them to fix that one actually on 2011.09.21, so we just need to wait for
> MinGW-w64 distros to pick that up. I have the same issue with the one I use.

I forgot this one myself.

-- 
Xiaofan



More information about the libusbx mailing list