Good day. Can not perform shutdowns Ups. Please help. Details of our installation are: OS: Turris Omnia (TO) NUT version: 2.7.4-5 Installation method: from package UPS device: EATON UPS 5SC 500i , 230V, 350W, 500VA, USB bought in jun 2018 If you connect to TO UPS via USB, the /dev/hidraw0 device will be created. No any programs from NUT package is not running. When I run: /lib/nut/usbhid-ups -a qnapups Network UPS Tools - Generic HID driver 0.41 (3.10-76-gd2caa7d) USB communication driver 0.33 kill: No such process Using subdriver: MGE HID 1.39 device /dev /hidraw0 is deleted. Now I'm ordering to shut down UPS: /lib/nut/usbhid-ups -a qnapups -k Network UPS Tools - Generic HID driver 0.41 (3.10-76-gd2caa7d) USB communication driver 0.33 Can not claim USB device [0463: ffff]: No such file or directory
On 01/07/2018 11.53, icingaj at gmail.com wrote:> Good day. > > Can not perform shutdowns Ups. Please help. > > Details of our installation are: > OS: Turris Omnia (TO) > NUT version: 2.7.4-5 > Installation method: from package > UPS device: EATON UPS 5SC 500i , 230V, 350W, 500VA, USB bought in jun 2018 > > If you connect to TO UPS via USB, the /dev/hidraw0 device will be created. > No any programs from NUT package is not running. > > When I run: > /lib/nut/usbhid-ups -a qnapups > Network UPS Tools - Generic HID driver 0.41 (3.10-76-gd2caa7d) > USB communication driver 0.33 > kill: No such process > Using subdriver: MGE HID 1.39 > > device /dev /hidraw0 is deleted. > > Now I'm ordering to shut down UPS: > > /lib/nut/usbhid-ups -a qnapups -k > Network UPS Tools - Generic HID driver 0.41 (3.10-76-gd2caa7d) > USB communication driver 0.33 > Can not claim USB device [0463: ffff]: No such file or directoryhave you tried running strace when sending the shutdown? that might reveal which file or directory it is not finding JonB
On Jul 1, 2018, at 7:58 AM, Jon Bendtsen wrote:> >> Now I'm ordering to shut down UPS: >> /lib/nut/usbhid-ups -a qnapups -k >> Network UPS Tools - Generic HID driver 0.41 (3.10-76-gd2caa7d) >> USB communication driver 0.33 >> Can not claim USB device [0463: ffff]: No such file or directory > > have you tried running strace when sending the shutdown? that might reveal which file or directory it is not finding >Also, check the logs - the first copy of the driver (the one that communicates with upsd) should be stopped by the time you run the driver with "-k".