Arjen de Korte wrote: > Citeren Vedran Furač <vedr...@vedranf.mine.nu>: > >> NUT recently stopped working on my debian. I'm not sure which upgrade >> broke it. > > From which version did you upgrade it?
Current version is 2.4.1 to which I upgraded few months ago, but I think it worked until recently (few weeks). Maybe upgrade of some other package broke it. >> Where is "megatec-mustek" file? > > It should be created by the driver, which apparently isn't running. > Either it isn't started at all, fails to detect the UPS or isn't > running with the proper permissions. > > Please post the output of > > /path/to/megatec -a mustek -DDDDD # /lib/nut/megatec -a mustek -DDDDD Network UPS Tools - Megatec protocol driver 1.6 (2.4.1) debug level is '5' DTR=1, RTS=0 Starting UPS detection process... Asking for UPS information [I]... I => FAILED [timeout] Asking for UPS status [Q1]... Q1 => OK [(226.7 226.7 226.7 045 49.9 13.9 25.0 00001001] Q1 VALUES => [226.7 226.7 226.7 45.0 49.9 13.9 25.0 00001001] Asking for UPS status [Q1]... Q1 => OK [(227.2 227.2 227.2 045 49.9 13.9 25.0 00001001] Q1 VALUES => [227.2 227.2 227.2 45.0 49.9 13.9 25.0 00001001] Asking for UPS status [Q1]... Q1 => OK [(227.2 227.2 227.2 045 49.9 13.9 25.0 00001001] Q1 VALUES => [227.2 227.2 227.2 45.0 49.9 13.9 25.0 00001001] Asking for UPS status [Q1]... Q1 => OK [(227.2 227.2 227.2 045 49.9 13.9 25.0 00001001] Q1 VALUES => [227.2 227.2 227.2 45.0 49.9 13.9 25.0 00001001] Asking for UPS status [Q1]... Q1 => OK [(227.2 227.2 227.2 045 49.9 13.9 25.0 00001001] Q1 VALUES => [227.2 227.2 227.2 45.0 49.9 13.9 25.0 00001001] 0 out of 5 detection attempts failed (minimum failures: 2). send_to_all: SETINFO ups.type "standby" Cancelling any pending shutdown or battery test. Asking for UPS information [I]... I => FAILED [timeout] send_to_all: SETINFO ups.mfr "unknown" send_to_all: SETINFO ups.model "unknown" Megatec protocol UPS detected. send_to_all: SETINFO ups.serial "unknown" Parameter [ignoreoff]: [false] Asking for UPS power ratings [F]... F => OK [#220.0 002 12.00 50.0] F VALUES => [220.0 2.0 12.0 50.0] send_to_all: SETINFO battery.voltage.nominal "12.0" send_to_all: SETINFO input.voltage.nominal "220.0" send_to_all: SETINFO input.frequency.nominal "50.0" 12.0V battery, interval [9.7V, 13.7V]. send_to_all: SETINFO ups.delay.start "2" send_to_all: SETINFO ups.delay.shutdown "0" send_to_all: ADDCMD test.battery.start.deep send_to_all: ADDCMD test.battery.start send_to_all: ADDCMD test.battery.stop send_to_all: ADDCMD shutdown.return send_to_all: ADDCMD shutdown.stayoff send_to_all: ADDCMD shutdown.stop send_to_all: ADDCMD load.on send_to_all: ADDCMD load.off send_to_all: ADDCMD reset.input.minmax send_to_all: ADDCMD reset.watchdog send_to_all: ADDCMD beeper.toggle Done setting up the UPS. Asking for UPS status [Q1]... Q1 => OK [(227.2 227.2 227.2 045 49.9 13.9 25.0 00001001] Q1 VALUES => [227.2 227.2 227.2 45.0 49.9 13.9 25.0 00001001] send_to_all: SETINFO input.voltage "227.2" send_to_all: SETINFO input.voltage.fault "227.2" send_to_all: SETINFO output.voltage "227.2" send_to_all: SETINFO ups.load "45.0" send_to_all: SETINFO input.frequency "49.9" send_to_all: SETINFO battery.voltage "13.90" send_to_all: SETINFO ups.temperature "25.0" send_to_all: SETINFO battery.charge "100.0" Calculated battery charge: 100.0% send_to_all: SETINFO ups.beeper.status "enabled" send_to_all: SETINFO input.voltage.minimum "227.2" send_to_all: SETINFO input.voltage.maximum "227.2" send_to_all: SETINFO ups.status "OL" send_to_all: DATAOK dstate_init: sock /var/run/nut/megatec-mustek open on fd 5 send_to_all: SETINFO driver.version "2.4.1" send_to_all: SETINFO driver.version.internal "1.6" send_to_all: SETINFO driver.name "megatec" send_to_all: SETINFO driver.parameter.pollinterval "2" Asking for UPS status [Q1]... Q1 => OK [(227.2 227.6 227.2 045 49.9 13.9 25.0 00001001] Q1 VALUES => [227.2 227.6 227.2 45.0 49.9 13.9 25.0 00001001] send_to_all: SETINFO input.voltage.fault "227.6" Calculated battery charge: 100.0% Regards! _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser