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

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

 so you should also use sudo, Ie:
   $ sudo /path/to/blazer_usb -D -a upsname
 
Unfortunately I am already root, I have enabled the root account. I have also
tried to kill processes that may lock usb but with no luck.

What can I do?

Thanks,
Mario



___
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-02-01 Thread Gerhard Strangar
Arnaud Quette wrote (2012-01-31 12:38):

 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
 as told above, being on battery is not sufficient to trigger a system
 shutdown...

The boot file line means that the system rebooted. And after reboot,
the /etc/kill-power file still existed, so I guess it did not work properly.

 a good test to do is:
 - to shutdown your computer and unplug it from the UPS. You may want
 to put a light bulb on the UPS instead of the computer,
 - restart everything, then issue a power failure,
 - check that NUT sees both OB (on battery) and most of LB (low
 battery) flags in ups.status.
 upsmon will also notify you, as you've already seen.

I'll try to do that with a second UPS. But I thought maybe someone else
is using a Powerware 5 series with nut and he could tell me if it works
or not.

What I don't understand is, why low battery is used for shutdown.
neither nut nor the UPS know how long it takes to properly shutdown the
system, so why wait until it might be too late?

___
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-02-01 Thread Mario Giammarco
Here we go!

This one for 06da:0601:

   0.00 send_to_all: SETINFO driver.parameter.port auto
   0.000117 send_to_all: SETINFO driver.parameter.subdriver ippon
   0.000179 send_to_all: SETINFO driver.parameter.vendorid 06da
   0.000230 send_to_all: SETINFO driver.parameter.productid 0601
   0.000315 debug level is '5'
   0.002600 Checking device (1D6B/0003) (009/001)
   0.002832 - VendorID: 1d6b
   0.002879 - ProductID: 0003
   0.002916 - Manufacturer: Linux 3.0.0-16-generic xhci_hcd
   0.002955 - Product: xHCI Host Controller
   0.002992 - Serial Number: :03:00.0
   0.003028 - Bus: 009
   0.003063 Trying to match device
   0.003118 Device does not match - skipping
   0.003165 Checking device (1D6B/0002) (008/001)
   0.003245 - VendorID: 1d6b
   0.003285 - ProductID: 0002
   0.003321 - Manufacturer: Linux 3.0.0-16-generic xhci_hcd
   0.003417 - Product: xHCI Host Controller
   0.003453 - Serial Number: :03:00.0
   0.003489 - Bus: 008
   0.003524 Trying to match device
   0.003562 Device does not match - skipping
   0.003604 Checking device (1D6B/0001) (007/001)
   0.003677 - VendorID: 1d6b
   0.003716 - ProductID: 0001
   0.003751 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.003787 - Product: OHCI Host Controller
   0.003823 - Serial Number: :00:16.0
   0.003859 - Bus: 007
   0.003894 Trying to match device
   0.003932 Device does not match - skipping
   0.003974 Checking device (1D6B/0001) (006/001)
   0.004045 - VendorID: 1d6b
   0.004083 - ProductID: 0001
   0.004118 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.004154 - Product: OHCI Host Controller
   0.004190 - Serial Number: :00:14.5
   0.004226 - Bus: 006
   0.004260 Trying to match device
   0.004299 Device does not match - skipping
   0.004340 Checking device (1D6B/0001) (005/001)
   0.004410 - VendorID: 1d6b
   0.004454 - ProductID: 0001
   0.004489 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.004526 - Product: OHCI Host Controller
   0.004562 - Serial Number: :00:13.0
   0.004834 - Bus: 005
   0.004872 Trying to match device
   0.004911 Device does not match - skipping
   0.004954 Checking device (1D6B/0001) (004/001)
   0.005027 - VendorID: 1d6b
   0.005065 - ProductID: 0001
   0.005101 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.005138 - Product: OHCI Host Controller
   0.005174 - Serial Number: :00:12.0
   0.005211 - Bus: 004
   0.005248 Trying to match device
   0.005288 Device does not match - skipping
   0.005329 Checking device (1D6B/0002) (003/001)
   0.005449 - VendorID: 1d6b
   0.005524 - ProductID: 0002
   0.005560 - Manufacturer: Linux 3.0.0-16-generic ehci_hcd
   0.005597 - Product: EHCI Host Controller
   0.005634 - Serial Number: :00:16.2
   0.005670 - Bus: 003
   0.005705 Trying to match device
   0.005744 Device does not match - skipping
   0.005787 Checking device (058F/6387) (002/006)
   0.008028 - VendorID: 058f
   0.008069 - ProductID: 6387
   0.008080 - Manufacturer: Generic
   0.008092 - Product: Mass Storage
   0.008103 - Serial Number: FFB279FA
   0.010059 - Bus: 002
   0.010090 Trying to match device
   0.010168 Device does not match - skipping
   0.010201 Checking device (046D/C50E) (002/005)
   0.017189 - VendorID: 046d
   0.017231 - ProductID: c50e
   0.017241 - Manufacturer: Logitech
   0.017252 - Product: USB Receiver
   0.017262 - Serial Number: unknown
   0.017272 - Bus: 002
   0.017282 Trying to match device
   0.017304 Device does not match - skipping
   0.017330 Checking device (06DA/0002) (002/004)
   0.020214 - VendorID: 06da
   0.020359 - ProductID: 0002
   0.020370 - Manufacturer: ONLINE
   0.020382 - Product: YUNTO
   0.020392 - Serial Number: unknown
   0.020402 - Bus: 002
   0.020412 Trying to match device
   0.020496 Device does not match - skipping
   0.020528 Checking device (06DA/0601) (002/003)
   0.032763 - VendorID: 06da
   0.032814 - ProductID: 0601
   0.032825 - Manufacturer: ONLINE
   0.032835 - Product: ZINTO
   0.032848 - Serial Number: unknown
   0.032858 - Bus: 002
   0.032868 Trying to match device
   0.032939 Device matches
   0.033027 failed to claim USB device: could not claim interface
