On 11 January 2011 00:07, Charles Lepple <[email protected]> wrote: > On Mon, Jan 10, 2011 at 3:28 PM, Mick <[email protected]> wrote: >> On Monday 10 January 2011 12:19:34 you wrote: >>> Hi Mick >>> >>> 2011/1/9 Mick <[email protected]> >> >>> > -rwxr-xr-x 1 root root 17840 Jul 25 11:45 /usr/libexec/hald-addon-hid-ups >> [snip ...] >> >>> > Could any of the above be causing the clash? >>> >>> indeed, /usr/libexec/hald-addon-hid-ups which is part of UPower (integrated >>> power management), which is automatically launched when a new USB/HID UPS >>> is plugged. >>> since UPower is running as root, it will prevent usbhid-ups from claiming >>> back your UPS after software disconnection. >>> you may try to run nut as root to check if you still see the claim >>> interface failure. >>> >>> I'll have to check UPower, since iirc, it wasn't previously running as root >>> (or I'm maybe confusing with HAL...) >> >> So assuming that the new driver can now deal with my UPS, is this something >> that I'll have wait for to settle, as hal is deprecated and on a path to be >> replaced with upower? > > The simple answer is you can only have one of the following attached > to your UPS: the HAL driver, or the normal NUT usbhid-ups driver.
Right, I wasn't sure if NUT usbhid-ups was working with hal, or if it is independent of it. I've stopped hal and noticed no difference. This is what hal is polling: $ ps axf | grep -i hal 30796 pts/3 S+ 0:00 \_ grep --colour=auto -i hal 30711 ? Ssl 0:00 /usr/sbin/hald --use-syslog --verbose=no 30712 ? S 0:00 \_ hald-runner 30743 ? S 0:00 \_ hald-addon-input: Listening on /dev/input/event3 /dev/input/event0 /dev/input/event1 30759 ? S 0:00 \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket 30760 ? S 0:00 \_ hald-addon-storage: polling /dev/sdb (every 2 sec) 30761 ? S 0:00 \_ hald-addon-storage: polling /dev/sdc (every 2 sec) 30762 ? S 0:00 \_ hald-addon-storage: polling /dev/sdd (every 2 sec) 30763 ? S 0:00 \_ hald-addon-storage: polling /dev/sde (every 2 sec) 30764 ? S 0:00 \_ hald-addon-storage: polling /dev/sr0 (every 2 sec) 30765 ? S 0:00 \_ hald-addon-storage: polling /dev/sr1 (every 2 sec) > If /usr/libexec/hald-addon-hid-ups is launched by UPower, you may have > to either disable UPower and use NUT's interface to shut down the > system, or use whatever UPower is doing these days. No idea how to disable upower (or if it is even desirable to do so). It doesn't show up under running processes. -- Regards, Mick _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

