search for: send_cmd

Displaying 20 results from an estimated 41 matches for "send_cmd".

2014 Jun 29
1
The dreaded Tripp Lite SMART500RT1U and NUT
...d_to_all: SETINFO device.type "ups" 0.029259 send_to_all: SETINFO driver.version "2.7.2-signed-19-g90e2790" 0.030842 send_to_all: SETINFO driver.version.internal "0.24" 0.031065 send_to_all: SETINFO driver.name "tripplite_usb" 0.031266 send_cmd(msg_len=2, type=' 0.031536 send_cmd: sending 3a 00 ff 0d 00 00 00 00 '........' 1.134977 libusb_get_interrupt: Connection timed out 1.136412 libusb_get_interrupt() returned 0 instead of 8 while sending 3a 00 ff 0d 00 00 00 00 '........' 2.138238 libusb_g...
2014 Jun 28
0
The dreaded Tripp Lite SMART500RT1U and NUT
On Thu, Jun 26, 2014 at 10:20 PM, Steve Ballantyne <steve.ballantyne at gmail.com> wrote: >> However, we don't have all of the 09AE/0001 protocols decoded in the >> tripplite_usb driver. > > I can try to help out on this front? :-) Definitely. >> > 9.783126 Unknown input voltage range: 0x02 >> > 9.783308 Unknown number of switchable
2014 Jun 27
3
The dreaded Tripp Lite SMART500RT1U and NUT
...9; SNIP! > Hmm, this shouldn't take that long. Does it do that every time you > start the tripplite_usb driver, or only the first time? Only when I first start the driver. It tries about once a second, and then after a few failures, it connects and takes off. > > 9.262678 send_cmd: received 00 30 05 58 58 58 58 0d '.0.XXXX.' (OK) > > 9.264042 send_to_all: SETINFO ups.debug.0 "30 05 58 58 58 58 0d > > '0.XXXX.'" > > 9.265665 send_to_all: SETINFO ups.firmware.aux "protocol 3005" > > Here's that 3005...
2009 Nov 08
1
Tripplite INTERNETX525
...oductID: 0001 - Manufacturer: TRIPP LITE - Product: TRIPP LITE INTERNETX525 - Serial Number: unknown - Bus: 002 Trying to match device Device matches failed to claim USB device: could not claim interface 0: Device or resource busy detached kernel driver from USB device... Successfully reconnected send_cmd(msg_len=3, type='W') send_cmd: sending 3a 57 00 a8 0d 00 00 00 '.W......' send_cmd: received 57 00 0d 00 00 00 00 00 'W.......' (OK) send_cmd(msg_len=2, type=' send_cmd: sending 3a 00 ff 0d 00 00 00 00 '........' send_cmd: received 00 10 01 58 58 58 58 0d '...
2014 Jun 26
1
The dreaded Tripp Lite SMART500RT1U and NUT
....024146 send_to_all: SETINFO device.type "ups" 0.024961 send_to_all: SETINFO driver.version "2.6.4" 0.025174 send_to_all: SETINFO driver.version.internal "0.20" 0.025897 send_to_all: SETINFO driver.name "tripplite_usb" 0.026152 send_cmd(msg_len=2, type=' 0.026694 send_cmd: sending 3a 00 ff 0d 00 00 00 00 '........' 1.130244 libusb_get_interrupt: Connection timed out 1.131657 libusb_get_interrupt() returned 0 instead of 8 while sending 3a 00 ff 0d 00 00 00 00 '........' 2.133695 libu...
2015 Jan 06
2
libusb drops connection to my Tripp Lite SMART500T1U
...und 3+ years. I ran this ... /usr/local/ups/bin/tripplite_usb -a SMART500RT1U -u pi -DDDDD 2>&1 | tee driver-debug-log.txt Does this snippet of a failure tell you anything? Is there something I can do to tell the libusb to wait a little longer for the device to come back? 3116.403776 send_cmd(msg_len=2, type='P') 3116.403858 send_cmd: sending 3a 50 af 0d 00 00 00 00 '.P......' 3116.506490 send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK) 3117.449881 send_cmd(msg_len=2, type='S') 3117.451603 send_cmd: sending 3a 53 ac 0d 00 00 00...
2007 Sep 21
2
TrippLite 1500XL problems, continued.
So a month or more ago, I posted about continual disconnect messages from this UPS (roughly 2/hour), using nut 2.2.0 on debian etch. Now, I've finally gotten around to running tripplite_usb in debug mode, and these are the results: ... send_cmd(msg_len=2, type='L') send_cmd(msg_len=2, type='S') send_cmd(msg_len=2, type='B') send_cmd(msg_len=2, type='L') send_cmd(msg_len=2, type='S') send_cmd(msg_len=2, type='B') send_cmd: send_try = 3, recv_try = 10 Error reading B value: Device detached? (...
2008 Jan 23
1
empty ups.status on TrippLite SMART1500RMXL2U
...ice does not match - skipping Checking device (09AE/0001) (002/004) - VendorID: 09ae - ProductID: 0001 - Manufacturer: TRIPP LITE - Product: Tripp Lite SMART1500RMXL2U - Serial Number: unknown - Bus: 002 Trying to match device Device matches Detected a UPS: TRIPP LITE/ Tripp Lite SMART1500RMXL2U send_cmd(msg_len=3, type='W') send_cmd(msg_len=2, type=' send_cmd(msg_len=2, type='S') send_cmd(msg_len=2, type='P') send_cmd(msg_len=2, type='F') send_cmd(msg_len=2, type='V') send_cmd(msg_len=2, type='V') send_cmd(msg_len=2, type='U') Unit ID: 25...
2012 Dec 07
2
Tripp Lite SMART1000RM2U
...Manufacturer: TRIPP LITE 0.054118 - Product: TRIPP LITE SMART1000RM2U 0.054137 - Serial Number: unknown 0.054155 - Bus: 002 0.054172 Trying to match device 0.054431 Device matches 0.060025 Detected a UPS: TRIPP LITE/TRIPP LITE SMART1000RM2U 0.060105 send_cmd(msg_len=2, type=' 0.173908 Using SMARTPRO protocol (3003) 0.173939 send_cmd(msg_len=2, type='S') 0.301966 send_cmd(msg_len=2, type='P') 0.430071 send_cmd(msg_len=2, type='F') 0.558070 send_cmd(msg_len=2, type='V') 0.685956...
2007 Mar 04
1
OMNIVS1500XL and FreeBSD
...rtlen = 52) Found HID device Report Descriptor size = 52 Report Descriptor: (52 bytes) => 06 a0 ff 09 01 a1 01 09 02 a1 00 06 a1 ff 09 03 09 04 15 80 25 7f 35 00 45 ff 75 08 95 08 81 02 09 05 09 06 15 80 25 7f 35 00 45 ff 75 08 95 08 91 02 c0 c0 Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL send_cmd(msg_len=3, type='W') send_cmd: sending 3a 57 00 a8 0d 00 00 00 '.W......' usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000 send_cmd: received 57 00 0d 00 00 00 00 00 'W.......' (OK) send_cmd(msg_len=2, type=' send_cmd: sending 3a 00 ff 0d 00 00 00 00 '........' us...
2010 Jan 31
3
smart1050slt by tripp lite
Original Message >I have 2 SmartUOS1050SLT's that apparently protocol 3004, has there >been >any progress on getting these units supported under nut? I am running >version 2.4.1, and get the following output when starting the driver. >#lsusb >Bus 005 Device 002: ID 09ae:0001 Tripp Lite ># upsdrvctl -DDDD start >Network UPS Tools - UPS driver controller 2.4.1
2006 Jan 13
1
help with TRIPP LITE SMART550USB
...g to match device Device matches HID descriptor retrieved (Reportlen = 52) Report descriptor retrieved (Reportlen = 52) Found HID device Report Descriptor size = 52 Report Descriptor: (200 bytes) => 06 A0 FF 09 01 A1 01 09 02 A1 00 06 A1 FF 09 03 Detected a UPS: TRIPP LITE/TRIPP LITE SMART550USB send_cmd(msg_len=3, type='W') send_cmd(msg_len=2, type=' send_cmd(msg_len=2, type='S') send_cmd(msg_len=2, type='P') send_cmd(msg_len=2, type='F') send_cmd(msg_len=2, type='V') Unknown protocol (2001)Attached to Tripp Lite SMART550USB send_cmd(msg_len=2, type='...
2008 Jul 10
2
[PATCH] tripplite driver updates
...e #defines to tripplite.h - Remove a useless static float definition and replace with an inline constant; saves .text space, easier to read, and optimizes better. - Open code hex2d() buffer handling. strncpy's edge case is ugly. The old code could never overflow, but was harder to read. - send_cmd() now flushes both input and output buffers on exit or failure. This change guards against corrupted serial port i/o between send_cmd() calls. - Squash a harmless unsigned/signed char warning in send_cmd(). - upsdrv_initinfo() now retries W/L/V/X commands on failure. I've never seen thes...
2009 May 27
1
PHP AGI Problems
...#!/usr/bin/php <? //playspecific.php require_once('database.class.php'); require_once('AGI.class.php'); $database = new database(); $AGI = new AGI(); $database->selectdb("switchboard"); while ($error_count < 5 && !$msg_result) { $result = $AGI->send_cmd("GET DATA /bswitch/menu/enter-msg-id 3000 4"); $msg_id = $result[result]; if ($msg_id < 1000){ echo "\ndebug: msgid < 1000, invalid ($msg_id)!\n"; //var_dump($msg_id); $error_count += 1; $AGI->send_cmd("EXEC PLAYBACK /bswitch/menu...
2007 May 11
11
tripp lite smart2200RMXL2U error reading protocol
...ripplite1] driver = tripplite_usb port = /proc/bus/usb/002/002 productid = 3012 bus = 002 desc = "top ups" I get it to run and find the HID, but it returns the following errors before quitting: Detected a UPS: Tripp Lite /TRIPP LITE SMART2200RMXL2U send_cmd(msg_len=3, type='W') libusb_get_interrupt() returned 4 instead of 8 libusb_get_interrupt() returned 4 instead of 8 libusb_get_interrupt() returned 4 instead of 8 libusb_get_interrupt() returned 4 instead of 8 libusb_get_interrupt() returned 4 instead of 8 libusb_get_interrupt() returned 4 i...
2016 May 25
2
Tripplite SMART2200VS with tripplite_usb: UPS doesn't shut down
...- Manufacturer: TRIPP LITE 0.014799 - Product: TRIPP LITE SMART2200VS 0.014837 - Serial Number: unknown 0.014874 - Bus: 001 0.014911 Trying to match device 0.015272 Device matches 0.016162 Detected a UPS: TRIPP LITE/TRIPP LITE SMART2200VS 0.016267 send_cmd(msg_len=2, type=' 0.117454 Using SMARTPRO protocol (3003) # date; /lib/nut/tripplite_usb -a tripplite -k -DDD Wed 25 May 12:51:12 CDT 2016 0.000000 debug level is '3' 0.003343 Checking device (09AE/0001) (001/004) 0.014646 - VendorID: 09ae 0.014680 -...
2016 May 26
2
Tripplite SMART2200VS with tripplite_usb: UPS doesn't shut down
> > > 2.117586 send_cmd(msg_len=2, type='G') > > 3.219418 libusb_get_interrupt: Connection timed out > > 3.219474 libusb_get_interrupt() returned 0 instead of 8 while > sending 3a 47 b8 0d 00 00 00 00 '.G......' > > 4.219593 libusb_get_interrupt: Connection timed o...
2005 Nov 08
0
gcc4 noise
...n hexascdump: tripplite_usb.c:370: warning: pointer targets in passing argument 1 of sprintf differ in signedness tripplite_usb.c:381: warning: pointer targets in return differ in signedness tripplite_usb.c: In function instcmd: tripplite_usb.c:641: warning: pointer targets in passing argument 1 of send_cmd differ in signedness tripplite_usb.c:645: warning: pointer targets in passing argument 1 of send_cmd differ in signedness tripplite_usb.c:649: warning: pointer targets in passing argument 1 of send_cmd differ in signedness tripplite_usb.c: In function upsdrv_initinfo: tripplite_usb.c:734: warning:...
2016 May 25
0
Tripplite SMART2200VS with tripplite_usb: UPS doesn't shut down
...- Manufacturer: TRIPP LITE 0.014799 - Product: TRIPP LITE SMART2200VS 0.014837 - Serial Number: unknown 0.014874 - Bus: 001 0.014911 Trying to match device 0.015272 Device matches 0.016162 Detected a UPS: TRIPP LITE/TRIPP LITE SMART2200VS 0.016267 send_cmd(msg_len=2, type=' 0.117454 Using SMARTPRO protocol (3003) # date; /lib/nut/tripplite_usb -a tripplite -k -DDD Wed 25 May 12:51:12 CDT 2016 0.000000 debug level is '3' 0.003343 Checking device (09AE/0001) (001/004) 0.014646 - VendorID: 09ae 0.014680 -...
2016 May 26
0
Tripplite SMART2200VS with tripplite_usb: UPS doesn't shut down
On May 25, 2016, at 3:43 PM, Larry Fahnoe wrote: > > 0.016075 Initiating UPS shutdown > 0.016117 soft_shutdown(offdelay=64): N > 0.016137 send_cmd(msg_len=4, type='N') The delay command ('N') was sent successfully, so the UPS is receiving commands. > 2.117586 send_cmd(msg_len=2, type='G') > 3.219418 libusb_get_interrupt: Connection timed out > 3.219474 libusb_get_interrupt() returned 0 i...