0: Device or resource busy
   0.033429 detached kernel driver from USB device...
   0.035076 send_to_all: SETINFO ups.vendorid 06da
   0.035123 send_to_all: SETINFO ups.productid 0601
   0.035153 send_to_all: SETINFO device.type ups
   0.035182 send_to_all: SETINFO driver.version 2.6.1
   0.035198 send_to_all: SETINFO driver.version.internal 0.03
   0.035213 send_to_all: SETINFO driver.name 

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

2012-02-01 Thread Mario Giammarco
And for 06da:0002:

   0.00 send_to_all: SETINFO driver.parameter.port auto
   0.000198 send_to_all: SETINFO driver.parameter.subdriver ippon
   0.000248 send_to_all: SETINFO driver.parameter.vendorid 06da
   0.000332 send_to_all: SETINFO driver.parameter.productid 0002
   0.000415 debug level is '5'
   0.002832 Checking device (1D6B/0003) (009/001)
   0.003011 - VendorID: 1d6b
   0.003058 - ProductID: 0003
   0.003096 - Manufacturer: Linux 3.0.0-16-generic xhci_hcd
   0.003134 - Product: xHCI Host Controller
   0.003170 - Serial Number: :03:00.0
   0.003245 - Bus: 009
   0.003322 Trying to match device
   0.003373 Device does not match - skipping
   0.003419 Checking device (1D6B/0002) (008/001)
   0.003495 - VendorID: 1d6b
   0.003536 - ProductID: 0002
   0.003571 - Manufacturer: Linux 3.0.0-16-generic xhci_hcd
   0.003608 - Product: xHCI Host Controller
   0.003681 - Serial Number: :03:00.0
   0.003718 - Bus: 008
   0.003753 Trying to match device
   0.003798 Device does not match - skipping
   0.003847 Checking device (1D6B/0001) (007/001)
   0.003919 - VendorID: 1d6b
   0.003967 - ProductID: 0001
   0.004014 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.004050 - Product: OHCI Host Controller
   0.004085 - Serial Number: :00:16.0
   0.004128 - Bus: 007
   0.004171 Trying to match device
   0.004209 Device does not match - skipping
   0.004348 Checking device (1D6B/0001) (006/001)
   0.004424 - VendorID: 1d6b
   0.004469 - ProductID: 0001
   0.004504 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.004550 - Product: OHCI Host Controller
   0.004593 - Serial Number: :00:14.5
   0.004629 - Bus: 006
   0.004671 Trying to match device
   0.004719 Device does not match - skipping
   0.004761 Checking device (1D6B/0001) (005/001)
   0.004831 - VendorID: 1d6b
   0.004872 - ProductID: 0001
   0.004907 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.004950 - Product: OHCI Host Controller
   0.004996 - Serial Number: :00:13.0
   0.005032 - Bus: 005
   0.005067 Trying to match device
   0.005107 Device does not match - skipping
   0.005149 Checking device (1D6B/0001) (004/001)
   0.005245 - VendorID: 1d6b
   0.005292 - ProductID: 0001
   0.005328 - Manufacturer: Linux 3.0.0-16-generic ohci_hcd
   0.005364 - Product: OHCI Host Controller
   0.005404 - Serial Number: :00:12.0
   0.005446 - Bus: 004
   0.005482 Trying to match device
   0.005520 Device does not match - skipping
   0.005560 Checking device (1D6B/0002) (003/001)
   0.005633 - VendorID: 1d6b
   0.005672 - ProductID: 0002
   0.005709 - Manufacturer: Linux 3.0.0-16-generic ehci_hcd
   0.005755 - Product: EHCI Host Controller
   0.005790 - Serial Number: :00:16.2
   0.005825 - Bus: 003
   0.005870 Trying to match device
   0.005908 Device does not match - skipping
   0.005949 Checking device (058F/6387) (002/006)
   0.008146 - VendorID: 058f
   0.008226 - ProductID: 6387
   0.008266 - Manufacturer: Generic
   0.008310 - Product: Mass Storage
   0.008350 - Serial Number: FFB279FA
   0.008386 - Bus: 002
   0.008421 Trying to match device
   0.008510 Device does not match - skipping
   0.008562 Checking device (046D/C50E) (002/005)
   0.015983 - VendorID: 046d
   0.016030 - ProductID: c50e
   0.016041 - Manufacturer: Logitech
   0.016052 - Product: USB Receiver
   0.016062 - Serial Number: unknown
   0.016072 - Bus: 002
   0.016081 Trying to match device
   0.016103 Device does not match - skipping
   0.016130 Checking device (06DA/0002) (002/004)
   0.019975 - VendorID: 06da
   0.020496 - ProductID: 0002
   0.020540 - Manufacturer: ONLINE
   0.020578 - Product: YUNTO
   0.020622 - Serial Number: unknown
   0.020659 - Bus: 002
   0.020695 Trying to match device
   0.020829 Device matches
   0.020908 failed to claim USB device: could not claim interface
0: Device or resource busy
   0.141642 detached kernel driver from USB device...
   0.143605 send_to_all: SETINFO ups.vendorid 06da
   0.143653 send_to_all: SETINFO ups.productid 0002
   0.143686 send_to_all: SETINFO device.type ups
   0.143718 send_to_all: SETINFO driver.version 2.6.1
   0.143734 send_to_all: SETINFO driver.version.internal 0.03
   0.143748 send_to_all: SETINFO driver.name blazer_usb
   0.143761 Trying megatec protocol...
   0.144436 send: Q1
   1.145382 read: Connection timed out
   1.145429 blazer_status: short reply
   1.145442 Status read 1 failed
   1.146106 send: Q1
   2.147258 read: Connection timed out
   2.147308 blazer_status: short reply
   2.147320 Status read 2 failed
   2.147972 send: Q1