@xantonin Hello again and thanks for the report. From the logs it looks like this driver is complaining about not having a port entry. I think this can result from the wrong driver being selected. Which one did you select during the NUT-UPS configuration? And what type of cable connects your Rockstor machine to the UPS?
From the link provided on the configuration page Hardware compatibility list for guidance which doesn’t list your model specifically, it is worth trying the usbhid-ups driver; assuming of course your cable interconnect is USB.
This device is known to work with driver usbhid-ups.
so it looks like this is the one to go for when using USB interconnect which is much preferred anyway. Plus that driver should work with the ‘auto’ port setting and has a higher ‘Support level’ rating on that first page than the alternative apcsmart driver.
Hi, thanks again for the reply! Sorry for the missing details; I was using the “apcsmart” driver which I thought was correct from researching the hardware compatibility guide, but I think I’ll try the usbhid-ups driver. It is USB connected.
I got the same error though - however I see now that I am leaving the “port” field blank. I thought that the auto listed in the field was populated.
Looks like I have to actually type in auto. So, just an end user/UI error. I didn’t go back and test if “apcsmart” would work if I manually typed auto, but it probably would.
@xantonin Yes the greyed out entries are suggestions and in this case it is a little tricky as each driver has different options it can work with for port and I don’t think the apcsmart driver does support the auto setting so don’t think that is worth trying, also it’s a less highly rated driver so probably best to stick with usbhid-ups; even though it’s more generic.
You should be good to just type the suggested auto and Submit the change as the rest looks good. Nice to see someone using the netserver mode by the way.
Thanks for the update and we could probably do better on the user prompts here. I am due to revisit / extend this interface in time but that will probably not be for a while yet.
For what its worth, the grayed out “auto” setting had me scratching my head too. When you know that a grayed out text is a suggestion, this method of presenting the information is very intuitive. If you don’t know that grayed out test is a suggestion but think it is a default, it can be irritating.
As I’m not super familiar with all of the possibilities of configuring services, is it ever appropriate to leave that field blank? If not, perhaps an asterisk should appear when you click on the submit button and indicate that it needs to be manually filled out. On the other hand, forcing someone to fill stuff out that isn’t really required is just as irritating, especially if it causes the setup to fail. Maybe issue a pop up stating that it looks like indicated fields are blank and suggest that the user fill it in but have a, “No, I really do want to submit this configuration as-is!” button would be appropriate.
I have an APC Smart-UPS 1000VA: I scanned down the Hardware Compatibility List and saw that I needed the apcsmart driver for my Smart-UPS. This didn’t work for me, but I found this thread and tried the usbhid-ups (with “auto” typed into the USB Port) and it worked.
Looking back at the HCL I can see that the “Smart-UPS USB USB” option does indeed take the usbhid-ups