search for: usbdevicematcher_t

Displaying 4 results from an estimated 4 matches for "usbdevicematcher_t".

2011 Aug 27
1
[PATCH 3/3] Fix pointer check on wrong variable
...jarosch at intra2net.com> --- drivers/usb-common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb-common.c b/drivers/usb-common.c index e51f3cf..e459872 100644 --- a/drivers/usb-common.c +++ b/drivers/usb-common.c @@ -116,7 +116,7 @@ int USBNewExactMatcher(USBDeviceMatcher_t **matcher, USBDevice_t *hd) USBDevice_t *data; m = malloc(sizeof(*m)); - if (!matcher) { + if (!m) { return -1; } -- 1.7.4.4
2010 Mar 25
1
new TSSHARA SOHO II ups
.../* name of this subdriver */ char *version; /* version of this subdriver */ int (*open)(usb_dev_handle **sdevp, /* try to open the next available */ USBDevice_t *curDevice, /* device matching USBDeviceMatcher_t */ USBDeviceMatcher_t *matcher, int (*callback)(usb_dev_handle *udev, USBDevice_t *hd, unsigned char *rdbuf, int rdlen)); void (*close)(usb_dev_handle *sdev); int (*get_report)(usb_dev_handle *sdev, int ReportId, unsigned char *raw_buf, int ReportSi...
2020 Apr 03
0
Patch to support Powercool PCRACK-1200VA
...desc = "POWERCOOL" Patch is below, I hope it is of assistance. Regards, Ian diff --git a/drivers/nutdrv_qx.c b/drivers/nutdrv_qx.c index bb526608..75bb97f8 100644 --- a/drivers/nutdrv_qx.c +++ b/drivers/nutdrv_qx.c @@ -422,6 +422,7 @@ static USBDevice_t            usbdevice;  static USBDeviceMatcher_t        *reopen_matcher = NULL;  static USBDeviceMatcher_t        *regex_matcher = NULL;  static int                langid_fix = -1; +static int                buflen_fix = -1;  static int    (*subdriver_command)(const char *cmd, char *buf, size_t buflen) = NULL; @@ -702,8 +703,15 @@ static in...
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...info("driver.flag.ignorelb")) { diff --git a/drivers/nutdrv_qx.c b/drivers/nutdrv_qx.c index bb526608..ad450e39 100644 --- a/drivers/nutdrv_qx.c +++ b/drivers/nutdrv_qx.c @@ -421,7 +421,6 @@ static usb_dev_handle            *udev = NULL;  static USBDevice_t            usbdevice;  static USBDeviceMatcher_t        *reopen_matcher = NULL;  static USBDeviceMatcher_t        *regex_matcher = NULL; -static int                langid_fix = -1;  static int    (*subdriver_command)(const char *cmd, char *buf, size_t buflen) = NULL; @@ -717,13 +716,7 @@ static int    krauler_command(const char *cmd, char *...