Hi! I've installed NUT 2.0.2 to work with my MGE Protection Center and it works but for one thing. When I reboot the computer, at startup upsdrvctl/newhidups can't find the UPS so I have to manually unplug, replug and start upsdrvctl/upsd every time. I've installed from sourcecode onto a Gentoo machine. Where should I look for the problem (USB/hotplug/newhidups/somewhere else)?
Hi Have you installed the coldplug package? l=F6r 2005-07-02 klockan 18:41 +0200 skrev Magnus Johansson:> Hi! >=20 > I've installed NUT 2.0.2 to work with my MGE Protection Center and it=20 > works but for one thing. When I reboot the computer, at startup=20 > upsdrvctl/newhidups can't find the UPS so I have to manually unplug,=20 > replug and start upsdrvctl/upsd every time. I've installed from=20 > sourcecode onto a Gentoo machine. Where should I look for the problem=20 > (USB/hotplug/newhidups/somewhere else)? >=20 > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> Have you installed the coldplug package?No, I hadn't, that might be what's missing but it seems there's a bus-number issue. libhidups is being passed the wrong bus-number. It seems always to be 1. There's a line in /etc/hotplug/usb.rc for getting the busnumber; devbus=$( ( echo -n 000 ; cat $devlink/../../devnum ) | grep -o ...\$ ) The file "/sys/devices/pci0000:00/0000:00:03.1/usb3/devnum" do exist but it contains a 1 (should be 3 for it to work). What's responsible for creating that file? Anyway, I just found a patch available for Gentoo hotplug that works <http://bugs.gentoo.org/show_bug.cgi?id=83738> So, I now have the UPS starting up at boot-time, thanks!