Re: [Nut-upsuser] Support for Online Yunto and Zinto

2012-01-31 Thread Arnaud Quette
2012/1/31 Charles Lepple clep...@gmail.com:
 On Jan 30, 2012, at 3:15 PM, Mario wrote:

 I have a Yunto e a Zanto ups connected with usb with id 06da:0002 and 
 06da:0601.

 I have seen that people had some success using megatec driver.

 But now megatec is replaced by blazer-usb and I am not able to use my upses
 under nut.

 Can you help me?

 Some additional information would be useful:

 http://www.networkupstools.org/support.html#_request_help

seconded. we need more info to be able to help you!

side comment:
the only USB ID related to 0x06da that is known by blazer_usb is 0x06da:0x0003

this means that you must provide vendorid and productid params to
the driver, either by using -x or by mentioning these in ups.conf:

[mydev]
driver = blazer_usb
port = auto
vendorid = 06da
productid = 0601

subdriver = ippon will probably be needed too.

Then send us back the debug output of the driver, ie (as root):
$ /path/to/blazer_usb -D -a upsname

Let it run for a minute or so, then stop it using Ctrl+C.

cheers,
Arnaud
-- 
Linux / Unix Expert RD - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] No shutdown on empty battery

2012-01-31 Thread Charles Lepple
On Jan 31, 2012, at 6:38 AM, Arnaud Quette aquette@gmail.com wrote:

 Jan  9 05:28:47 b1 upsmon[67752]: UPS upsb1@localhost on line power
 Jan  9 05:37:07 b1 upsmon[67752]: UPS upsb1@localhost on battery
 Jan  9 06:15:19 b1 syslogd: kernel boot file is /boot/kernel/kernel
 
 No other messages in between. I got similar messages on a Windows box
 running LanSafe III, so the failure did get reported correctly. However,
 the nut did not shut down the system.
 
 as told above, being on battery is not sufficient to trigger a system
 shutdown...

Arnaud,

I think the implication is that the last syslog message was after an unexpected 
reboot.

Is there a low-battery calibration procedure for this UPS?

- Charles
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Support for Online Yunto and Zinto

2012-01-31 Thread Mario
Arnaud Quette aquette.dev at gmail.com writes:

ppon will probably be needed too.
 
 Then send us back the debug output of the driver, ie (as root):
 $ /path/to/blazer_usb -D -a upsname
 
 Let it run for a minute or so, then stop it using Ctrl+C.

Sorry for missing informations:

I have ubuntu oneiric and so nut 2.6.1 installed from standard repository.

I give the command above and here is the output but unfortunately it seems to me
that there is an error:

/lib/nut/blazer_usb -D -a mieionline
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.6.1)
   0.00 send_to_all: SETINFO driver.parameter.port auto
   0.000126 send_to_all: SETINFO driver.parameter.subdriver ippon
   0.000179 send_to_all: SETINFO driver.parameter.vendorid 06da
   0.000238 send_to_all: SETINFO driver.parameter.productid 0601
   0.000315 debug level is '5'
   0.002986 Checking device (1D6B/0003) (009/001)
   0.003127 - VendorID: 1d6b
   0.003171 - ProductID: 0003
   0.003292 - Manufacturer: unknown
   0.003330 - Product: unknown
   0.003367 - Serial Number: unknown
   0.003403 - Bus: 009
   0.003440 Trying to match device
   0.003528 Device does not match - skipping
   0.003577 Checking device (1D6B/0002) (008/001)
   0.003643 - VendorID: 1d6b
   0.003682 - ProductID: 0002
   0.003719 - Manufacturer: unknown
   0.003791 - Product: unknown
   0.003831 - Serial Number: unknown
   0.003867 - Bus: 008
   0.003903 Trying to match device
   0.003943 Device does not match - skipping
   0.004023 Checking device (1D6B/0001) (007/001)
   0.004085 - VendorID: 1d6b
   0.004125 - ProductID: 0001
   0.004193 - Manufacturer: unknown
   0.004232 - Product: unknown
   0.004268 - Serial Number: unknown
   0.004304 - Bus: 007
   0.004340 Trying to match device
   0.004416 Device does not match - skipping
   0.004459 Checking device (1D6B/0001) (006/001)
   0.004519 - VendorID: 1d6b
   0.004563 - ProductID: 0001
   0.004607 - Manufacturer: unknown
   0.004643 - Product: unknown
   0.004679 - Serial Number: unknown
   0.004716 - Bus: 006
   0.004754 Trying to match device
   0.004793 Device does not match - skipping
   0.004834 Checking device (1D6B/0001) (005/001)
   0.004898 - VendorID: 1d6b
   0.004938 - ProductID: 0001
   0.004975 - Manufacturer: unknown
   0.005018 - Product: unknown
   0.005058 - Serial Number: unknown
   0.005094 - Bus: 005
   0.005130 Trying to match device
   0.005177 Device does not match - skipping
   0.005220 Checking device (1D6B/0001) (004/001)
   0.005279 - VendorID: 1d6b
   0.005372 - ProductID: 0001
   0.005388 - Manufacturer: unknown
   0.005399 - Product: unknown
   0.005409 - Serial Number: unknown
   0.005419 - Bus: 004
   0.005429 Trying to match device
   0.005511 Device does not match - skipping
   0.005525 Checking device (1D6B/0002) (003/001)
   0.005542 - VendorID: 1d6b
   0.005556 - ProductID: 0002
   0.005566 - Manufacturer: unknown
   0.005576 - Product: unknown
   0.005586 - Serial Number: unknown
   0.005596 - Bus: 003
   0.005605 Trying to match device
   0.005616 Device does not match - skipping
   0.005627 Checking device (058F/6387) (002/007)
   0.005645 - VendorID: 058f
   0.005656 - ProductID: 6387
   0.005666 - Manufacturer: unknown
   0.005676 - Product: unknown
   0.005685 - Serial Number: unknown
   0.005695 - Bus: 002
   0.005705 Trying to match device
   0.005726 Device does not match - skipping
   0.005739 Checking device (046D/C50E) (002/006)
   0.005756 - VendorID: 046d
   0.005767 - ProductID: c50e
   0.005777 - Manufacturer: unknown
   0.005790 - Product: unknown
   0.005801 - Serial Number: unknown
   0.005814 - Bus: 002
   0.005824 Trying to match device
   0.005835 Device does not match - skipping
   0.005846 Checking device (06DA/0002) (002/004)
   0.008788 - VendorID: 06da
   0.008835 - ProductID: 0002
   0.008846 - Manufacturer: ONLINE
   0.008858 - Product: YUNTO
   0.008868 - Serial Number: unknown
   0.008879 - Bus: 002
   0.00 Trying to match device
   0.008973 Device does not match - skipping
   0.009003 Checking device (06DA/0601) (002/003)
   0.009084 - VendorID: 06da
   0.009097 - ProductID: 0601
   0.009107 - Manufacturer: unknown
   0.009118 - Product: unknown
   0.009128 - Serial Number: unknown
   0.009138 - Bus: 002
   0.009148 Trying to match device
   0.009186 Device matches
   0.009210 failed to claim USB device: could not claim interface 0:
Operation not permitted
   0.009228 failed to detach kernel driver from USB device: could not detach
kernel driver from interface 0: Operation not permitted
   0.009244 failed to claim USB