[Nut-upsuser] nutdrv_atcl_usb
Jakub
jakub.scepka at gmail.com
Fri Mar 6 12:19:04 UTC 2015
It seems like it works (partially?) with NUT/driver you mentioned.
I will test it more when I return home.
root at Failure:/lib/nut# ./nutdrv_qx -a test -x subdriver=fuji -u root -x
productid=0000 -x vendorid=0001 -DDDDDD
Network UPS Tools - Generic Q* USB/Serial driver 0.13 (2.7.2.5)
USB communication driver 0.32
0.000000 debug level is '6'
0.001247 upsdrv_initups...
0.311772 Checking device (1D6B/0001) (008/001)
0.335913 - VendorID: 1d6b
0.335937 - ProductID: 0001
0.335948 - Manufacturer: Linux 3.16.0-31-generic uhci_hcd
0.335959 - Product: UHCI Host Controller
0.335968 - Serial Number: 0000:00:1d.2
0.335978 - Bus: 008
0.335987 Trying to match device
0.336008 Device does not match - skipping
0.336099 Checking device (1D6B/0001) (007/001)
0.359946 - VendorID: 1d6b
0.359970 - ProductID: 0001
0.359981 - Manufacturer: Linux 3.16.0-31-generic uhci_hcd
0.359991 - Product: UHCI Host Controller
0.360001 - Serial Number: 0000:00:1d.1
0.360010 - Bus: 007
0.360019 Trying to match device
0.360032 Device does not match - skipping
0.360118 Checking device (0001/0000) (006/002)
0.398370 - VendorID: 0001
0.398393 - ProductID: 0000
0.398403 - Manufacturer: ATCL FOR UPS
0.398413 - Product: ATCL FOR UPS
0.398422 - Serial Number: ATCL FOR UPS
0.398431 - Bus: 006
0.398440 Trying to match device
0.398516 Device matches
0.398548 failed to claim USB device: could not claim interface 0:
Device or resource busy
0.398585 detached kernel driver from USB device...
0.398627 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
0.398652 send_to_all: SETINFO ups.vendorid "0001"
0.398667 send_to_all: SETINFO ups.productid "0000"
0.398711 command: (8 bytes) => 80 06 04 03 51 47 53 00
0.403387 send: QGS
1.406382 read: could not claim interface 0: Device or resource busy
(-110)
1.406443 qx_process_answer: short reply (input.voltage)
1.406477 command: (8 bytes) => 80 06 04 03 51 47 53 00
1.411388 send: QGS
2.413380 read: could not claim interface 0: Device or resource busy
(-110)
2.413421 qx_process_answer: short reply (input.voltage)
2.413452 command: (8 bytes) => 80 06 04 03 51 47 53 00
2.419388 send: QGS
3.421378 read: could not claim interface 0: Device or resource busy
(-110)
3.421417 qx_process_answer: short reply (input.voltage)
3.421442 command: (8 bytes) => 80 06 02 03 4d 00 00 00
3.427373 send: M
4.429381 read: could not claim interface 0: Device or resource busy
(-110)
4.429439 qx_process_answer: short reply (ups.firmware.aux)
4.429467 command: (8 bytes) => 80 06 02 03 4d 00 00 00
4.435376 send: M
5.437377 read: could not claim interface 0: Device or resource busy
(-110)
5.437461 qx_process_answer: short reply (ups.firmware.aux)
5.437524 command: (8 bytes) => 80 06 02 03 4d 00 00 00
5.443380 send: M
6.445376 read: could not claim interface 0: Device or resource busy
(-110)
6.445418 qx_process_answer: short reply (ups.firmware.aux)
6.445444 command: (8 bytes) => 80 06 02 03 4d 00 00 00
6.451412 send: M
7.454378 read: could not claim interface 0: Device or resource busy
(-110)
7.454441 qx_process_answer: short reply (ups.firmware.aux)
7.454469 command: (8 bytes) => 80 06 02 03 4d 00 00 00
7.459388 send: M
8.462379 read: could not claim interface 0: Device or resource busy
(-110)
8.462427 qx_process_answer: short reply (ups.firmware.aux)
8.462452 command: (8 bytes) => 80 06 02 03 4d 00 00 00
8.467379 send: M
9.469379 read: could not claim interface 0: Device or resource busy
(-110)
9.469420 qx_process_answer: short reply (ups.firmware.aux)
9.469446 command: (8 bytes) => 80 06 03 03 51 53 00 00
9.475378 send: QS
10.477351 read: could not claim interface 0: Device or resource busy
(-110)
10.477387 qx_process_answer: short reply (input.voltage)
10.477402 command: (8 bytes) => 80 06 03 03 51 53 00 00
10.483349 send: QS
11.485378 read: could not claim interface 0: Device or resource busy
(-110)
11.485419 qx_process_answer: short reply (input.voltage)
11.485447 command: (8 bytes) => 80 06 03 03 51 53 00 00
11.491377 send: QS
12.494391 read: could not claim interface 0: Device or resource busy
(-110)
12.494430 qx_process_answer: short reply (input.voltage)
12.494456 command: (8 bytes) => 80 06 02 03 44 00 00 00
12.499380 send: D
13.501395 read: could not claim interface 0: Device or resource busy
(-110)
13.501554 qx_process_answer: short reply (input.voltage)
13.501628 command: (8 bytes) => 80 06 02 03 44 00 00 00
13.507372 send: D
14.509379 read: could not claim interface 0: Device or resource busy
(-110)
14.509421 qx_process_answer: short reply (input.voltage)
14.509449 command: (8 bytes) => 80 06 02 03 44 00 00 00
14.515374 send: D
15.518396 read: could not claim interface 0: Device or resource busy
(-110)
15.518483 qx_process_answer: short reply (input.voltage)
15.518573 command: (8 bytes) => 80 06 03 03 51 31 00 2f
15.523373 send: Q1
15.739400 read [ 0]: (8 bytes) => 28 32 34 30 2e 30 20 30
15.747379 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
15.755379 read [ 16]: (8 bytes) => 2e 30 20 30 30 37 20 35
15.763389 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
15.771384 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
15.779383 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
15.779408 read: (240.0 000.0 240.0 007 50.0 40.5 29.0 00001001
15.779506 send_to_all: SETINFO input.voltage "240.0"
15.779532 command: (8 bytes) => 80 06 04 03 51 50 49 00
15.787384 send: QPI
16.789375 read: could not claim interface 0: Device or resource busy
(-110)
16.789416 qx_process_answer: short reply (ups.firmware.aux)
16.789437 send_to_all: DELINFO input.voltage
16.789460 command: (8 bytes) => 80 06 03 03 51 31 00 2f
16.795377 send: Q1
17.011385 read [ 0]: (8 bytes) => 28 32 34 30 2e 30 20 30
17.019380 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 33 39
17.027380 read [ 16]: (8 bytes) => 2e 30 20 30 30 35 20 35
17.035405 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
17.043400 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
17.051382 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
17.051406 read: (240.0 000.0 239.0 005 50.0 40.5 29.0 00001001
17.051463 send_to_all: SETINFO input.voltage "240.0"
17.051489 command: (8 bytes) => 80 06 04 03 51 50 49 00
17.059389 send: QPI
18.061374 read: could not claim interface 0: Device or resource busy
(-110)
18.061413 qx_process_answer: short reply (ups.firmware.aux)
18.061433 send_to_all: DELINFO input.voltage
18.061456 command: (8 bytes) => 80 06 03 03 51 31 00 2f
18.067390 send: Q1
18.283398 read [ 0]: (8 bytes) => 28 32 34 32 2e 30 20 30
18.291380 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 33 39
18.299385 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
18.307383 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
18.315383 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
18.323382 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
18.323408 read: (242.0 000.0 239.0 006 50.0 40.5 29.0 00001001
18.323463 send_to_all: SETINFO input.voltage "242.0"
18.323489 command: (8 bytes) => 80 06 04 03 51 50 49 00
18.331391 send: QPI
19.333377 read: could not claim interface 0: Device or resource busy
(-110)
19.333419 qx_process_answer: short reply (ups.firmware.aux)
19.333441 send_to_all: DELINFO input.voltage
19.333464 command: (8 bytes) => 80 06 03 03 51 31 00 2f
19.339373 send: Q1
19.555383 read [ 0]: (8 bytes) => 28 32 34 30 2e 30 20 30
19.563390 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
19.571387 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
19.579390 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
19.587388 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
19.595386 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
19.595410 read: (240.0 000.0 240.0 006 50.0 40.5 29.0 00001001
19.595488 send_to_all: SETINFO input.voltage "240.0"
19.595521 command: (8 bytes) => 80 06 02 03 49 00 00 27
19.603347 send: I
19.779398 read [ 0]: (8 bytes) => 23 20 20 20 20 20 20 20
19.787386 read [ 8]: (8 bytes) => 20 20 20 20 20 20 20 20
19.795388 read [ 16]: (8 bytes) => 20 32 30 30 30 56 41 20
19.803388 read [ 24]: (8 bytes) => 20 20 20 20 56 32 2e 30
19.811387 read [ 32]: (8 bytes) => 20 20 20 20 20 20 0d 00
19.811410 read: # 2000VA V2.0
19.811486 send_to_all: SETINFO ups.firmware "V2.0"
19.811504 Using protocol: Megatec 0.02
19.811526 send_to_all: SETINFO device.type "ups"
19.811543 send_to_all: SETINFO driver.version "2.7.2.5"
19.811561 send_to_all: SETINFO driver.version.internal "0.13"
19.811577 send_to_all: SETINFO driver.name "nutdrv_qx"
19.811589 upsdrv_initinfo...
19.811605 send_to_all: SETINFO driver.version.data "Megatec 0.02"
19.811629 command: (8 bytes) => 80 06 03 03 51 31 00 2f
19.819391 send: Q1
20.035394 read [ 0]: (8 bytes) => 28 32 34 30 2e 30 20 30
20.043384 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
20.051391 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
20.059389 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
20.067386 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
20.075385 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
20.075409 read: (240.0 000.0 240.0 006 50.0 40.5 29.0 00001001
20.075463 send_to_all: SETINFO input.voltage.fault "0.0"
20.075515 send_to_all: SETINFO output.voltage "240.0"
20.075543 send_to_all: SETINFO ups.load "6"
20.075569 send_to_all: SETINFO input.frequency "50.0"
20.075596 send_to_all: SETINFO battery.voltage "40.50"
20.075632 send_to_all: SETINFO ups.temperature "29.0"
20.075652 update_status: OL
20.075667 update_status: !LB
20.075704 send_to_all: SETINFO ups.type "offline / line interactive"
20.075724 update_status: !CAL
20.075752 update_status: !FSD
20.075776 send_to_all: SETINFO ups.beeper.status "enabled"
20.075799 command: (8 bytes) => 80 06 02 03 46 00 00 16
20.083381 send: F
20.187385 read [ 0]: (8 bytes) => 23 32 33 30 2e 30 20 35
20.195383 read [ 8]: (8 bytes) => 2e 32 20 33 36 2e 30 30
20.203389 read [ 16]: (8 bytes) => 20 35 30 2e 30 0d 00 00
20.203414 read: #230.0 5.2 36.00 50.0
20.203468 send_to_all: SETINFO input.voltage.nominal "230"
20.203562 send_to_all: SETINFO input.current.nominal "5.2"
20.203592 send_to_all: SETINFO battery.voltage.nominal "36.0"
20.203617 send_to_all: SETINFO input.frequency.nominal "50"
20.203639 command: (8 bytes) => 80 06 02 03 49 00 00 27
20.211397 send: I
20.387390 read [ 0]: (8 bytes) => 23 20 20 20 20 20 20 20
20.395389 read [ 8]: (8 bytes) => 20 20 20 20 20 20 20 20
20.403380 read [ 16]: (8 bytes) => 20 32 30 30 30 56 41 20
20.411383 read [ 24]: (8 bytes) => 20 20 20 20 56 32 2e 30
20.419387 read [ 32]: (8 bytes) => 20 20 20 20 20 20 0d 00
20.419412 read: # 2000VA V2.0
20.419541 ups_infoval_set: non significant value [device.mfr]
20.419572 send_to_all: SETINFO device.model "2000VA"
20.419591 send_to_all: ADDCMD beeper.toggle
20.419607 send_to_all: ADDCMD load.off
20.419633 send_to_all: ADDCMD load.on
20.419649 send_to_all: ADDCMD shutdown.return
20.419664 send_to_all: ADDCMD shutdown.stayoff
20.419678 send_to_all: ADDCMD shutdown.stop
20.419693 send_to_all: ADDCMD test.battery.start
20.419707 send_to_all: ADDCMD test.battery.start.deep
20.419722 send_to_all: ADDCMD test.battery.start.quick
20.419736 send_to_all: ADDCMD test.battery.stop
20.419752 send_to_all: SETINFO ups.delay.start "180"
20.419768 send_to_all: SETFLAGS ups.delay.start RW
20.419788 send_to_all: ADDRANGE ups.delay.start 0 599940
20.419805 send_to_all: SETINFO ups.delay.shutdown "30"
20.419820 send_to_all: SETFLAGS ups.delay.shutdown RW
20.419836 send_to_all: ADDRANGE ups.delay.shutdown 12 600
20.419852 No values for battery high/low voltages
20.419871 send_to_all: SETINFO battery.voltage.low "31.20"
20.419888 send_to_all: SETINFO battery.voltage.high "39.00"
20.419903 Using 'guesstimation' (low: 31.200000, high: 39.000000)!
20.419923 send_to_all: SETINFO battery.charge "100"
20.419938 Battery runtime will not be calculated (runtimecal not set)
20.419964 send_to_all: SETINFO driver.parameter.pollfreq "30"
20.419984 upsdrv_updateinfo...
20.419995 Quick update...
20.420013 command: (8 bytes) => 80 06 03 03 51 31 00 2f
20.427379 send: Q1
20.643391 read [ 0]: (8 bytes) => 28 32 34 32 2e 30 20 30
20.651389 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
20.659389 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
20.667385 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
20.675383 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
20.683381 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
20.683473 read: (242.0 000.0 240.0 006 50.0 40.5 29.0 00001001
20.683530 update_status: OL
20.683655 update_status: !LB
20.683713 update_status: !CAL
20.683771 update_status: !FSD
20.683829 send_to_all: SETINFO ups.status "OL"
20.683882 send_to_all: DATAOK
20.684078 dstate_init: sock /var/state/ups/nutdrv_qx-test open on fd 5
20.684148 send_to_all: SETINFO driver.parameter.pollinterval "2"
20.684200 upsdrv_updateinfo...
20.684249 Quick update...
20.684311 command: (8 bytes) => 80 06 03 03 51 31 00 2f
20.691381 send: Q1
20.907387 read [ 0]: (8 bytes) => 28 32 34 32 2e 30 20 30
20.915384 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
20.923398 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
20.931380 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
20.939384 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
20.947383 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
20.947408 read: (242.0 000.0 240.0 006 50.0 40.5 29.0 00001001
20.947426 update_status: OL
20.947465 update_status: !LB
20.947488 update_status: !CAL
20.947503 update_status: !FSD
22.686008 upsdrv_updateinfo...
22.686055 Quick update...
22.686083 command: (8 bytes) => 80 06 03 03 51 31 00 2f
22.691376 send: Q1
22.907392 read [ 0]: (8 bytes) => 28 32 34 32 2e 30 20 30
22.915390 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
22.923388 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
22.931387 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
22.939386 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
22.947385 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
22.947412 read: (242.0 000.0 240.0 006 50.0 40.5 29.0 00001001
22.947431 update_status: OL
22.947483 update_status: !LB
22.947505 update_status: !CAL
22.947521 update_status: !FSD
24.687809 upsdrv_updateinfo...
24.687853 Quick update...
24.687879 command: (8 bytes) => 80 06 03 03 51 31 00 2f
24.691375 send: Q1
24.907352 read [ 0]: (8 bytes) => 28 32 34 30 2e 30 20 30
24.915384 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
24.923390 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
24.931384 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
24.939382 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
24.947392 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
24.947502 read: (240.0 000.0 240.0 006 50.0 40.5 29.0 00001001
24.947613 update_status: OL
24.947668 update_status: !LB
24.947725 update_status: !CAL
24.947779 update_status: !FSD
26.689610 upsdrv_updateinfo...
26.689659 Quick update...
26.689687 command: (8 bytes) => 80 06 03 03 51 31 00 2f
26.691392 send: Q1
26.907389 read [ 0]: (8 bytes) => 28 32 34 32 2e 30 20 30
26.915392 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 30
26.923400 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
26.931383 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
26.939388 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
26.947399 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
26.947425 read: (242.0 000.0 240.0 006 50.0 40.5 29.0 00001001
26.947468 update_status: OL
26.947489 update_status: !LB
26.947555 update_status: !CAL
26.947576 update_status: !FSD
28.691422 upsdrv_updateinfo...
28.691490 Quick update...
28.691518 command: (8 bytes) => 80 06 03 03 51 31 00 2f
28.699395 send: Q1
28.915393 read [ 0]: (8 bytes) => 28 32 34 30 2e 30 20 30
28.923384 read [ 8]: (8 bytes) => 30 30 2e 30 20 32 34 32
28.931395 read [ 16]: (8 bytes) => 2e 30 20 30 30 36 20 35
28.939386 read [ 24]: (8 bytes) => 30 2e 30 20 34 30 2e 35
28.947395 read [ 32]: (8 bytes) => 20 32 39 2e 30 20 30 30
28.955388 read [ 40]: (8 bytes) => 30 30 31 30 30 31 0d 00
28.955487 read: (240.0 000.0 242.0 006 50.0 40.5 29.0 00001001
28.955546 update_status: OL
28.955603 update_status: !LB
28.955661 update_status: !CAL
28.955716 update_status: !FSD
30.693225 upsdrv_updateinfo...
30.693271 Quick update...
More information about the Nut-upsuser
mailing list