Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tripplite USB locks on access after reset #1

Open
sdgathman opened this issue Oct 10, 2017 · 0 comments
Open

Tripplite USB locks on access after reset #1

sdgathman opened this issue Oct 10, 2017 · 0 comments

Comments

@sdgathman
Copy link
Owner

While upsreset is able to keep the tripplite talking in normal operation, it would lock up on reboot, and upsreset -r seems to not help. Finally, after resetting and restarting NUT many times, it would work.

I figured out what is happening. After resetting the USB port, attempting to access the port too soon after reset locks the port up again. I added a sleep 10 to upsreset -r, and that is enough time to let the reset work. I can probably reduce the time the UPS port power is keept off. So, I need to run upsreset -r at boot time before starting nut.

This also explains why very rarely, upsreset would fail to fix the ups. If the next access from usbhid-ups is too soon, it locks up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant