search for: usb_close

Displaying 10 results from an estimated 10 matches for "usb_close".

Did you mean: tdb_close
2010 Apr 08
2
HP R1500 G2
...driver = usbhid-ups port = auto desc = "HP R1500 G2" offdelay = 120 ---------------------------- Here is the last part of the log from "/opt/mt/nut-svn/libexec/usbhid-ups -DDDDD -a ups01 -k" ..... opening /dev/usb/3f0.1fe0/0/cntrl0 opening ep0 failed, -1 usb_open_ep0 failed: 16 usb_close(): hdl=0x0 usb_error(): error=22 usb_devices list: 0: 3f0.1fe0/0 0.017204 Checking device (0000/0000) (/dev/usb/3f0.1fe0/0) usb_open: device ptr is 0x4bea8 usb_open: pindex = 0 usb_open(): usb_open_ep0(): opening /dev/usb/3f0.1fe0/0/cntrl0 opening ep0 failed, -1 usb_open_ep0 failed: 16 usb_s...
2005 Jun 23
1
USB UPS Question...
...simple' libusb.o(.text+0x341): In function `libusb_open': : undefined reference to `usb_get_string_simple' libusb.o(.text+0x3dc): In function `libusb_open': : undefined reference to `usb_control_msg' libusb.o(.text+0x418): In function `libusb_open': : undefined reference to `usb_close' libusb.o(.text+0x4f4): In function `libusb_get_report': : undefined 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 referenc...
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
...dlen; > > next_device: > + free(curDevice->Vendor); > + free(curDevice->Product); > + free(curDevice->Serial); > + free(curDevice->Bus); > usb_close(udev); > udev = NULL; > } > > _______________________________________________ > nut-commits mailing list > nut-commits@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-commits > -- - Charles Lepple
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
> next_device: > + free(curDevice->Vendor); > + free(curDevice->Product); > + free(curDevice->Serial); > + free(curDevice->Bus); > usb_close(udev); > udev = NULL; > } Wouldn't it be necessary to check whether there is anything to free or not? Vendor, Product and Serial are set conditionally. In the lines upsdebugx(2, "- Manufacturer: %s", curDevice->Vendor ? curDevice->Vendor : "unknown");...
2006 Apr 04
2
newhidups crashes intermittently (double free or corruption)
...IONCENTER Using subdriver: MGE HID 0.8 This is the error I'm getting *** glibc detected *** /usr/lib/nut/newhidups: double free or corruption (fasttop): 0x08066f10 *** ======= Backtrace: ========= /lib/libc.so.6[0x416b1c51] /lib/libc.so.6(__libc_free+0x89)[0x416b2729] /usr/lib/libusb-0.1.so.4(usb_close+0x30)[0x4176e860] /lib/libc.so.6(__libc_start_main+0xe6)[0x41664896] /usr/lib/nut/newhidups[0x8049981] ======= Memory map: ======== 08048000-08057000 r-xp 00000000 03:03 23605722 /usr/lib/nut/newhidups 08057000-0805a000 rw-p 0000f000 03:03 23605722 /usr/lib/nut/newhidups 0805a000-0807d000 rw-p...
2007 Nov 20
2
Mustek Powermust 600VA
Hi, I'm having a hard time configuring a Mustek Powermust 600VA ups to work via USB with nut. I read somewhere that nut works OK via the rs232 cable, but unfortunately I don't have a COM port in my computer. The kernel detects the ups as an Xbox pad :) and loads the xpad module. I tried running /lib/nut/megatec with different /dev/ttySx but it displays megatec protocol UPS was not
2005 Sep 21
0
Compre facil seu imóvel consorcio (11) 2121-4103
...ument is not a pointer (arg 2) amload.c:843: warning: format argument is not a pointer (arg 2) amload.c:848: warning: format argument is not a pointer (arg 2) amload.c:857: warning: implicit declaration of function `usb_release_interface` amload.c:859: warning: implicit declaration of function `usb_close` make[1]: ** [amload] Erro 1 make[1]: Leaving directory `/home/paulo/amedyn/init` make: ** [AME_INIT] Erro 2 Será que dá para dar uma ajuda?! - estou a ficar desesperado! O meu kernel é : 2.4.1.28xxx em um conectiva 9. Obrigado. www.consorciodeimovel.com O Imovel que você quer de um jeito...
2005 Nov 08
1
TrippLite OMNI1000LCD hiddev
Joel Peshkin wrote: > > I hacked in the following additonal changes... > > Index: newhidups.c > =================================================================== > RCS file: /cvsroot/nut/nut/drivers/newhidups.c,v > retrieving revision 1.1.1.1.8.6.2.21 > diff -u -r1.1.1.1.8.6.2.21 newhidups.c > --- newhidups.c 7 Nov 2005 22:14:20 -0000 1.1.1.1.8.6.2.21 > +++
2010 Jan 06
1
blazer_usb: compatibility with Ippon BackPro UPSes (Phoenix Power Co., Ltd usb-to-serial controller)
...---------------- char tmp[256]; memset(tmp, 0, sizeof(tmp)); int ret = usb_interrupt_read(devfd, 0x81, tmp, max_return_size, timeout); if(ret <= 0) { return_buf[0] = 0; return -1; } int max = (max_return_size > 256) ? 256 : max_return_size; memcpy(return_buf, tmp, max); return_buf[max] = 0; usb_close(devfd); return max; - ------------------- cut -------------------------------------- The differences between the way Winpower works with UPS and NUT works with UPS are as follows: 1. megatec_usb and blazer_usb both read up data in 8-byte chunks. Winpower do it in one large chunk. 2. blazer_usb tr...
2005 Aug 25
3
Tr : NUT patches
Hi Peter, I've forwarded your mail to upsdev as it will be of interest for several people that are working on it. As I'm also on vacation (again) for a week and 1/2 as of this evening, I don't think I'll have the time for it before I get back.... I've not yet audited the patches, but these are queued on the Alioth tracker: