System : sys-power/nut-2.0.5-r2 (also with previous version) gentoo-sources-2.6.23-r8 After upgrading to 2.6.23, when executing /etc/init.d/upsd start, it fails with this error : "No matching HID UPS found". I found that the problem occurs when running upsdrvctl without the -u option. So I added the -u option into the /etc/init.d/upsdrv and /etc/init.d/upsd scripts and now it works well. The init scripts should be fixed. Reproducible: Always Steps to Reproduce: 1. Connect an UPS to usb port 2. Configure nut 3. Start upsd (/etc/init.d/upsd start) Actual Results: No matching HID UPS found Expected Results: Detected a UPS: MGE UPS SYSTEMS/ELLIPSE Using subdriver: MGE HID 1.0
Yeah, same symptoms here after updating to baselayout 2, however, I had already been running a 2.6.24.4 kernel for the last few weeks (and upsd was working fine until today). The fix is the same, ie, adding the "-u nut" parameter to both upsdrvctl and upsd, as well as removing the lines above "start-stop-daemon blah" which seemed to be dorking things up (even after making the first change). Cleaning out the latter cruft makes it work fine.
You need to add the user nut to the usb group
nerdboy: your upsd change was seperate, and is made in 2.2.2. For the original poster, yes, your nut user isn't in the usb group.