-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge refined libusb-1.0+0.1 branch into NUT master #1254
Commits on Oct 2, 2017
-
Starting with the configure checks, to detect if libusb 1.0 if available, and otherwise fall back to the libusb 0.1 backend
Configuration menu - View commit details
-
Copy full SHA for a90e228 - Browse repository at this point
Copy the full SHA a90e228View commit details -
ushid-ups: complete the port to libusb 1.0
The port to libusb 1.0 is now complete for usbhid-ups. Other USB drivers (bcmxcp_usb, blazer_usb, nutdrv_atcl_usb, richcomm_usb, riello_usb, tripplite_usb, nutdrv_qx) have still to be addressed
Configuration menu - View commit details
-
Copy full SHA for 9f4b9d9 - Browse repository at this point
Copy the full SHA 9f4b9d9View commit details -
bcmxcp_usb: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for f08dcc4 - Browse repository at this point
Copy the full SHA f08dcc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6f8abd - Browse repository at this point
Copy the full SHA b6f8abdView commit details -
blazer_usb: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for 27bc1f9 - Browse repository at this point
Copy the full SHA 27bc1f9View commit details -
nutdrv_atcl_usb: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for ddbfad5 - Browse repository at this point
Copy the full SHA ddbfad5View commit details -
Forgotten occurences of libusb.h renaming
NUT internal header "libusb.h" was renamed, since it collides with the libusb 1.0 header, which has the same name. A few occurences of reference and documentation were however missing
Configuration menu - View commit details
-
Copy full SHA for 2aaed2d - Browse repository at this point
Copy the full SHA 2aaed2dView commit details -
nutdrv_atcl_usb: add the missing detach call
libusb 1.0 provide its own routine for detaching kernel driver
Configuration menu - View commit details
-
Copy full SHA for 9efe182 - Browse repository at this point
Copy the full SHA 9efe182View commit details -
richcomm_usb: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for 476f6d4 - Browse repository at this point
Copy the full SHA 476f6d4View commit details -
riello_usb: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for e38683b - Browse repository at this point
Copy the full SHA e38683bView commit details -
tripplite_usb: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for f3ff5d4 - Browse repository at this point
Copy the full SHA f3ff5d4View commit details -
richcomm_usb: missing function remap for libusb 0.1
usb_strerror was not remapped for libusb 0.1 implementation
Configuration menu - View commit details
-
Copy full SHA for e329693 - Browse repository at this point
Copy the full SHA e329693View commit details -
nutdrv_qx: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for a7a6d39 - Browse repository at this point
Copy the full SHA a7a6d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8f9f7d - Browse repository at this point
Copy the full SHA f8f9f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a69a45 - Browse repository at this point
Copy the full SHA 9a69a45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bb6805 - Browse repository at this point
Copy the full SHA 3bb6805View commit details -
nut-scanner: initial port to libusb 1.0
The port to libusb 1.0 is complete, at least from a build perspective. This now needs to be tested with devices
Configuration menu - View commit details
-
Copy full SHA for dc8c819 - Browse repository at this point
Copy the full SHA dc8c819View commit details -
Configuration menu - View commit details
-
Copy full SHA for e90eefa - Browse repository at this point
Copy the full SHA e90eefaView commit details -
nut-scanner: missing symbols lookup for libusb 1.0
A few symbols from libusb 1.0 were wrongly used directly, instead of being looked up and loaded at init time
Configuration menu - View commit details
-
Copy full SHA for c74fd0e - Browse repository at this point
Copy the full SHA c74fd0eView commit details -
usbhid-ups/mge-shut: rework errno/errors handling
libusb 1.0 has its own set of return codes, and error interface. Rework the common HID core (shared between usbhid-ups and mge-shut) so that error handling can work with both, and using either libusb 0.1 or 1.0 for usbhid-ups
Configuration menu - View commit details
-
Copy full SHA for e15fc06 - Browse repository at this point
Copy the full SHA e15fc06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99acb36 - Browse repository at this point
Copy the full SHA 99acb36View commit details -
libusb 1.0 port: simplify bus publication
bus publication was wrongly listing both the bus and the portname, instead of the bus only. This may have caused some issue when trying to match the port
Configuration menu - View commit details
-
Copy full SHA for 204d5f5 - Browse repository at this point
Copy the full SHA 204d5f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for aca34e0 - Browse repository at this point
Copy the full SHA aca34e0View commit details -
libusb 1.0: remove unused typesafe_control_msg() workaround
For libusb 0.1 implementation, we had to workaround a libusb API goofs, by wrapping the base function usb_control_msg(), and casting the variables to the right type. This is not needed for libusb 1.0 implementation, but was wrongly left in the code (reported by Charles Lepple)
Configuration menu - View commit details
-
Copy full SHA for e1d8086 - Browse repository at this point
Copy the full SHA e1d8086View commit details -
libusb 1.0 port: rework the kernel driver detachment
libusb 1.0 has introduced a new function (libusb_set_auto_detach_kernel_driver), beside from the explicit kernel driver detachment request (libusb_detach_kernel_driver). However, the former is not available on all systems. As an example, FreeBSD 10.1-10.3 does not have this. The detachment and interface claiming has been reworked to handle this case (reported by Charles Lepple) Reference: #300
Configuration menu - View commit details
-
Copy full SHA for 2f87f77 - Browse repository at this point
Copy the full SHA 2f87f77View commit details -
libusb 1.0 port: fix kernel driver detachment
Following the recent modification for the kernel driver detachment, and the related functions availability depending on the platforms, nutdrv_atcl_usb and richcomm_usb were using the wrong macro for libusb_set_auto_detach_kernel_driver and were missing the libusb 1.0 code for explicit kernel driver detachment Reference: #300
Configuration menu - View commit details
-
Copy full SHA for d073694 - Browse repository at this point
Copy the full SHA d073694View commit details -
libusb 1.0 port: complete usb_set_altinterface code
usb_set_altinterface allows to force the USB code to call `libusb_set_interface_alt_setting (0, 0)` (equivalent to `libusb_set_altinterface(0)` in libusb 0.1), as was done in NUT 2.7.2 and earlier. However, the libusb 1.0 implementation was still missing the related code Reference: #300
Configuration menu - View commit details
-
Copy full SHA for c89f4d7 - Browse repository at this point
Copy the full SHA c89f4d7View commit details -
libusb 1.0 port: remove the check on USB device count
With the port to libusb 1.0, a sanity check was done on the available number of USB devices to try. This however caused a behavior regression, since the only device that NUT may have access to can be the only UPS connected. In this case, the driver may exit upon trying to reconnect if the device is transiently not available Reference: #300
Configuration menu - View commit details
-
Copy full SHA for 2b8c22a - Browse repository at this point
Copy the full SHA 2b8c22aView commit details -
libusb 1.0 port: fix return code for interrupt ops
libusb 1.0 returns on success, the number of bytes actually transferred or otherwise an error code, except for interrupt transfers, where the actual transfer size is stored in a separate variable. The libusb 1.0 implementation in NUT thus needed to be fixed to behave the same way than the libusb 0.1 implementation Reference: #300
Configuration menu - View commit details
-
Copy full SHA for ac757cc - Browse repository at this point
Copy the full SHA ac757ccView commit details -
libusb1: use return code from libusb_open()
Per <http://libusb.sf.net/api-1.0/group__dev.html#ga8163100afdf933fabed0db7fa81c89d1>, the handle is only populated when the return code is 0. This fixes a crash during device detection where more than one HID UPS is available, and the driver needs to skip the first one.
Configuration menu - View commit details
-
Copy full SHA for eeb11e6 - Browse repository at this point
Copy the full SHA eeb11e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7ed6f0 - Browse repository at this point
Copy the full SHA f7ed6f0View commit details -
Signed-off-by: Arnaud Quette <ArnaudQuette@Eaton.com>
Configuration menu - View commit details
-
Copy full SHA for d258821 - Browse repository at this point
Copy the full SHA d258821View commit details -
libusb 1.0 port: don't check if libusb is usable, if it's not available
Since LIBUSB_VERSION is always non-empty ('none', if libusb is not found), testing for non-emptiness will always fail and libusb 0.1/libusb-compat checks will always be performed. So, test instead that it is not 'none'.
Configuration menu - View commit details
-
Copy full SHA for 885f28a - Browse repository at this point
Copy the full SHA 885f28aView commit details -
libusb 1.0 port: use only one AC_DEFINE'd variable for libusb 0.1/-co…
…mpat Libusb 0.1/libusb-compat can be found with both pkg-config and with its own libusb-config, but, regardless of how we found it, we need to use the same AC_DEFINE'd variable to signal its presence.
Configuration menu - View commit details
-
Copy full SHA for 44cc0d3 - Browse repository at this point
Copy the full SHA 44cc0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e6ef7 - Browse repository at this point
Copy the full SHA 30e6ef7View commit details -
libusb 1.0 port: support libusb 0.1/-compat even when 1.0 is available
Since libusb 1.0 can happily coexist with libusb 0.1/libusb-compat, rework our NUT_CHECK_LIBUSB macro so that, if both are available, libusb 1.0 precedence can be overridden passing to `configure` appropriate values for `--with-usb-includes` and `--with-usb-libs` (i.e. libusb 0.1/libusb-compat-only settings).
Configuration menu - View commit details
-
Copy full SHA for d098461 - Browse repository at this point
Copy the full SHA d098461View commit details
Commits on Oct 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 596f17b - Browse repository at this point
Copy the full SHA 596f17bView commit details -
Update configure documentation for libusb
Document the possibility to override the auto-detection choice Signed-off-by: Arnaud Quette <ArnaudQuette@Eaton.com>
Configuration menu - View commit details
-
Copy full SHA for dfd514e - Browse repository at this point
Copy the full SHA dfd514eView commit details
Commits on Nov 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 629fe9f - Browse repository at this point
Copy the full SHA 629fe9fView commit details -
libusb1: LBYL approach to libusb_set_auto_detach_kernel_driver()
Switch to look-before-you-leap (LBYL) approach to calling libusb_set_auto_detach_kernel_driver(), since FreeBSD (11.0 and 11.1; probably others) requires root privileges to attempt the kernel driver detach (even if no detach operation is needed).
Configuration menu - View commit details
-
Copy full SHA for ca3298f - Browse repository at this point
Copy the full SHA ca3298fView commit details -
libusb1: const-ify the USB interface number
Remove a few "magic numbers" from USB/HID-related calls.
Configuration menu - View commit details
-
Copy full SHA for 80bc452 - Browse repository at this point
Copy the full SHA 80bc452View commit details -
Configuration menu - View commit details
-
Copy full SHA for 170c0ee - Browse repository at this point
Copy the full SHA 170c0eeView commit details
Commits on Dec 3, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0974329 - Browse repository at this point
Copy the full SHA 0974329View commit details
Commits on Jan 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for edda710 - Browse repository at this point
Copy the full SHA edda710View commit details
Commits on Jan 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3f05ee2 - Browse repository at this point
Copy the full SHA 3f05ee2View commit details
Commits on Jan 11, 2018
-
autoconf: support libusb 0.1 implementations identified as 'libusb-0.1'
Make NUT_CHECK_LIBUSB macro aware of those libusb 0.1 implementations named in their pkg-config files as 'libusb-0.1', instead of just 'libusb' (e.g. on FreeBSD).
Configuration menu - View commit details
-
Copy full SHA for 0964424 - Browse repository at this point
Copy the full SHA 0964424View commit details
Commits on Mar 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for bc2480c - Browse repository at this point
Copy the full SHA bc2480cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 310ff26 - Browse repository at this point
Copy the full SHA 310ff26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f84b7f - Browse repository at this point
Copy the full SHA 4f84b7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 470a386 - Browse repository at this point
Copy the full SHA 470a386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0244a - Browse repository at this point
Copy the full SHA 9a0244aView commit details
Commits on Mar 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fb4ef59 - Browse repository at this point
Copy the full SHA fb4ef59View commit details
Commits on Mar 14, 2018
-
libusb: clean up after ourselves
libusb 1.0: - a device list allocated with libusb_get_device_list() must be deallocated with a call to libusb_free_device_list(), - ditto for the config descriptor. libusb 0.1 and 1.0: - release (commented-out) interfaces when done with them, - remove unnecessary goto's after calls to fatal*() functions, - nutscanner: also close the USB device handle (and libusb_exit() for libusb 1.0) on errors.
Configuration menu - View commit details
-
Copy full SHA for 2e6be70 - Browse repository at this point
Copy the full SHA 2e6be70View commit details -
richcomm_usb: use the local USB device handle in usb_device_open()
Although at that point of usb_device_open(), both the local (handle) and the global (udev) device handles point to the same thing, prefer the local one to make things clearer.
Configuration menu - View commit details
-
Copy full SHA for d04a9ad - Browse repository at this point
Copy the full SHA d04a9adView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc30233 - Browse repository at this point
Copy the full SHA dc30233View commit details -
libusb: improve handling of errors when allocating new memory
- libusb 0.1 (when not shared with libusb 1.0): prefer our xstrdup() function -- on errors, it'll automatically call fatal*(), - libusb 1.0 (and nutscanner): don't use our x{malloc,strdup,...}() functions, so that we can free the list of devices (and close the device and call libusb_exit() in nutscanner) before exiting.
Configuration menu - View commit details
-
Copy full SHA for b28e1e0 - Browse repository at this point
Copy the full SHA b28e1e0View commit details -
libusb: in nutscanner, free busname also on nutscan_new_device() erro…
…rs or when done with it
Configuration menu - View commit details
-
Copy full SHA for f60df9b - Browse repository at this point
Copy the full SHA f60df9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c97d4c9 - Browse repository at this point
Copy the full SHA c97d4c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76388c7 - Browse repository at this point
Copy the full SHA 76388c7View commit details
Commits on Mar 15, 2018
-
libusb1: don't use the same var to iterate both devices and interface…
… descriptor From our old libusb.c, libusb1.c inherited a for loop that iterates over the interface descriptor in order to try and find the HID descriptor among its 'extra' bytes. Unluckily, it uses the same var (i) that's now used, at the same time, for the iteration through the device list, in which it happens to be nested. Since this obviously spells disaster, make these vars unique (and add a bit of debugging info).
Configuration menu - View commit details
-
Copy full SHA for e615d08 - Browse repository at this point
Copy the full SHA e615d08View commit details
Commits on May 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0cb42f0 - Browse repository at this point
Copy the full SHA 0cb42f0View commit details
Commits on May 28, 2018
-
In HIDGetEvents.c call to get_interrupt, increase timeout from 250 to…
Configuration menu - View commit details
-
Copy full SHA for bac7d0f - Browse repository at this point
Copy the full SHA bac7d0fView commit details
Commits on Sep 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 73c4813 - Browse repository at this point
Copy the full SHA 73c4813View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0843ac3 - Browse repository at this point
Copy the full SHA 0843ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53cd490 - Browse repository at this point
Copy the full SHA 53cd490View commit details -
Configuration menu - View commit details
-
Copy full SHA for 066a332 - Browse repository at this point
Copy the full SHA 066a332View commit details
Commits on Sep 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 60318a9 - Browse repository at this point
Copy the full SHA 60318a9View commit details -
usbhid-ups.c : report the libusb version involved in the driver at th…
…is time - also the values registered with comm_driver structure
Configuration menu - View commit details
-
Copy full SHA for 45e304c - Browse repository at this point
Copy the full SHA 45e304cView commit details -
usbhid-ups.c : report the libusb version involved in the driver at th…
…is time - reformatted
Configuration menu - View commit details
-
Copy full SHA for 93ac2c2 - Browse repository at this point
Copy the full SHA 93ac2c2View commit details
Commits on Oct 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a180c42 - Browse repository at this point
Copy the full SHA a180c42View commit details -
Merge pull request #613 from jimklimov/libusb-1.0+0.1=debug
Libusb 1.0+0.1 debug
Configuration menu - View commit details
-
Copy full SHA for ca72993 - Browse repository at this point
Copy the full SHA ca72993View commit details
Commits on Nov 15, 2021
-
Merge remote-tracking branch 'opensource/master' as of 2021-11-15 int…
…o libusb-1.0+0.1
Configuration menu - View commit details
-
Copy full SHA for d0c6300 - Browse repository at this point
Copy the full SHA d0c6300View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96c3a88 - Browse repository at this point
Copy the full SHA 96c3a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 765ce01 - Browse repository at this point
Copy the full SHA 765ce01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94518a7 - Browse repository at this point
Copy the full SHA 94518a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0021958 - Browse repository at this point
Copy the full SHA 0021958View commit details -
drivers/nutdrv_qx.c: add a bit more of "Compatibility layer between l…
…ibusb 0.1 and 1.0"
Configuration menu - View commit details
-
Copy full SHA for d77f102 - Browse repository at this point
Copy the full SHA d77f102View commit details -
drivers/riello_usb.c: properly export variables shared between driver…
… subtypes (reapply to libusb-1.0 branch)
Configuration menu - View commit details
-
Copy full SHA for 56c145a - Browse repository at this point
Copy the full SHA 56c145aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36c4d52 - Browse repository at this point
Copy the full SHA 36c4d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3345221 - Browse repository at this point
Copy the full SHA 3345221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9a28e - Browse repository at this point
Copy the full SHA 6b9a28eView commit details -
m4/nut_check_libusb.m4: the "additional USB-related checks" should no…
…w manipulate "LIBS" not "LIBUSB_LIBS"
Configuration menu - View commit details
-
Copy full SHA for a3b1c44 - Browse repository at this point
Copy the full SHA a3b1c44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 241b292 - Browse repository at this point
Copy the full SHA 241b292View commit details -
ci_build.sh: BUILD_TYPE="default-all-errors": support looping over NU…
…T_USB_VARIANTS as well
Configuration menu - View commit details
-
Copy full SHA for b053fdb - Browse repository at this point
Copy the full SHA b053fdbView commit details -
ci_build.sh: BUILD_TYPE="default-all-errors": between configure and b…
…uild, report the Configured NUT_SSL_VARIANT
Configuration menu - View commit details
-
Copy full SHA for ded173c - Browse repository at this point
Copy the full SHA ded173cView commit details -
ci_build.sh: BUILD_TYPE="default-all-errors": between configure and b…
…uild, report the Configured NUT_USB_VARIANT
Configuration menu - View commit details
-
Copy full SHA for 603aa34 - Browse repository at this point
Copy the full SHA 603aa34View commit details -
ci_build.sh: BUILD_TYPE="default-all-errors": ensure BUILDSTODO count…
…s are decremented when configuration failed
Configuration menu - View commit details
-
Copy full SHA for afb8550 - Browse repository at this point
Copy the full SHA afb8550View commit details -
ci_build.sh: BUILD_TYPE="default-all-errors": ensure BUILDSTODO count…
…s for SSL+USB are planned same as executed
Configuration menu - View commit details
-
Copy full SHA for 13882e0 - Browse repository at this point
Copy the full SHA 13882e0View commit details -
ci_build.sh: BUILD_TYPE="default-all-errors": ensure BUILDSTODO count…
…s for SSL+USB are planned same as executed - and handle explicit NUT_USB_VARIANTS=no
Configuration menu - View commit details
-
Copy full SHA for 42922b2 - Browse repository at this point
Copy the full SHA 42922b2View commit details -
drivers/nutdrv_qx.c: only define "Compatibility layer between libusb …
…0.1 and 1.0" if we build with QX_USB at all (no required headers are in context otherwise)
Configuration menu - View commit details
-
Copy full SHA for b40f205 - Browse repository at this point
Copy the full SHA b40f205View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37928ee - Browse repository at this point
Copy the full SHA 37928eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11e4fa2 - Browse repository at this point
Copy the full SHA 11e4fa2View commit details -
drivers/bcmxcp_ser.{c,h} + tools/nut-scanner/scan_eaton_serial.c: use…
… longer global var name (AUT => BCMXCP_AUTHCMD)
Configuration menu - View commit details
-
Copy full SHA for 2b7db25 - Browse repository at this point
Copy the full SHA 2b7db25View commit details -
drivers/phoenixcontact_modbus.c: use a longer global var name for mod…
…bus_ctx (nee ctx)
Configuration menu - View commit details
-
Copy full SHA for d4cde03 - Browse repository at this point
Copy the full SHA d4cde03View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed19fb7 - Browse repository at this point
Copy the full SHA ed19fb7View commit details -
ci_build.sh: default-all-errors: report BUILDSTODO_INITIAL at the end…
… of log, and if non-zero BUILDSTODO remained unaccounted
Configuration menu - View commit details
-
Copy full SHA for 26c679a - Browse repository at this point
Copy the full SHA 26c679aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa1dfbf - Browse repository at this point
Copy the full SHA fa1dfbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75e1f7e - Browse repository at this point
Copy the full SHA 75e1f7eView commit details -
ci_build.sh: NUT_USB_VARIANT=<value> => --with-usb=libusb<value> [lib…
…usb-1.0+0.1 branch]
Configuration menu - View commit details
-
Copy full SHA for b6f1d78 - Browse repository at this point
Copy the full SHA b6f1d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac8d47c - Browse repository at this point
Copy the full SHA ac8d47cView commit details
Commits on Nov 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2b1205c - Browse repository at this point
Copy the full SHA 2b1205cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89cf17a - Browse repository at this point
Copy the full SHA 89cf17aView commit details
Commits on Dec 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 49c46c2 - Browse repository at this point
Copy the full SHA 49c46c2View commit details -
Merge remote-tracking branch 'opensource/master' as of 2021-12-07 int…
…o libusb-1.0+0.1
Configuration menu - View commit details
-
Copy full SHA for cda8464 - Browse repository at this point
Copy the full SHA cda8464View commit details -
drivers/libusb1.c: nut_libusb_open(): range-check and cast libusb_con…
…trol_transfer() arg rdlen
Configuration menu - View commit details
-
Copy full SHA for 0538311 - Browse repository at this point
Copy the full SHA 0538311View commit details
Commits on Dec 21, 2021
-
Merge remote-tracking branch 'opensource/master' as of 2021-12-21 int…
…o libusb-1.0+0.1
Configuration menu - View commit details
-
Copy full SHA for 8dff0ba - Browse repository at this point
Copy the full SHA 8dff0baView commit details -
ci_build.sh: allow to build custom NUT_USB_VARIANTS and skip building…
… a separate NUT_SSL_VARIANTS=auto
Configuration menu - View commit details
-
Copy full SHA for eb5eb35 - Browse repository at this point
Copy the full SHA eb5eb35View commit details -
Configuration menu - View commit details
-
Copy full SHA for e398c01 - Browse repository at this point
Copy the full SHA e398c01View commit details
Commits on Dec 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b2e5cf7 - Browse repository at this point
Copy the full SHA b2e5cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e91a7a7 - Browse repository at this point
Copy the full SHA e91a7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 938ab17 - Browse repository at this point
Copy the full SHA 938ab17View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa26f2d - Browse repository at this point
Copy the full SHA fa26f2dView commit details
Commits on Dec 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2173f04 - Browse repository at this point
Copy the full SHA 2173f04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b340dd - Browse repository at this point
Copy the full SHA 9b340ddView commit details -
ci_build.sh: separate the "RES" vars used for configure_nut() and def…
…ault-all-errors processing (extend to libusb-1.0* branches)
Configuration menu - View commit details
-
Copy full SHA for 90f9a25 - Browse repository at this point
Copy the full SHA 90f9a25View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3cf4ed - Browse repository at this point
Copy the full SHA f3cf4edView commit details
Commits on Dec 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8bd0050 - Browse repository at this point
Copy the full SHA 8bd0050View commit details -
configure.ac: regroup some NUT_ARG_WITH() closer to their NUT_CHECK_*…
…() so help for detailed options is near
Configuration menu - View commit details
-
Copy full SHA for 6a0210e - Browse repository at this point
Copy the full SHA 6a0210eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e2952 - Browse repository at this point
Copy the full SHA 68e2952View commit details -
m4/nut_check_libusb.m4 + configure.ac: port newer solution for libusb…
… version selection from libusb-1.0 branch
Configuration menu - View commit details
-
Copy full SHA for 36ddfc9 - Browse repository at this point
Copy the full SHA 36ddfc9View commit details -
configure.ac et al: drop the extra --with-libusb-version and handle i…
…ts goals via --with-usb=VERSION
Configuration menu - View commit details
-
Copy full SHA for caed361 - Browse repository at this point
Copy the full SHA caed361View commit details -
m4/nut_check_libusb.m4: always AC_DEFINE the WITH_LIBUSB_1_0 and WITH…
…_LIBUSB_0_1 macros with a 0 or 1 value
Configuration menu - View commit details
-
Copy full SHA for 28500b7 - Browse repository at this point
Copy the full SHA 28500b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aca0b7d - Browse repository at this point
Copy the full SHA aca0b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72c5586 - Browse repository at this point
Copy the full SHA 72c5586View commit details -
Configuration menu - View commit details
-
Copy full SHA for d69ce0c - Browse repository at this point
Copy the full SHA d69ce0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b16045 - Browse repository at this point
Copy the full SHA 1b16045View commit details -
Convert C code from "#ifdef WITH_LIBUSB_x_y" to "#if" tests for defin…
…ed value - merging missed a few in libusb-1.0+0.1 branch
Configuration menu - View commit details
-
Copy full SHA for e1f305b - Browse repository at this point
Copy the full SHA e1f305bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3daf23 - Browse repository at this point
Copy the full SHA e3daf23View commit details -
drivers/nut_libusb.h: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for cff486f - Browse repository at this point
Copy the full SHA cff486fView commit details -
drivers/bcmxcp_usb.c: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for 73bed50 - Browse repository at this point
Copy the full SHA 73bed50View commit details -
drivers/usb-common.h: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for 64c026f - Browse repository at this point
Copy the full SHA 64c026fView commit details -
tools/nut-usbinfo.pl: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for 01b827c - Browse repository at this point
Copy the full SHA 01b827cView commit details -
drivers/bcmxcp_usb.c: range-check and cast args for usb_control_msg()…
… => libusb_control_transfer() and usb_interrupt_read() => libusb_interrupt_transfer() for libusb-1.0 support
Configuration menu - View commit details
-
Copy full SHA for 5d04357 - Browse repository at this point
Copy the full SHA 5d04357View commit details -
drivers/nut_libusb.h already includes "usb-common.h" so no need to pu…
…ll LibUSB headers again
Configuration menu - View commit details
-
Copy full SHA for 8376307 - Browse repository at this point
Copy the full SHA 8376307View commit details -
drivers/usb-common.h: consolidate libusb-0.1 vs 1.0 data/func mapping…
…s from *usb.c files
Configuration menu - View commit details
-
Copy full SHA for 75f5c99 - Browse repository at this point
Copy the full SHA 75f5c99View commit details -
drivers/usb-common.h: mark "static inline" functions with HAVE_PRAGMA…
…_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC since not all C files call them
Configuration menu - View commit details
-
Copy full SHA for df22f5d - Browse repository at this point
Copy the full SHA df22f5dView commit details -
drivers/usb-common.h: convert usb_get_string{_simple}() from macro al…
…iases to real mappings with range-checks for libusb-1.0 API
Configuration menu - View commit details
-
Copy full SHA for 2b70b19 - Browse repository at this point
Copy the full SHA 2b70b19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eaf526 - Browse repository at this point
Copy the full SHA 2eaf526View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da949e - Browse repository at this point
Copy the full SHA 8da949eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71b58da - Browse repository at this point
Copy the full SHA 71b58daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62d27f2 - Browse repository at this point
Copy the full SHA 62d27f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 691d397 - Browse repository at this point
Copy the full SHA 691d397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0913c8d - Browse repository at this point
Copy the full SHA 0913c8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b9625 - Browse repository at this point
Copy the full SHA 64b9625View commit details -
drivers/usbhid-ups.c: current use of SHUT_MODE relies on defined/not-…
…defined, not on value for plain #if macro
Configuration menu - View commit details
-
Copy full SHA for 58076f0 - Browse repository at this point
Copy the full SHA 58076f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a1b1a - Browse repository at this point
Copy the full SHA b4a1b1aView commit details -
USB: Rename typedef usb_ctrl_char to usb_ctrl_charbuf to avoid confsi…
…on (it is a char* sibling, not plain char)
Configuration menu - View commit details
-
Copy full SHA for c2029ec - Browse repository at this point
Copy the full SHA c2029ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for c498c8a - Browse repository at this point
Copy the full SHA c498c8aView commit details -
drivers/usb-common.h + nut_libusb.h: typedef more usb_ctrl_* tokens t…
…o match libusb-0.1 vs 1.0 API
Configuration menu - View commit details
-
Copy full SHA for aef977a - Browse repository at this point
Copy the full SHA aef977aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6bdb6 - Browse repository at this point
Copy the full SHA 4e6bdb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 240ed66 - Browse repository at this point
Copy the full SHA 240ed66View commit details -
drivers/libshut.c: shut_control_msg(): range-check data_size before s…
…tuffing the number into a char
Configuration menu - View commit details
-
Copy full SHA for 7575f9b - Browse repository at this point
Copy the full SHA 7575f9bView commit details -
drivers/libshut.c: shut_control_msg(): data_size is a "short int" (no…
…t size_t) in this branch
Configuration menu - View commit details
-
Copy full SHA for 5b17ec5 - Browse repository at this point
Copy the full SHA 5b17ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdafe61 - Browse repository at this point
Copy the full SHA fdafe61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c17853 - Browse repository at this point
Copy the full SHA 8c17853View commit details -
drivers/usb-common.h: note the arg type for libusb_strerror() in comm…
…ents to our macro wrapper nut_usb_strerror()
Configuration menu - View commit details
-
Copy full SHA for 577a08b - Browse repository at this point
Copy the full SHA 577a08bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbde45 - Browse repository at this point
Copy the full SHA ecbde45View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba3b133 - Browse repository at this point
Copy the full SHA ba3b133View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f4e51 - Browse repository at this point
Copy the full SHA 47f4e51View commit details -
drivers/usb-common.h: clarify that libusb timeouts are in millisecond…
…s (with variouts int types per API version)
Configuration menu - View commit details
-
Copy full SHA for 17d72c0 - Browse repository at this point
Copy the full SHA 17d72c0View commit details -
drivers/usb-common.h: define PRI_NUT_USB_CTRL_CHARBUFSIZE, usb_ctrl_m…
…sgvalue and usb_ctrl_strindex
Configuration menu - View commit details
-
Copy full SHA for 5c816d9 - Browse repository at this point
Copy the full SHA 5c816d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 620c1fc - Browse repository at this point
Copy the full SHA 620c1fcView commit details -
drivers/usb-common.h: whitespace-separate definitions of ERROR_ACCESS…
… etc., nut_usb_strerror() and similar macros
Configuration menu - View commit details
-
Copy full SHA for 1bcd3b2 - Browse repository at this point
Copy the full SHA 1bcd3b2View commit details -
m4/nut_check_libusb.m4: make sure (missing) methods from another API …
…are defined in config.h (so "#if HAVE_..." is valid and not guessed as 0)
Configuration menu - View commit details
-
Copy full SHA for 516095c - Browse repository at this point
Copy the full SHA 516095cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8854934 - Browse repository at this point
Copy the full SHA 8854934View commit details -
drivers/nutdrv_atcl_usb.c: drop local libusb-0.1 vs 1.0 definitions n…
…ow provided by usb-common.h
Configuration menu - View commit details
-
Copy full SHA for f968ed3 - Browse repository at this point
Copy the full SHA f968ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec7bd6 - Browse repository at this point
Copy the full SHA 8ec7bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a904ede - Browse repository at this point
Copy the full SHA a904edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45c470b - Browse repository at this point
Copy the full SHA 45c470bView commit details -
drivers/riello_usb.c, richcomm_usb.c, nutdrv_atcl_usb.c: fix remainin…
…g uses of (lib)usb_strerror with nut_usb_strerror()
Configuration menu - View commit details
-
Copy full SHA for 9cbd3e0 - Browse repository at this point
Copy the full SHA 9cbd3e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80d30c4 - Browse repository at this point
Copy the full SHA 80d30c4View commit details -
configure.ac: update "clang-medium" warnings pre-set with -Wno-incomp…
…atible-pointer-types-discards-qualifiers
Configuration menu - View commit details
-
Copy full SHA for e71bc60 - Browse repository at this point
Copy the full SHA e71bc60View commit details
Commits on Dec 25, 2021
-
drivers/usb-common.h: map libusb_detach_kernel_driver_np (1.0) as usb…
…_detach_kernel_driver_np (0.1)
Configuration menu - View commit details
-
Copy full SHA for 377c438 - Browse repository at this point
Copy the full SHA 377c438View commit details -
m4/nut_check_libusb.m4, drivers/libusb1.c + nutdrv_atcl_usb.c + richc…
…omm_usb.c: honor that libusb-1.0 may HAVE_LIBUSB_DETACH_KERNEL_DRIVER_NP
Configuration menu - View commit details
-
Copy full SHA for 777406a - Browse repository at this point
Copy the full SHA 777406aView commit details -
m4/nut_check_libusb.m4, drivers/usb-common.h + nutdrv_atcl_usb.c + ri…
…chcomm_usb.c: only apply usb_detach_kernel_driver_np to libusb-0.1 builds (no alias tricks)
Configuration menu - View commit details
-
Copy full SHA for abb01ed - Browse repository at this point
Copy the full SHA abb01edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c30c70 - Browse repository at this point
Copy the full SHA 2c30c70View commit details -
drivers (c,h) USB, HID and SHUT: converge parameter usage from strict…
… int types to backend API dependent "usb_ctrl_*" and "usb_dev_handle" typedefs, then range-check and cast the numbers, and avoid build warnings
Configuration menu - View commit details
-
Copy full SHA for 3f8d588 - Browse repository at this point
Copy the full SHA 3f8d588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06ba4f0 - Browse repository at this point
Copy the full SHA 06ba4f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc10d22 - Browse repository at this point
Copy the full SHA bc10d22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ca6949 - Browse repository at this point
Copy the full SHA 9ca6949View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0521e6 - Browse repository at this point
Copy the full SHA c0521e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c41d15 - Browse repository at this point
Copy the full SHA 0c41d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e41daa5 - Browse repository at this point
Copy the full SHA e41daa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35bb739 - Browse repository at this point
Copy the full SHA 35bb739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f3c251 - Browse repository at this point
Copy the full SHA 3f3c251View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4de9a75 - Browse repository at this point
Copy the full SHA 4de9a75View commit details -
drivers/riello_ser.c: do not include hidparser.h (hiccups in usb-comm…
…on.h due to lack of WITH_LIBUSB_x_y)
Configuration menu - View commit details
-
Copy full SHA for ea87c8c - Browse repository at this point
Copy the full SHA ea87c8cView commit details
Commits on Jan 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e3cc3e6 - Browse repository at this point
Copy the full SHA e3cc3e6View commit details
Commits on Jan 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 22aca84 - Browse repository at this point
Copy the full SHA 22aca84View commit details