Stephen Fergusson (Smart Computer Systems Ltd)
2010-Feb-21 01:55 UTC
[Nut-upsuser] MGE Pulsar Evolution 1100 - USB - error sending control message
Hi all, Have been using Nut on Linux for over ten years now and find it brilliant. Thanks. Just upgraded to 2.4.2 and have the 5 or 6 models of UPS's that we use (apcsmart, megatec, mge-shut, surgemax, digitus) all working including the MGE Pulsar Evolution 1100 on a USB connection using the usbhid-ups driver. Running on SLES9. Old but we still have a few servers out there running this. The only problem I have noted is a syslog entry that gets posted constantly when working with the USB connections MGE... Feb 21 12:05:30 g540-sles usbhid-ups[20918]: libusb_get_interrupt: error sending control message: Operation not permitted Feb 21 12:05:35 g540-sles last message repeated 8 times Feb 21 12:06:35 g540-sles last message repeated 15 times Feb 21 12:06:47 g540-sles last message repeated 3 times If I run usbhid-ups, upsd and upsmon as the root user, I get... Feb 21 12:55:02 g540-sles usbhid-ups[15701]: libusb_get_interrupt: No error Feb 21 12:55:34 g540-sles last message repeated 8 times Feb 21 12:55:50 g540-sles last message repeated 4 times If I use pollonly=1 in the ups.conf no errors at all, and all works. I haven't tried the pollonly option on the RS232 models. So, I am assuming I do have a permissions error with udev and am slowing working my way through that, but struggling. Are these syslog messages important? Should they be logging if there is no error? Is pollonly OK to use for everyday use? Thanks, Stephen.
Arjen de Korte
2010-Feb-21 18:59 UTC
[Nut-upsuser] MGE Pulsar Evolution 1100 - USB - error sending control message
Citeren "Stephen Fergusson (Smart Computer Systems Ltd)" <stephen op smartcom.co.nz>:> So, I am assuming I do have a permissions error with udev and am > slowing working my way through that, but struggling.Since running as root fixes them, it's indeed a permissions problem. I have no idea how to solve these though.> Are these syslog messages important?If you want to fix a problem you might have, yes.> Should they be logging if there is no error?These messages are logged at LOG_DEBUG, which is where debugging messages should go to. If you don't want to see them, configure syslog to log only higher priorities.> Is pollonly OK to use for everyday use?It depends on the value of 'pollinterval'. As long as it is not higher than about 5 seconds, there is probably not much to gain by *not* setting this flag. Best regards, Arjen -- Please keep list traffic on the list