[Nut-upsuser] Support for Online Yunto and Zinto

Mario Giammarco mgiammarco at gmail.com
Wed Feb 1 19:58:17 UTC 2012


Here we go!

This one for 06da:0601:

   0.000000     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: 0000: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: 0000: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: 0000: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: 0000: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: 0000: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: 0000: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: 0000: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 "blazer_usb"
   0.035225     Trying megatec protocol...
   0.037597     send: Q1
   0.286187     read: (227.0 222.0 227.0 036 50.0 27.4 60.4 00001001
   0.286284     send_to_all: SETINFO input.voltage "227.0"
   0.286309     send_to_all: SETINFO input.voltage.fault "222.0"
   0.286329     send_to_all: SETINFO output.voltage "227.0"
   0.286371     send_to_all: SETINFO ups.load "36"
   0.286388     send_to_all: SETINFO input.frequency "50.0"
   0.286409     send_to_all: SETINFO battery.voltage "27.40"
   0.286427     send_to_all: SETINFO ups.temperature "60.4"
   0.286442     send_to_all: SETINFO beeper.status "enabled"
   0.286458     send_to_all: SETINFO ups.type "offline / line interactive"
   0.286477     send_to_all: SETINFO ups.status "OL"
   0.286490     Status read in 1 tries
   0.286501     Supported UPS detected with megatec protocol
   0.289097     send: F
   0.478172     read: #220.0 003 024.0 50.0
   0.478246     send_to_all: SETINFO input.voltage.nominal "220"
   0.478267     send_to_all: SETINFO input.current.nominal "3.0"
   0.478288     send_to_all: SETINFO battery.voltage.nominal "24.0"
   0.478306     send_to_all: SETINFO input.frequency.nominal "50"
   0.478318     Ratings read in 1 tries
   0.480405     send: I
   0.622185     read: I
   0.622238     blazer_vendor: invalid start character [49]
   0.622251     Vendor information read 1 failed
   0.624344     send: I
   0.766136     read: I
   0.766183     blazer_vendor: invalid start character [49]
   0.766195     Vendor information read 2 failed
   0.768442     send: I
   0.910110     read: I
   0.910154     blazer_vendor: invalid start character [49]
   0.910167     Vendor information read 3 failed
   0.910178     Vendor information unavailable
   0.910191     Battery runtime will not be calculated (runtimecal not set)
   0.910217     send_to_all: SETINFO ups.delay.start "180"
   0.910233     send_to_all: SETINFO ups.delay.shutdown "30"
   0.910247     send_to_all: ADDCMD beeper.toggle
   0.910259     send_to_all: ADDCMD load.off
   0.910271     send_to_all: ADDCMD load.on
   0.910283     send_to_all: ADDCMD shutdown.return
   0.910296     send_to_all: ADDCMD shutdown.stayoff
   0.910308     send_to_all: ADDCMD shutdown.stop
   0.910321     send_to_all: ADDCMD test.battery.start
   0.910334     send_to_all: ADDCMD test.battery.start.deep
   0.910347     send_to_all: ADDCMD test.battery.start.quick
   0.910360     send_to_all: ADDCMD test.battery.stop
   0.912513     send: Q1
   1.166081     read: (227.0 227.0 227.0 036 50.0 27.4 60.4 00001001
   1.166154     send_to_all: SETINFO input.voltage.fault "227.0"
   1.166207     send_to_all: DATAOK
   1.166348     dstate_init: sock /var/run/nut/blazer_usb-mieionline
open on fd 5
   1.166369     send_to_all: SETINFO driver.parameter.pollinterval "2"
   1.168210     send: Q1
   1.422030     read: (226.9 226.9 226.9 035 50.0 27.4 60.4 00001001
   1.422098     send_to_all: SETINFO input.voltage "226.9"
   1.422120     send_to_all: SETINFO input.voltage.fault "226.9"
   1.422140     send_to_all: SETINFO output.voltage "226.9"
   1.422161     send_to_all: SETINFO ups.load "35"
   3.170193     send: Q1
   3.421773     read: (227.1 227.1 227.1 035 50.0 27.4 60.4 00001001
   3.421879     send_to_all: SETINFO input.voltage "227.1"
   3.421901     send_to_all: SETINFO input.voltage.fault "227.1"
   3.421922     send_to_all: SETINFO output.voltage "227.1"
   5.171788     send: Q1
   5.421688     read: (227.1 227.1 227.1 040 50.0 27.4 60.4 00001001
   5.421776     send_to_all: SETINFO ups.load "40"
   7.173601     send: Q1
   7.421350     read: (226.8 226.8 226.8 034 50.0 27.4 60.4 00001001
   7.421422     send_to_all: SETINFO input.voltage "226.8"
   7.421445     send_to_all: SETINFO input.voltage.fault "226.8"
   7.421465     send_to_all: SETINFO output.voltage "226.8"
   7.423444     send_to_all: SETINFO ups.load "34"
   9.175457     send: Q1
   9.421074     read: (226.9 226.9 226.9 036 50.0 27.4 60.4 00001001
   9.421141     send_to_all: SETINFO input.voltage "226.9"
   9.421163     send_to_all: SETINFO input.voltage.fault "226.9"
   9.421183     send_to_all: SETINFO output.voltage "226.9"
   9.421205     send_to_all: SETINFO ups.load "36"
  11.175988     send: Q1
  11.420717     read: (226.6 226.6 226.6 041 50.0 27.4 60.4 00001001
  11.420796     send_to_all: SETINFO input.voltage "226.6"
  11.420819     send_to_all: SETINFO input.voltage.fault "226.6"
  11.420840     send_to_all: SETINFO output.voltage "226.6"
  11.420861     send_to_all: SETINFO ups.load "41"
  13.177678     send: Q1
  13.420493     read: (226.5 226.6 226.6 038 50.0 27.4 60.4 00001001
  13.420559     send_to_all: SETINFO input.voltage "226.5"
  13.420593     send_to_all: SETINFO ups.load "38"
  15.179302     send: Q1
  15.436100     read: (226.7 226.7 226.7 039 50.0 27.4 60.4 00001001
  15.436221     send_to_all: SETINFO input.voltage "226.7"
  15.436274     send_to_all: SETINFO input.voltage.fault "226.7"
  15.436409     send_to_all: SETINFO output.voltage "226.7"
  15.436462     send_to_all: SETINFO ups.load "39"
  17.181454     send: Q1
  17.435942     read: (226.6 226.6 226.6 037 50.0 27.4 60.4 00001001
  17.436010     send_to_all: SETINFO input.voltage "226.6"
  17.436039     send_to_all: SETINFO input.voltage.fault "226.6"
  17.436059     send_to_all: SETINFO output.voltage "226.6"
  17.436080     send_to_all: SETINFO ups.load "37"
  19.183448     send: Q1
  19.435676     read: (226.5 226.5 226.5 035 50.0 27.4 60.4 00001001
  19.435741     send_to_all: SETINFO input.voltage "226.5"
  19.435763     send_to_all: SETINFO input.voltage.fault "226.5"
  19.435783     send_to_all: SETINFO output.voltage "226.5"
  19.435805     send_to_all: SETINFO ups.load "35"
  21.183681     send: Q1
  21.435385     read: (226.6 226.6 226.6 035 50.0 27.4 60.4 00001001
  21.435456     send_to_all: SETINFO input.voltage "226.6"
  21.435478     send_to_all: SETINFO input.voltage.fault "226.6"
  21.435499     send_to_all: SETINFO output.voltage "226.6"
  23.185874     send: Q1
  23.435072     read: (226.5 226.5 226.5 034 50.0 27.4 60.4 00001001
  23.435137     send_to_all: SETINFO input.voltage "226.5"
  23.435159     send_to_all: SETINFO input.voltage.fault "226.5"
  23.435181     send_to_all: SETINFO output.voltage "226.5"
  23.435202     send_to_all: SETINFO ups.load "34"
  25.187621     send: Q1
  25.434841     read: (226.5 226.5 226.5 036 50.0 27.4 60.4 00001001
  25.434924     send_to_all: SETINFO ups.load "36"
  27.188584     send: Q1
  27.434544     read: (226.3 226.3 226.3 035 50.0 27.4 60.4 00001001
  27.434611     send_to_all: SETINFO input.voltage "226.3"
  27.434633     send_to_all: SETINFO input.voltage.fault "226.3"
  27.434653     send_to_all: SETINFO output.voltage "226.3"
  27.434675     send_to_all: SETINFO ups.load "35"
  29.189787     send: Q1
  29.434178     read: (226.5 226.5 226.5 036 50.0 27.4 60.4 00001001
  29.434249     send_to_all: SETINFO input.voltage "226.5"
  29.434271     send_to_all: SETINFO input.voltage.fault "226.5"
  29.434292     send_to_all: SETINFO output.voltage "226.5"
  29.434314     send_to_all: SETINFO ups.load "36"
  31.191738     send: Q1
  31.450026     read: (226.3 226.3 226.3 039 50.0 27.4 60.4 00001001
  31.450091     send_to_all: SETINFO input.voltage "226.3"
  31.450114     send_to_all: SETINFO input.voltage.fault "226.3"
  31.450134     send_to_all: SETINFO output.voltage "226.3"
  31.450154     send_to_all: SETINFO ups.load "39"
  33.193844     send: Q1
  33.449923     read: (226.3 226.3 226.3 034 50.0 27.4 60.4 00001001
  33.450027     send_to_all: SETINFO ups.load "34"


2012/2/1 Arnaud Quette <aquette.dev at gmail.com>:
> 2012/2/1 Mario <mgiammarco at gmail.com>:
>> Arnaud Quette <aquette.dev <at> gmail.com> writes:
>>
>>> so you should also use "sudo", Ie:
>>>   $ sudo /path/to/blazer_usb -DDDDD -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?
>
> I forgot a point: since your USB IDs are not yet known, udev rules are
> not there.
> So try running as root using:
> $ /path/to/blazer_usb -u root -DDDDD -a <upsname>
> $ upsd -u root
>
> and you should be done.
>
> cheers,
> Arnaud
> --
> Linux / Unix Expert R&D - 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/



More information about the Nut-upsuser mailing list