search for: libusb_close

Displaying 7 results from an estimated 7 matches for "libusb_close".

2008 Jul 29
1
compiling nut-2.2.2 on Solaris
Fails because libusb_close does not have a prototype early enough in libusb.c. Adding it before the call fixes it. I haven't started running it yet, but at least it now compiles. -- John-Mark Gurney <jmg at cryptography.com> Cryptography Research, Inc. +1 415 397 0123 ext. 332
2011 Nov 11
4
libusb not recognized?
...0.so.0, needed by /mnt/ARM_FS/lib/libusb.so, not found (try using -rpath or -rpath-link) /mnt/ARM_FS/lib/libusb.so: undefined reference to `libusb_clear_halt' /mnt/ARM_FS/lib/libusb.so: undefined reference to `libusb_get_device_address' /mnt/ARM_FS/lib/libusb.so: undefined reference to `libusb_close' /mnt/ARM_FS/lib/libusb.so: undefined reference to `libusb_unref_device' [...] The libusb-1.0.so.0 file should be in the same directory as libusb.so, meaning that -rpath* options shouldn't be necessary. But if there is something special about the way libusb was installed (packaging...
2005 Jun 23
1
USB UPS Question...
...ndefined reference to `usb_control_msg' libusb.o(.text+0x531): In function `libusb_set_report': : undefined reference to `usb_control_msg' libusb.o(.text+0x553): In function `libusb_get_string': : undefined reference to `usb_get_string_simple' libusb.o(.text+0x5b8): In function `libusb_close': : undefined reference to `usb_release_interface' libusb.o(.text+0x5c6): In function `libusb_close': : undefined reference to `usb_close' collect2: ld returned 1 exit status make: *** [newhidups] Error 1 I do have the libraries AFAIK: [root@mypbx nut-2.0.1]# rpm -qa |grep usb usb...
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...libusb.c +++ b/drivers/libusb.c @@ -36,6 +36,7 @@  #define USB_DRIVER_NAME        "USB communication driver"  #define USB_DRIVER_VERSION    "0.33" +  /* driver description structure */  upsdrv_info_t comm_upsdrv_info = {      USB_DRIVER_NAME, @@ -52,6 +53,10 @@ static void libusb_close(usb_dev_handle *udev);  /*! Add USB-related driver variables with addvar().   * This removes some code duplication across the USB drivers.   */ +#define USB_BUFLEN_MAX 256 +static int                langid_fix = -1; +static int                buflen_fix = -1; +  void nut_usb_addvars(void)  {...
2014 Apr 24
0
usbhid-ups pull request for consideration
Hi Stephen, It's been a little busy at home, so I haven't had a chance to go over the pull request in depth, but I didn't want you to think it hadn't been considered. On Apr 19, 2014, at 1:23 AM, Stephen J. Butler wrote: > I've added a pull request with changes to drivers/libusb and drivers/usbhid-ups mainly. They are to resolve issues I encountered when setting up a
2008 Feb 03
2
USB UPS on Solaris
Is anyone here running a USB UPS on Solaris? I'm looking to upgrade my UPS (from a SmartUPS 620 with RS232 comms), and most of the modern UPSs use USB ... TX, Huge.
2014 Apr 19
3
usbhid-ups pull request for consideration
I've added a pull request with changes to drivers/libusb and drivers/usbhid-ups mainly. They are to resolve issues I encountered when setting up a Tripp Lite SMART1500LCDT, but I think they're generally useful to the community. Here is the pull request comment I sent: https://github.com/networkupstools/nut/pull/122 Had trouble getting nut to work for my new Tripp Lite SMART1500LCDT. So