<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello<div class=""><br class=""></div><div class="">i need your help regarding the following issue :</div><div class=""><br class=""></div><div class="">i have a hero touch ups from infosec. it is connected via USB to a raspberry pi 3.</div><div class="">i’ve configure ups.conf file as below</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[HERO]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> driver = blazer_usb</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> vendorid = 0665</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> productid = 5161</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">either with</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> port = auto</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">or </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> port = /dev/hidraw0</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">or</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> </span> port = /dev/ttySo</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span></div></div><div class="">the connection never works</div><div class=""><br class=""></div><div class="">i get the following log from command line :</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sudo /lib/nut/blazer_usb -a HERO -DDD -u root</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (2.7.2)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.000000<span class="Apple-tab-span" style="white-space:pre"> </span>debug level is '3'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.003947<span class="Apple-tab-span" style="white-space:pre"> </span>Checking device (0665/5161) (001/116)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.016760<span class="Apple-tab-span" style="white-space:pre"> </span>- VendorID: 0665</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.017245<span class="Apple-tab-span" style="white-space:pre"> </span>- ProductID: 5161</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.017686<span class="Apple-tab-span" style="white-space:pre"> </span>- Manufacturer: INNO TECH</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.018127<span class="Apple-tab-span" style="white-space:pre"> </span>- Product: USB to Serial</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.018598<span class="Apple-tab-span" style="white-space:pre"> </span>- Serial Number: unknown</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.019086<span class="Apple-tab-span" style="white-space:pre"> </span>- Bus: 001</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.019540<span class="Apple-tab-span" style="white-space:pre"> </span>Trying to match device</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.020136<span class="Apple-tab-span" style="white-space:pre"> </span>Device matches</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.020655<span class="Apple-tab-span" style="white-space:pre"> </span>failed to claim USB device: could not claim interface 0: Device or resource busy</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.021625<span class="Apple-tab-span" style="white-space:pre"> </span>detached kernel driver from USB device...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.022676<span class="Apple-tab-span" style="white-space:pre"> </span>Trying megatec protocol...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.025291<span class="Apple-tab-span" style="white-space:pre"> </span>send: Q1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.153928<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.154751<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.155441<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 1 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.156783<span class="Apple-tab-span" style="white-space:pre"> </span>send: Q1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.286922<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.287605<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.288335<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 2 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.289796<span class="Apple-tab-span" style="white-space:pre"> </span>send: Q1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.419969<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.420052<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.420081<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 3 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.420107<span class="Apple-tab-span" style="white-space:pre"> </span>Trying mustek protocol...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 0.420818<span class="Apple-tab-span" style="white-space:pre"> </span>send: QS</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1.654899<span class="Apple-tab-span" style="white-space:pre"> </span>read: could not claim interface 0: Device or resource busy</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1.655782<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1.656445<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 1 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1.657598<span class="Apple-tab-span" style="white-space:pre"> </span>send: QS</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 2.891901<span class="Apple-tab-span" style="white-space:pre"> </span>read: could not claim interface 0: Device or resource busy</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 2.892810<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 2.893497<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 2 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 2.894755<span class="Apple-tab-span" style="white-space:pre"> </span>send: QS</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.129250<span class="Apple-tab-span" style="white-space:pre"> </span>read: could not claim interface 0: Device or resource busy</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.129411<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.129503<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 3 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.129590<span class="Apple-tab-span" style="white-space:pre"> </span>Trying megatec/old protocol...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.130286<span class="Apple-tab-span" style="white-space:pre"> </span>send: D</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.254420<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.254520<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.254608<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 1 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.255296<span class="Apple-tab-span" style="white-space:pre"> </span>send: D</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.379452<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.379601<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.379692<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 2 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.380447<span class="Apple-tab-span" style="white-space:pre"> </span>send: D</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.504477<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.504631<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.504725<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 3 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.504812<span class="Apple-tab-span" style="white-space:pre"> </span>Trying zinto protocol...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.505581<span class="Apple-tab-span" style="white-space:pre"> </span>send: Q1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.635465<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.635565<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.635654<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 1 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.636344<span class="Apple-tab-span" style="white-space:pre"> </span>send: Q1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.766481<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.766580<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.766668<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 2 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.767360<span class="Apple-tab-span" style="white-space:pre"> </span>send: Q1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.897519<span class="Apple-tab-span" style="white-space:pre"> </span>read: N</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.897659<span class="Apple-tab-span" style="white-space:pre"> </span>blazer_status: short reply</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.897749<span class="Apple-tab-span" style="white-space:pre"> </span>Status read 3 failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4.897835<span class="Apple-tab-span" style="white-space:pre"> </span>No supported UPS detected</span></div></div><div class="">any idea ?</div><div class="">thanks a lot</div><div class=""><br class=""></div></body></html>