Age | Commit message (Collapse) | Author | Files | Lines |
|
When building with mingw64, several warnings about using the wrong format
specifier for gssize/gsize occur similar to:
win-usb-dev.c: In function 'g_udev_client_list_devices':
win-usb-dev.c:145:21: error: format '%i' expects argument of type 'int', but argument 7 has type 'gssize' [-Werror=format=]
name, errstr, rc);
This commit makes use of the G_GSIZE_FORMAT/G_GSSIZE_FORMAT macros provided
by glib to silence these warnings.
I've checked that this does not introduce new warnings on linux and mingw32
builds.
|
|
Starting libusbx version 1.0.13 (commit 8cd30bb7066f785ee78cf6c3dccafdbc4b957b50)
windows device enumeration changed and root hubs address number is 1 intead
of 0xff.
This patch uses LIBUSBX_API_VERSION which was introduced after 1.0.13 release
(commit 9d368fc4774344d81ab02840f3a8478301bfb6fa).
|
|
It seems that sometimes, on Win7 clients, bus.addr is changing
when WinUSB driver is being installed (e.g. 4.1 -> 4.2).
So compare vid:pid instead.
|
|
|
|
also skip devices with bad (0) device-address.
|
|
- Added win-usb-dev.[ch]
- Added GUdevDevice and GUdevClient like classes
- Added uevent signal based on WM_DEVICECHANGE
|