[Nut-upsuser] Rebooting not working
Magnus Johansson
rnd-nut@rnd.se
Sun, 03 Jul 2005 10:21:29 +0200
> 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!