summaryrefslogtreecommitdiff
path: root/gtk/win-usb-dev.c
AgeCommit message (Collapse)AuthorFilesLines
2014-03-18mingw64: Fix gssize printf-format warningsChristophe Fergeau1-2/+3
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.
2013-08-20win-usb-dev: ignore devices with addr 1 for LIBUSBX_API_VERSIONUri Lublin1-0/+3
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).
2013-04-04win-usb-dev: compare vid:pid instead of bus.addr (Windows)Uri Lublin1-6/+6
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.
2013-04-04win-usb-dev: make VID and PID available via get_property (Windows)Uri Lublin1-0/+8
2012-07-10Win32/mingw: win-usb-dev: skip hubsUri Lublin1-2/+24
also skip devices with bad (0) device-address.
2012-07-10Windows mingw: usb: implement GUdevDevice & GUdevClient for windowsArnon Gilboa1-0/+510
- Added win-usb-dev.[ch] - Added GUdevDevice and GUdevClient like classes - Added uevent signal based on WM_DEVICECHANGE