[Nut-upsuser] Generic UPS driver

Ariel Wainer ari at ariwainer.com.ar
Fri Jan 10 21:46:24 UTC 2014


On 10/01/14 01:53, Charles Lepple wrote:
> I am curious about why the Interrupt Out packet is sent by the Windows software if it isn't to turn off the UPS. Is it possible to do some more testing with shorter timeouts so that the battery doesn't get depleted? You would need to record the exact time when it shuts down, I think.

Sure, I will do the test during the weekend.
I'm not sure if it's related, but, using the driver these days I noted
that I sometimes the connection to the ups drops and resets, like this,
while I hear the click sound of a relay:

[15144.189549] usb 4-2: USB disconnect, device number 112
[15144.484861] usb 4-2: new low-speed USB device number 113 using xhci_hcd
[15144.506553] usb 4-2: New USB device found, idVendor=0001, idProduct=0000
[15144.506565] usb 4-2: New USB device strings: Mfr=1, Product=1,
SerialNumber=1
[15144.506572] usb 4-2: Product: ATCL FOR UPS
[15144.506578] usb 4-2: Manufacturer: ATCL FOR UPS
[15144.506583] usb 4-2: SerialNumber: ATCL FOR UPS
[15144.506859] usb 4-2: ep 0x81 - rounding interval to 64 microframes,
ep desc says 80 microframes
[15144.506870] usb 4-2: ep 0x2 - rounding interval to 64 microframes, ep
desc says 80 microframes
[15144.509193] usb 4-2: can't set config #1, error -71
[15144.509285] usb 4-2: USB disconnect, device number 113
[15144.836678] usb 4-2: new low-speed USB device number 114 using xhci_hcd
[15144.858396] usb 4-2: New USB device found, idVendor=0001, idProduct=0000
[15144.858406] usb 4-2: New USB device strings: Mfr=1, Product=1,
SerialNumber=1
[15144.858411] usb 4-2: Product: ATCL FOR UPS
[15144.858416] usb 4-2: Manufacturer: ATCL FOR UPS
[15144.858421] usb 4-2: SerialNumber: ATCL FOR UPS
[15144.858661] usb 4-2: ep 0x81 - rounding interval to 64 microframes,
ep desc says 80 microframes
[15144.858671] usb 4-2: ep 0x2 - rounding interval to 64 microframes, ep
desc says 80 microframes
[15144.863247] hid-generic 0003:0001:0000.0005: hiddev0,hidraw2: USB HID
v1.11 Device [ATCL FOR UPS ATCL FOR UPS] on usb-0000:04:00.0-2/input0
[15415.323846] usb 4-2: USB disconnect, device number 114
[15415.618624] usb 4-2: new low-speed USB device number 115 using xhci_hcd
[15415.640176] usb 4-2: New USB device found, idVendor=0001, idProduct=0000
[15415.640188] usb 4-2: New USB device strings: Mfr=1, Product=1,
SerialNumber=1
[15415.640195] usb 4-2: Product: ATCL FOR UPS
[15415.640200] usb 4-2: Manufacturer: ATCL FOR UPS
[15415.640205] usb 4-2: SerialNumber: ATCL FOR UPS
[15415.640464] usb 4-2: ep 0x81 - rounding interval to 64 microframes,
ep desc says 80 microframes
[15415.640475] usb 4-2: ep 0x2 - rounding interval to 64 microframes, ep
desc says 80 microframes
[15415.642844] usb 4-2: can't set config #1, error -71
[15415.642926] usb 4-2: USB disconnect, device number 115
[15415.970430] usb 4-2: new low-speed USB device number 116 using xhci_hcd
[15415.992067] usb 4-2: New USB device found, idVendor=0001, idProduct=0000
[15415.992077] usb 4-2: New USB device strings: Mfr=1, Product=1,
SerialNumber=1
[15415.992082] usb 4-2: Product: ATCL FOR UPS
[15415.992087] usb 4-2: Manufacturer: ATCL FOR UPS
[15415.992092] usb 4-2: SerialNumber: ATCL FOR UPS
[15415.992314] usb 4-2: ep 0x81 - rounding interval to 64 microframes,
ep desc says 80 microframes
[15415.992323] usb 4-2: ep 0x2 - rounding interval to 64 microframes, ep
desc says 80 microframes
[15415.996924] hid-generic 0003:0001:0000.0006: hiddev0,hidraw2: USB HID
v1.11 Device [ATCL FOR UPS ATCL FOR UPS] on usb-0000:04:00.0-2/input0




> Also, I quickly put together a man page:
>
> http://buildbot.networkupstools.org/~buildbot/cayman/docs/r17df4ff7b73aa76d01e168c6d4bc4f017193443a-116/man/nutdrv_atcl_usb.html
>
> Let me know if I should add anything.
>

Looks fine to me.



More information about the Nut-upsuser mailing list