I have attached an output of 'lsusb' and 'megatec_usb -a sven_625 -u nut -DDDDD'.
# lsusb Bus 002 Device 002: ID ffff:0000 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 002: ID a420:5420 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 006: ID 03f0:2b17 Hewlett-Packard LaserJet 1020 Bus 001 Device 003: ID 1307:0163 Transcend Information, Inc. 512MB USB Flash Drive Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# /lib/nut/megatec_usb -a sven_625 -u nut -DDDDD Network UPS Tools - Megatec protocol driver 1.6 (2.4.1) Serial-over-USB transport layer 0.10 debug level is '5' Checking device (FFFF/0000) (002/002) - VendorID: ffff - ProductID: 0000 - Manufacturer: - Product: 068A - Serial Number: unknown - Bus: 002 Trying to match device Device matches DTR=1, RTS=0 Starting UPS detection process... Asking for UPS information [I]... set_data_krauler: index [0c] (len = 39/255) VT0105BG I => OK [# VT0105BG ] I VALUES => [ VT0105BG] Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).0 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(235.0 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [235.0 140.0 233.8 18.0 50.0 13.6 30.0 00001001] Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.0 00001001] Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).0 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(235.0 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [235.0 140.0 233.8 18.0 50.0 13.6 30.0 00001001] Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.0 00001001] Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.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. set_data_krauler: index [0b] -> String: UPS No Ack (len = 10/255) set_data_krauler: retry [UPS No Ack] Asking for UPS information [I]... set_data_krauler: index [0c] (len = 39/255) VT0105BG I => OK [# VT0105BG ] I VALUES => [ VT0105BG] send_to_all: SETINFO ups.mfr "" send_to_all: SETINFO ups.model " VT0105BG" Megatec protocol UPS detected [ VT0105BG]. send_to_all: SETINFO ups.serial "unknown" Parameter [ignoreoff]: [false] Asking for UPS power ratings [F]... set_data_krauler: index [0d] (len = 22/255).0 000 012.0 50.0 F => OK [#220.0 000 012.0 50.0] F VALUES => [220.0 0.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]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.0 00001001] send_to_all: SETINFO input.voltage "233.3" send_to_all: SETINFO input.voltage.fault "140.0" send_to_all: SETINFO output.voltage "233.8" send_to_all: SETINFO ups.load "18.0" send_to_all: SETINFO input.frequency "50.0" send_to_all: SETINFO battery.voltage "13.60" send_to_all: SETINFO ups.temperature "30.0" send_to_all: SETINFO battery.charge "97.5" Calculated battery charge: 97.5% send_to_all: SETINFO ups.beeper.status "enabled" send_to_all: SETINFO input.voltage.minimum "233.3" send_to_all: SETINFO input.voltage.maximum "233.3" send_to_all: SETINFO ups.status "OL" send_to_all: DATAOK dstate_init: sock /var/run/nut/megatec_usb-sven_625 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_usb" send_to_all: SETINFO driver.parameter.pollinterval "2" Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.0 00001001] Calculated battery charge: 97.5% Asking for UPS status [Q1]... set_data_krauler: index [03] - Unable to fetch string 3 set_data_krauler: connection failure ser_send_pace: Device detached? (error -5: No error) ================================================== = device has been disconnected, try to reconnect = ================================================== Checking device (FFFF/0000) (002/002) - VendorID: ffff - ProductID: 0000 - Manufacturer: - Product: 068A - Serial Number: unknown - Bus: 002 Trying to match device Device matches Successfully reconnected Q1 => FAILED [timeout] Poll failure [1]. Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 231.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 231.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 231.8 18.0 50.0 13.6 30.0 00001001] send_to_all: SETINFO output.voltage "231.8" Calculated battery charge: 97.5% Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).0 140.0 235.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(235.0 140.0 235.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [235.0 140.0 235.8 18.0 50.0 13.6 30.0 00001001] send_to_all: SETINFO input.voltage "235.0" send_to_all: SETINFO output.voltage "235.8" Calculated battery charge: 97.5% send_to_all: SETINFO input.voltage.maximum "235.0" Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.0 00001001] send_to_all: SETINFO input.voltage "233.3" send_to_all: SETINFO output.voltage "233.8" Calculated battery charge: 97.5% Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 18.0 50.0 13.6 30.0 00001001] Calculated battery charge: 97.5% Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).0 140.0 233.8 018 50.0 13.6 30.0 00001001 Q1 => OK [(235.0 140.0 233.8 018 50.0 13.6 30.0 00001001] Q1 VALUES => [235.0 140.0 233.8 18.0 50.0 13.6 30.0 00001001] send_to_all: SETINFO input.voltage "235.0" Calculated battery charge: 97.5% Asking for UPS status [Q1]... set_data_krauler: index [03] (len = 47/255).3 140.0 233.8 017 50.0 13.6 30.0 00001001 Q1 => OK [(233.3 140.0 233.8 017 50.0 13.6 30.0 00001001] Q1 VALUES => [233.3 140.0 233.8 17.0 50.0 13.6 30.0 00001001] send_to_all: SETINFO input.voltage "233.3" send_to_all: SETINFO ups.load "17.0" Calculated battery charge: 97.5%