[Nut-upsuser] nutdrv_qx hangs after send: QS

Richard Flint richard.flint at gmail.com
Sun Apr 5 00:53:11 UTC 2015


Hi,

I have used the truss command as directed. I have attached both the driver
output and the last few sections of truss output leading to the hang. Both
outputs end at the CTRL+C i pressed when i was forced to end the processes.

Hope this is helpful. Please bear with me if i didn't run it with the right
options etc - as I mentioned, I'm a little new to Solaris.

Regards,
Richard

On Sun, Apr 5, 2015 at 1:09 AM Richard Flint <richard.flint at gmail.com>
wrote:

> Thank you for the rapid response. I will try and investigate getting
> answers to some of your points but I'm a little new to Solaris so I'll need
> some time. Glancing at the configure output, it looks like it built against
> v0.1.7 of libusb (yes i think that is derived from the one you mention),
>
> checking for libusb version via pkg-config... 0.1.7 found
> checking for libusb cflags...
> checking for libusb ldflags... -lusb
> checking for usb.h... yes
> checking for usb_init... yes
> checking for usb_detach_kernel_driver_np... no
>
> I will first investigate how to set the debug level.
>
> Regards,
> Richard
>
> On Sun, Apr 5, 2015 at 12:44 AM Charles Lepple <clepple at gmail.com> wrote:
>
>> On Apr 4, 2015, at 7:19 PM, Richard Flint <richard.flint at gmail.com>
>> wrote:
>>
>> More extensive debugging by running the driver sudo ./nutdrv_qx -u root
>> -a MY_UPS -DDDDDD indicates the driver works normally then will randomly
>> stop working at stop "send: QS". The debug logs show values successfully
>> retrieved repeatedly until something like:
>> ....
>> Quick update...
>> send: QS
>> read: (247.9 239.1 248.0 005 50.0 27.5 --.- 00001001
>> update_status: OL
>> update_status: !LB
>> update_status: !CAL
>> update_status: !FSD
>> upsdrv_updateinfo...
>> Quick update...
>> send: QS
>> (driver hangs here)
>>
>> I'm using Generic Q* USB/Serial driver 0.06 (2.7.2) with USB
>> communication driver 0.32. Playing with pollinterval didn't help - Is there
>> anything further I can do to help troubleshoot this problem?
>>
>>
>> Thanks, this narrows it down a good deal.
>>
>> @zykh made some changes to nutdrv_qx since the 2.7.2 release, but at
>> first glance, I don't think those will alter the symptoms you are seeing.
>>
>> Can you provide some detail on the libusb port that you built against? If
>> it is derived from the original sourceforge.net libusb-0.1, does it have
>> a USB_DEBUG environment variable that can be set to log extra information?
>>
>> Also, is it possible to do a system call trace to figure out what libusb
>> and the OS are doing at the time of the hang? It's been a while since I
>> last used Solaris, but if memory serves, you could use something like truss
>> to approximate what strace does on Linux.
>>
>> --
>> Charles Lepple
>> clepple at gmail
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150405/f09fa511/attachment-0001.html>
-------------- next part --------------
Network UPS Tools - Generic Q* USB/Serial driver 0.06 (2.7.2)
USB communication driver 0.32
   0.000000	debug level is '6'
   0.000364	upsdrv_initups...
   0.010093	Checking device (0665/5161) (/dev/usb/665.5161/0)
   0.022032	- VendorID: 0665
   0.022123	- ProductID: 5161
   0.022182	- Manufacturer: INNO TECH
   0.022239	- Product: USB to Serial
   0.022287	- Serial Number: unknown
   0.022338	- Bus: /dev/usb
   0.022400	Trying to match device
   0.022623	Device matches
   0.022831	send_to_all: SETINFO ups.vendorid "0665"
   0.022903	send_to_all: SETINFO ups.productid "5161"
   0.022968	Skipping protocol Voltronic 0.01
   0.025017	send: M
   0.151082	read: V
   0.151274	send_to_all: SETINFO ups.firmware.aux "PMV"
   0.154074	send: QS
   0.479154	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   0.479363	send_to_all: SETINFO input.voltage "245.4"
   0.479420	Using protocol: Voltronic-QS 0.01
   0.479474	send_to_all: SETINFO device.type "ups"
   0.479541	send_to_all: SETINFO driver.version "2.7.2"
   0.479592	send_to_all: SETINFO driver.version.internal "0.06"
   0.479646	send_to_all: SETINFO driver.name "nutdrv_qx"
   0.479700	upsdrv_initinfo...
   0.479803	send_to_all: SETINFO driver.version.data "Voltronic-QS 0.01"
   0.482082	send: QS
   0.807110	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   0.807209	send_to_all: SETINFO input.voltage.fault "239.1"
   0.807235	send_to_all: SETINFO output.voltage "244.2"
   0.807256	send_to_all: SETINFO ups.load "5"
   0.807291	send_to_all: SETINFO input.frequency "50.0"
   0.807312	send_to_all: SETINFO battery.voltage "27.40"
   0.807331	ups_infoval_set: non numerical value [ups.temperature: --.-]
   0.807347	update_status: OL
   0.807375	update_status: !LB
   0.807398	send_to_all: SETINFO ups.type "offline / line interactive"
   0.807426	update_status: !CAL
   0.807442	update_status: !FSD
   0.807459	send_to_all: SETINFO ups.beeper.status "enabled"
   0.810075	send: F
   1.023160	read: #230.0 008 24.00 50.0
   1.023274	send_to_all: SETINFO input.voltage.nominal "230"
   1.023304	send_to_all: SETINFO input.current.nominal "8.0"
   1.023329	send_to_all: SETINFO battery.voltage.nominal "24.0"
   1.023354	send_to_all: SETINFO input.frequency.nominal "50"
   1.023375	send_to_all: ADDCMD beeper.toggle
   1.023395	send_to_all: ADDCMD load.off
   1.023416	send_to_all: ADDCMD load.on
   1.023436	send_to_all: ADDCMD shutdown.return
   1.023457	send_to_all: ADDCMD shutdown.stayoff
   1.023478	send_to_all: ADDCMD shutdown.stop
   1.023494	send_to_all: ADDCMD test.battery.start.quick
   1.023511	send_to_all: SETINFO ups.delay.start "180"
   1.023528	send_to_all: SETFLAGS ups.delay.start RW
   1.023557	send_to_all: ADDRANGE ups.delay.start  60 599940
   1.023575	send_to_all: SETINFO ups.delay.shutdown "30"
   1.023591	send_to_all: SETFLAGS ups.delay.shutdown RW
   1.023607	send_to_all: ADDRANGE ups.delay.shutdown  12 540
   1.023624	No values for battery high/low voltages
   1.023642	send_to_all: SETINFO battery.voltage.low "20.80"
   1.023659	send_to_all: SETINFO battery.voltage.high "26.00"
   1.023674	Using 'guesstimation' (low: 20.800000, high: 26.000000)!
   1.023692	send_to_all: SETINFO battery.charge "100"
   1.023708	Battery runtime will not be calculated (runtimecal not set)
   1.023728	send_to_all: SETINFO driver.parameter.pollfreq "30"
   1.023744	upsdrv_updateinfo...
   1.023758	Quick update...
   1.026131	send: QS
   1.351352	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   1.351454	update_status: OL
   1.351512	update_status: !LB
   1.351566	update_status: !CAL
   1.351615	update_status: !FSD
   1.351684	send_to_all: SETINFO ups.status "OL"
   1.351746	send_to_all: DATAOK
   1.352434	dstate_init: sock /var/ups/nutdrv_qx-Seraphix1_UPS open on fd 7
   1.352502	send_to_all: SETINFO driver.parameter.pollinterval "2"
   1.352560	upsdrv_updateinfo...
   1.352609	Quick update...
   1.355279	send: QS
   1.679406	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   1.679509	update_status: OL
   1.679567	update_status: !LB
   1.679620	update_status: !CAL
   1.679667	update_status: !FSD
   3.352888	upsdrv_updateinfo...
   3.352995	Quick update...
   3.355752	send: QS
   3.679845	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   3.679948	update_status: OL
   3.680005	update_status: !LB
   3.680058	update_status: !CAL
   3.680105	update_status: !FSD
   5.353216	upsdrv_updateinfo...
   5.353324	Quick update...
   5.356292	send: QS
   5.680260	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   5.680312	update_status: OL
   5.680332	update_status: !LB
   5.680357	update_status: !CAL
   5.680374	update_status: !FSD
   7.353511	upsdrv_updateinfo...
   7.353619	Quick update...
   7.355724	send: QS
   7.680708	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   7.680812	update_status: OL
   7.680873	update_status: !LB
   7.680930	update_status: !CAL
   7.680977	update_status: !FSD
   9.353801	upsdrv_updateinfo...
   9.353949	Quick update...
   9.356009	send: QS
   9.681128	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
   9.681229	update_status: OL
   9.681288	update_status: !LB
   9.681340	update_status: !CAL
   9.681389	update_status: !FSD
  11.354183	upsdrv_updateinfo...
  11.354287	Quick update...
  11.356406	send: QS
  11.681578	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  11.681683	update_status: OL
  11.681741	update_status: !LB
  11.681795	update_status: !CAL
  11.681843	update_status: !FSD
  13.354487	upsdrv_updateinfo...
  13.354589	Quick update...
  13.356854	send: QS
  13.681869	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  13.681926	update_status: OL
  13.681976	update_status: !LB
  13.681995	update_status: !CAL
  13.682016	update_status: !FSD
  15.354785	upsdrv_updateinfo...
  15.354889	Quick update...
  15.357359	send: QS
  15.682434	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  15.682537	update_status: OL
  15.682595	update_status: !LB
  15.682652	update_status: !CAL
  15.682699	update_status: !FSD
  17.355057	upsdrv_updateinfo...
  17.355106	Quick update...
  17.357663	send: QS
  17.682852	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  17.682953	update_status: OL
  17.683013	update_status: !LB
  17.683069	update_status: !CAL
  17.683118	update_status: !FSD
  19.355367	upsdrv_updateinfo...
  19.355471	Quick update...
  19.358161	send: QS
  19.683297	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  19.683400	update_status: OL
  19.683461	update_status: !LB
  19.683514	update_status: !CAL
  19.683561	update_status: !FSD
  21.355674	upsdrv_updateinfo...
  21.355810	Quick update...
  21.358595	send: QS
  21.683726	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  21.683829	update_status: OL
  21.683886	update_status: !LB
  21.683943	update_status: !CAL
  21.683991	update_status: !FSD
  23.355911	upsdrv_updateinfo...
  23.355965	Quick update...
  23.357950	send: QS
  23.684169	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  23.684255	update_status: OL
  23.684275	update_status: !LB
  23.684296	update_status: !CAL
  23.684318	update_status: !FSD
  25.356214	upsdrv_updateinfo...
  25.356319	Quick update...
  25.358499	send: QS
  25.684575	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  25.684676	update_status: OL
  25.684733	update_status: !LB
  25.684787	update_status: !CAL
  25.684834	update_status: !FSD
  27.356843	upsdrv_updateinfo...
  27.358004	Quick update...
  27.361229	send: QS
  27.685376	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  27.686275	update_status: OL
  27.686845	update_status: !LB
  27.687502	update_status: !CAL
  27.688073	update_status: !FSD
  29.357349	upsdrv_updateinfo...
  29.358432	Quick update...
  29.362611	send: QS
  29.685805	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  29.686962	update_status: OL
  29.687619	update_status: !LB
  29.688015	update_status: !CAL
  29.688258	update_status: !FSD
  31.357857	upsdrv_updateinfo...
  31.358948	Full update...
  31.362029	send: QS
  31.686147	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  31.687645	ups_infoval_set: non numerical value [ups.temperature: --.-]
  31.688583	update_status: OL
  31.689743	update_status: !LB
  31.690884	update_status: !CAL
  31.692025	update_status: !FSD
  33.358369	upsdrv_updateinfo...
  33.359481	Quick update...
  33.363412	send: QS
  33.687153	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  33.689012	update_status: OL
  33.690486	update_status: !LB
  33.692162	update_status: !CAL
  33.693824	update_status: !FSD
  35.358870	upsdrv_updateinfo...
  35.359762	Quick update...
  35.362945	send: QS
  35.686938	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  35.687613	update_status: OL
  35.688192	update_status: !LB
  35.688828	update_status: !CAL
  35.689390	update_status: !FSD
  37.359392	upsdrv_updateinfo...
  37.360606	Quick update...
  37.364341	send: QS
  37.687383	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  37.688642	update_status: OL
  37.689578	update_status: !LB
  37.690479	update_status: !CAL
  37.691353	update_status: !FSD
  39.359888	upsdrv_updateinfo...
  39.360789	Quick update...
  39.363744	send: QS
  39.687798	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  39.688495	update_status: OL
  39.689069	update_status: !LB
  39.689638	update_status: !CAL
  39.690205	update_status: !FSD
  41.360393	upsdrv_updateinfo...
  41.361475	Quick update...
  41.365201	send: QS
  41.688410	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  41.689533	update_status: OL
  41.690231	update_status: !LB
  41.690906	update_status: !CAL
  41.691576	update_status: !FSD
  43.360893	upsdrv_updateinfo...
  43.361349	Quick update...
  43.364649	send: QS
  43.688659	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  43.689336	update_status: OL
  43.689907	update_status: !LB
  43.690470	update_status: !CAL
  43.691137	update_status: !FSD
  45.361406	upsdrv_updateinfo...
  45.362522	Quick update...
  45.366068	send: QS
  45.689247	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  45.690439	update_status: OL
  45.691457	update_status: !LB
  45.692442	update_status: !CAL
  45.693035	update_status: !FSD
  47.361926	upsdrv_updateinfo...
  47.363138	Quick update...
  47.366547	send: QS
  47.689686	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  47.690809	update_status: OL
  47.691767	update_status: !LB
  47.692902	update_status: !CAL
  47.693899	update_status: !FSD
  49.362405	upsdrv_updateinfo...
  49.362865	Quick update...
  49.365865	send: QS
  49.689963	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  49.690649	update_status: OL
  49.691228	update_status: !LB
  49.691797	update_status: !CAL
  49.692383	update_status: !FSD
  51.362931	upsdrv_updateinfo...
  51.363383	Quick update...
  51.366441	send: QS
  51.690729	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  51.691470	update_status: OL
  51.692053	update_status: !LB
  51.692650	update_status: !CAL
  51.693264	update_status: !FSD
  53.363466	upsdrv_updateinfo...
  53.364596	Quick update...
  53.367712	send: QS
  53.690826	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  53.691581	update_status: OL
  53.692234	update_status: !LB
  53.692938	update_status: !CAL
  53.693598	update_status: !FSD
  55.363967	upsdrv_updateinfo...
  55.365017	Quick update...
  55.368158	send: QS
  55.691316	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  55.692008	update_status: OL
  55.692575	update_status: !LB
  55.693144	update_status: !CAL
  55.693816	update_status: !FSD
  57.364417	upsdrv_updateinfo...
  57.364673	Quick update...
  57.367393	send: QS
  57.691481	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  57.691734	update_status: OL
  57.691931	update_status: !LB
  57.692136	update_status: !CAL
  57.692488	update_status: !FSD
  59.364927	upsdrv_updateinfo...
  59.366034	Quick update...
  59.370177	send: QS
  59.692178	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  59.693091	update_status: OL
  59.693716	update_status: !LB
  59.694337	update_status: !CAL
  59.694966	update_status: !FSD
  61.365354	upsdrv_updateinfo...
  61.365621	Quick update...
  61.368254	send: QS
  61.692688	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  61.693759	update_status: OL
  61.694728	update_status: !LB
  61.695697	update_status: !CAL
  61.696605	update_status: !FSD
  63.365860	upsdrv_updateinfo...
  63.366757	Full update...
  63.369882	send: QS
  63.693138	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  63.694220	ups_infoval_set: non numerical value [ups.temperature: --.-]
  63.694867	update_status: OL
  63.695426	update_status: !LB
  63.696016	update_status: !CAL
  63.696580	update_status: !FSD
  65.366357	upsdrv_updateinfo...
  65.367459	Quick update...
  65.371409	send: QS
  65.693608	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  65.695057	update_status: OL
  65.696375	update_status: !LB
  65.697463	update_status: !CAL
  65.698568	update_status: !FSD
  67.366853	upsdrv_updateinfo...
  67.367921	Quick update...
  67.371746	send: QS
  67.693752	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  67.694193	update_status: OL
  67.694595	update_status: !LB
  67.694968	update_status: !CAL
  67.695342	update_status: !FSD
  69.367205	upsdrv_updateinfo...
  69.367462	Quick update...
  69.370017	send: QS
  69.694440	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  69.695447	update_status: OL
  69.696048	update_status: !LB
  69.696737	update_status: !CAL
  69.697303	update_status: !FSD
  71.367719	upsdrv_updateinfo...
  71.368850	Quick update...
  71.372844	send: QS
  71.694878	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  71.695774	update_status: OL
  71.696530	update_status: !LB
  71.697143	update_status: !CAL
  71.697779	update_status: !FSD
  73.368265	upsdrv_updateinfo...
  73.369302	Quick update...
  73.373104	send: QS
  73.695308	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  73.696296	update_status: OL
  73.696894	update_status: !LB
  73.697464	update_status: !CAL
  73.698020	update_status: !FSD
  75.368907	upsdrv_updateinfo...
  75.369985	Quick update...
  75.373559	send: QS
  75.695742	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  75.697026	update_status: OL
  75.698039	update_status: !LB
  75.698764	update_status: !CAL
  75.698981	update_status: !FSD
  77.369409	upsdrv_updateinfo...
  77.370520	Quick update...
  77.373989	send: QS
  77.696171	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  77.697442	update_status: OL
  77.698545	update_status: !LB
  77.699538	update_status: !CAL
  77.700471	update_status: !FSD
  79.369893	upsdrv_updateinfo...
  79.370754	Quick update...
  79.374338	send: QS
  79.696428	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  79.697400	update_status: OL
  79.697983	update_status: !LB
  79.698548	update_status: !CAL
  79.699191	update_status: !FSD
  81.370327	upsdrv_updateinfo...
  81.370585	Quick update...
  81.372610	send: QS
  81.696756	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  81.697196	update_status: OL
  81.697587	update_status: !LB
  81.697979	update_status: !CAL
  81.698343	update_status: !FSD
  83.370827	upsdrv_updateinfo...
  83.371949	Quick update...
  83.375248	send: QS
  83.697444	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  83.698486	update_status: OL
  83.699147	update_status: !LB
  83.699763	update_status: !CAL
  83.700504	update_status: !FSD
  85.371350	upsdrv_updateinfo...
  85.372394	Quick update...
  85.375707	send: QS
  85.697877	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  85.699021	update_status: OL
  85.699981	update_status: !LB
  85.700935	update_status: !CAL
  85.701947	update_status: !FSD
  87.371865	upsdrv_updateinfo...
  87.373014	Quick update...
  87.377162	send: QS
  87.698371	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  87.699047	update_status: OL
  87.699698	update_status: !LB
  87.700242	update_status: !CAL
  87.700804	update_status: !FSD
  89.372371	upsdrv_updateinfo...
  89.373512	Quick update...
  89.376614	send: QS
  89.698593	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  89.699408	update_status: OL
  89.700116	update_status: !LB
  89.700752	update_status: !CAL
  89.701369	update_status: !FSD
  91.372705	upsdrv_updateinfo...
  91.372962	Quick update...
  91.375729	send: QS
  91.699010	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  91.699694	update_status: OL
  91.700286	update_status: !LB
  91.700897	update_status: !CAL
  91.701461	update_status: !FSD
  93.373219	upsdrv_updateinfo...
  93.374326	Quick update...
  93.377444	send: QS
  93.699454	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  93.700291	update_status: OL
  93.700934	update_status: !LB
  93.701639	update_status: !CAL
  93.702237	update_status: !FSD
  95.373646	upsdrv_updateinfo...
  95.373901	Full update...
  95.376625	send: QS
  95.699865	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  95.700610	ups_infoval_set: non numerical value [ups.temperature: --.-]
  95.701220	update_status: OL
  95.701790	update_status: !LB
  95.702363	update_status: !CAL
  95.702932	update_status: !FSD
  97.373991	upsdrv_updateinfo...
  97.374246	Quick update...
  97.377056	send: QS
  97.700492	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  97.701661	update_status: OL
  97.702581	update_status: !LB
  97.703463	update_status: !CAL
  97.704364	update_status: !FSD
  99.374496	upsdrv_updateinfo...
  99.375391	Quick update...
  99.378595	send: QS
  99.701002	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
  99.701702	update_status: OL
  99.702280	update_status: !LB
  99.702850	update_status: !CAL
  99.703414	update_status: !FSD
 101.375012	upsdrv_updateinfo...
 101.376336	Quick update...
 101.380290	send: QS
 101.701412	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 101.702092	update_status: OL
 101.702639	update_status: !LB
 101.703182	update_status: !CAL
 101.703727	update_status: !FSD
 103.375518	upsdrv_updateinfo...
 103.376670	Quick update...
 103.380628	send: QS
 103.701769	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 103.703237	update_status: OL
 103.704211	update_status: !LB
 103.705282	update_status: !CAL
 103.706241	update_status: !FSD
 105.376035	upsdrv_updateinfo...
 105.376861	Quick update...
 105.380031	send: QS
 105.702029	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 105.702714	update_status: OL
 105.703292	update_status: !LB
 105.704039	update_status: !CAL
 105.704652	update_status: !FSD
 107.376546	upsdrv_updateinfo...
 107.377622	Quick update...
 107.381438	send: QS
 107.702425	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 107.703177	update_status: OL
 107.703699	update_status: !LB
 107.704249	update_status: !CAL
 107.705077	update_status: !FSD
 109.377081	upsdrv_updateinfo...
 109.378162	Quick update...
 109.381976	send: QS
 109.702891	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 109.704112	update_status: OL
 109.705473	update_status: !LB
 109.706835	update_status: !CAL
 109.707999	update_status: !FSD
 111.377547	upsdrv_updateinfo...
 111.377805	Quick update...
 111.380038	send: QS
 111.703138	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 111.703394	update_status: OL
 111.703599	update_status: !LB
 111.703796	update_status: !CAL
 111.704111	update_status: !FSD
 113.378033	upsdrv_updateinfo...
 113.378938	Quick update...
 113.382721	send: QS
 113.703771	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 113.704542	update_status: OL
 113.705262	update_status: !LB
 113.705933	update_status: !CAL
 113.706532	update_status: !FSD
 115.378582	upsdrv_updateinfo...
 115.379437	Quick update...
 115.382087	send: QS
 115.704325	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 115.705454	update_status: OL
 115.706436	update_status: !LB
 115.707377	update_status: !CAL
 115.708347	update_status: !FSD
 117.379160	upsdrv_updateinfo...
 117.379976	Quick update...
 117.383532	send: QS
 117.704642	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 117.705357	update_status: OL
 117.705990	update_status: !LB
 117.706643	update_status: !CAL
 117.707259	update_status: !FSD
 119.379655	upsdrv_updateinfo...
 119.380105	Quick update...
 119.382942	send: QS
 119.704852	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 119.705108	update_status: OL
 119.705317	update_status: !LB
 119.705513	update_status: !CAL
 119.705867	update_status: !FSD
 121.380158	upsdrv_updateinfo...
 121.381258	Quick update...
 121.385550	send: QS
 121.705725	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 121.706426	update_status: OL
 121.707158	update_status: !LB
 121.707729	update_status: !CAL
 121.708298	update_status: !FSD
 123.380591	upsdrv_updateinfo...
 123.380847	Quick update...
 123.383672	send: QS
 123.705920	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 123.706700	update_status: OL
 123.707444	update_status: !LB
 123.708082	update_status: !CAL
 123.708711	update_status: !FSD
 125.381106	upsdrv_updateinfo...
 125.382168	Quick update...
 125.385331	send: QS
 125.706517	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 125.707900	update_status: OL
 125.708684	update_status: !LB
 125.709265	update_status: !CAL
 125.709830	update_status: !FSD
 127.381616	upsdrv_updateinfo...
 127.382067	Full update...
 127.384716	send: QS
 127.706930	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 127.708462	ups_infoval_set: non numerical value [ups.temperature: --.-]
 127.709533	update_status: OL
 127.710483	update_status: !LB
 127.711464	update_status: !CAL
 127.712431	update_status: !FSD
 129.382119	upsdrv_updateinfo...
 129.382992	Quick update...
 129.386106	send: QS
 129.707283	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 129.708098	update_status: OL
 129.708752	update_status: !LB
 129.709416	update_status: !CAL
 129.710023	update_status: !FSD
 131.382621	upsdrv_updateinfo...
 131.383510	Quick update...
 131.386688	send: QS
 131.707829	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 131.708966	update_status: OL
 131.709699	update_status: !LB
 131.710274	update_status: !CAL
 131.711001	update_status: !FSD
 133.383128	upsdrv_updateinfo...
 133.384204	Quick update...
 133.388081	send: QS
 133.708316	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 133.709414	update_status: OL
 133.710086	update_status: !LB
 133.710705	update_status: !CAL
 133.711329	update_status: !FSD
 135.383634	upsdrv_updateinfo...
 135.384728	Quick update...
 135.388479	send: QS
 135.708757	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 135.709439	update_status: OL
 135.709980	update_status: !LB
 135.710690	update_status: !CAL
 135.711288	update_status: !FSD
 137.384080	upsdrv_updateinfo...
 137.384337	Quick update...
 137.386648	send: QS
 137.708986	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 137.709893	update_status: OL
 137.710552	update_status: !LB
 137.711198	update_status: !CAL
 137.711880	update_status: !FSD
 139.384608	upsdrv_updateinfo...
 139.385493	Quick update...
 139.388319	send: QS
 139.709514	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 139.711039	update_status: OL
 139.711759	update_status: !LB
 139.712372	update_status: !CAL
 139.713037	update_status: !FSD
 141.385097	upsdrv_updateinfo...
 141.386148	Quick update...
 141.389818	send: QS
 141.709582	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 141.709884	update_status: OL
 141.710083	update_status: !LB
 141.710287	update_status: !CAL
 141.710605	update_status: !FSD
 143.385578	upsdrv_updateinfo...
 143.386667	Quick update...
 143.390138	send: QS
 143.710196	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 143.710863	update_status: OL
 143.711458	update_status: !LB
 143.712028	update_status: !CAL
 143.712721	update_status: !FSD
 145.386069	upsdrv_updateinfo...
 145.387238	Quick update...
 145.390621	send: QS
 145.710787	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 145.711877	update_status: OL
 145.712932	update_status: !LB
 145.714023	update_status: !CAL
 145.714997	update_status: !FSD
 147.386635	upsdrv_updateinfo...
 147.387759	Quick update...
 147.391023	send: QS
 147.710897	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 147.711154	update_status: OL
 147.711354	update_status: !LB
 147.711563	update_status: !CAL
 147.711914	update_status: !FSD
 149.387128	upsdrv_updateinfo...
 149.388244	Quick update...
 149.392489	send: QS
 149.711587	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 149.713062	update_status: OL
 149.714185	update_status: !LB
 149.715252	update_status: !CAL
 149.716552	update_status: !FSD
 151.387624	upsdrv_updateinfo...
 151.388710	Quick update...
 151.391879	send: QS
 151.711959	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 151.712658	update_status: OL
 151.713335	update_status: !LB
 151.713959	update_status: !CAL
 151.714609	update_status: !FSD
 153.388125	upsdrv_updateinfo...
 153.389160	Quick update...
 153.392287	send: QS
 153.712177	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 153.712432	update_status: OL
 153.712631	update_status: !LB
 153.712837	update_status: !CAL
 153.713185	update_status: !FSD
 155.388631	upsdrv_updateinfo...
 155.389808	Quick update...
 155.394393	send: QS
 155.712899	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 155.713807	update_status: OL
 155.714579	update_status: !LB
 155.715225	update_status: !CAL
 155.715789	update_status: !FSD
 157.389128	upsdrv_updateinfo...
 157.390203	Quick update...
 157.394220	send: QS
 157.713409	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 157.714500	update_status: OL
 157.715522	update_status: !LB
 157.716103	update_status: !CAL
 157.716665	update_status: !FSD
 159.389458	upsdrv_updateinfo...
 159.389712	Full update...
 159.392439	send: QS
 159.713476	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 159.713759	ups_infoval_set: non numerical value [ups.temperature: --.-]
 159.713981	update_status: OL
 159.714174	update_status: !LB
 159.714525	update_status: !CAL
 159.714788	update_status: !FSD
 161.389958	upsdrv_updateinfo...
 161.391044	Quick update...
 161.395108	send: QS
 161.722358	read: (245.4 239.1 244.2 005 50.0 27.4 --.- 00001001
 161.724004	update_status: OL
 161.725257	update_status: !LB
 161.726524	update_status: !CAL
 161.727730	update_status: !FSD
 163.390467	upsdrv_updateinfo...
 163.391336	Quick update...
 169.858930	send: QS
^C
-------------- next part --------------
5834:      F u l l   u p d a t e . . .
5834:   write(2, "\n", 1)                               = 1
5834:   write(5, 0x082DA320, 16)                        = 16
5834:      !\t\002\0\0\b\0 Q S\r\0\0\0\0\0
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 3 9 2 4 3 9", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, " s e n d :   Q S", 8)                 = 8
5834:   write(2, "\n", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " ( 2 4 5 . 4   2", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " 3 9 . 1   2 4 4", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " . 2   0 0 5   5", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " 0 . 0   2 7 . 4", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, "   - - . -   0 0", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " 0 0 1 0 0 1\r\0", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 1 3 4 7 6", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFA0, 52)                        = 52
5834:      r e a d :   ( 2 4 5 . 4   2 3 9 . 1   2 4 4 . 2   0 0 5   5 0 .
5834:      0   2 7 . 4   - - . -   0 0 0 0 1 0 0 1
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 1 3 7 5 9", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFF0, 60)                        = 60
5834:      u p s _ i n f o v a l _ s e t :   n o n   n u m e r i c a l   v
5834:      a l u e   [ u p s . t e m p e r a t u r e :   - - . - ]
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 1 3 9 8 1", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 17)                        = 17
5834:      u p d a t e _ s t a t u s :   O L
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 1 4 1 7 4", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 18)                        = 18
5834:      u p d a t e _ s t a t u s :   ! L B
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 1 4 5 2 5", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 19)                        = 19
5834:      u p d a t e _ s t a t u s :   ! C A L
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 5 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 1 4 7 8 8", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 19)                        = 19
5834:      u p d a t e _ s t a t u s :   ! F S D
5834:   write(2, "\n", 1)                               = 1
5834:   pollsys(0xFC9BC550, 1, 0xFC9BC608, 0x00000000) (sleeping...)
5834:   pollsys(0xFC9BC550, 1, 0xFC9BC608, 0x00000000)  = 0
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 3 8 9 9 5 8", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BC490, 20)                        = 20
5834:      u p s d r v _ u p d a t e i n f o . . .
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 3 9 1 0 4 4", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BC490, 15)                        = 15
5834:      Q u i c k   u p d a t e . . .
5834:   write(2, "\n", 1)                               = 1
5834:   write(5, 0x082DA320, 16)                        = 16
5834:      !\t\002\0\0\b\0 Q S\r\0\0\0\0\0
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 3 9 5 1 0 8", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, " s e n d :   Q S", 8)                 = 8
5834:   write(2, "\n", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " ( 2 4 5 . 4   2", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " 3 9 . 1   2 4 4", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " . 2   0 0 5   5", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " 0 . 0   2 7 . 4", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, "   - - . -   0 0", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, " 0 0 1 0 0 1\r\0", 8)                  = 8
5834:   close(9)                                        = 0
5834:   close(8)                                        = 0
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 2 2 3 5 8", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFA0, 52)                        = 52
5834:      r e a d :   ( 2 4 5 . 4   2 3 9 . 1   2 4 4 . 2   0 0 5   5 0 .
5834:      0   2 7 . 4   - - . -   0 0 0 0 1 0 0 1
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 2 4 0 0 4", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 17)                        = 17
5834:      u p d a t e _ s t a t u s :   O L
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 2 5 2 5 7", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 18)                        = 18
5834:      u p d a t e _ s t a t u s :   ! L B
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 2 6 5 2 4", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 19)                        = 19
5834:      u p d a t e _ s t a t u s :   ! C A L
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 6 1", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 7 2 7 7 3 0", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BBFC0, 19)                        = 19
5834:      u p d a t e _ s t a t u s :   ! F S D
5834:   write(2, "\n", 1)                               = 1
5834:   pollsys(0xFC9BC550, 1, 0xFC9BC608, 0x00000000) (sleeping...)
5834:   pollsys(0xFC9BC550, 1, 0xFC9BC608, 0x00000000)  = 0
5834:   write(2, "   1 6 3", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 3 9 0 4 6 7", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BC490, 20)                        = 20
5834:      u p s d r v _ u p d a t e i n f o . . .
5834:   write(2, "\n", 1)                               = 1
5834:   write(2, "   1 6 3", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 3 9 1 3 3 6", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, 0xFC9BC490, 15)                        = 15
5834:      Q u i c k   u p d a t e . . .
5834:   write(2, "\n", 1)                               = 1
5834:   write(5, 0x082DA320, 16)        (sleeping...)
5834:   write(5, 0x082DA320, 16)                        = 16
5834:      !\t\002\0\0\b\0 Q S\r\0\0\0\0\0
5834:   write(2, "   1 6 9", 4)                         = 4
5834:   write(2, " .", 1)                               = 1
5834:   write(2, " 8 5 8 9 3 0", 6)                     = 6
5834:   write(2, "\t", 1)                               = 1
5834:   write(2, " s e n d :   Q S", 8)                 = 8
5834:   write(2, "\n", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1stat", O_RDWR)  = 8
5834:   write(8, "01", 1)                               = 1
5834:   open("/dev/usb/665.5161/0/if0in1", O_RDONLY)    = 9
5834:   read(9, 0xFC9BC650, 8)          (sleeping...)
^C


More information about the Nut-upsuser mailing list