Saturday, February 21, 2026

nut, nutdrv_qx, ugen

since Stewart ignored my request, and because this information might be useful to someone , i'll post it here.
by default, nut using nutdrv_qx works in obsd for no more than 30m. this issue cannot be resolved without changes in the obsd leadership, but it can be mitigated. the idea is to minimize traffic between nut and the ups to reduce collision frequency. to do this need to increase the polling intervals from the default 2s to at least 5s(it has been working stably for me with 15s for two days). next, need to use "novendor" option in ups.conf and explicitly set the correct vendorid and productid(i'm not certain about the latter. defining them might not actually reduce the traffic). it is also advisable to physically connect the ups to a separate usb hub(preferably usb2) so that no other devices interrupt the slow ups. i can't guarantee the technical logic behind all of this, but i can guarantee that it works. the message "ugen_clear_iface_eps: clear endpoints failed!" will still appear occasionally, but it will no longer be fatal

No comments:

Post a Comment