<div dir="auto"><div>uHello and welcome!<div dir="auto"><br></div><div dir="auto">  I've seen similar behavior when libusb (used by the NUT driver here) could not take full control of the USB device node (something else in the OS or pass-throughs of a virtualization stack "owned" it too).</div><div dir="auto"><br></div><div dir="auto">  Check if nut-driver.service start-up logs (assuming systemd-aware packaging), or /var/log/syslog or /var/log/messages complain about something like this.</div><div dir="auto"><br></div><div dir="auto">  Alternatively, stop the NUT service and run the driver program from command line with added debug verbosity option, e.g.:</div><div dir="auto"><br></div><div dir="auto">  usbhid-ups -a ups -DDDDDD -d 1</div><div dir="auto"><br></div><div dir="auto">(not sure OTOH if `-d` option was in NUT 2.7.4 already - it lets the driver collect data, print it out and exit after e.g. 1 loop cycle; if not - these datapoints would be seen as "dstate" changes in the debug trace).</div><div dir="auto"><br></div><div dir="auto">  This might glean some light onto why it won't see more info. Maybe MGE HID is not a suitable USB mapping table, etc.</div><div dir="auto"><br></div><div dir="auto">Also note that 2.7.4 is a rather old release of NUT. Consider getting a newer package or building your own from source.</div><div dir="auto"><br></div><div dir="auto">Jim</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 7, 2024, 07:49 MAGNAVAL Adrien via Nut-upsdev <<a href="mailto:nut-upsdev@alioth-lists.debian.net" target="_blank" rel="noreferrer">nut-upsdev@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div style="word-wrap:break-word;line-break:after-white-space"><div style="word-wrap:break-word;line-break:after-white-space"><div style="word-wrap:break-word;line-break:after-white-space">Hi, first sorry for my English but it’s not my native language.<div>I tried nut v 2.7.4 to get monitoring my arg protect d3000 ups via usb</div><div>I use several drive in the liste but, only usbhid-ups get some info and work</div><div>But the are not a lot of info<span style="font-family:Menlo;font-size:11px">root@DARYL:/home/magade# upsc ups</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Init SSL without certificate database</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device.mfr: PPC</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device.model: USB UPS</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device.type: ups</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><a href="http://driver.name" rel="noreferrer noreferrer" target="_blank">driver.name</a>: usbhid-ups</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.pollfreq: 30</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.pollinterval: 2</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.port: auto</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.productid: 0003</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.synchronous: no</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.version: 2.7.4</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.version.data: MGE HID 1.40</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.version.internal: 0.41</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.mfr: PPC</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.model: USB UPS</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.productid: 0003</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.status: OB</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.vendorid: 06da</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">root@DARYL:/home/magade# upsc ups</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Init SSL without certificate database</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device.mfr: PPC</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device.model: USB UPS</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device.type: ups</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><a href="http://driver.name" rel="noreferrer noreferrer" target="_blank">driver.name</a>: usbhid-ups</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.pollfreq: 30</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.pollinterval: 2</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.port: auto</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.productid: 0003</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.parameter.synchronous: no</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.version: 2.7.4</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.version.data: MGE HID 1.40</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">driver.version.internal: 0.41</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.mfr: PPC</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.model: USB UPS</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.productid: 0003</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.status: OB</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ups.vendorid: 06da</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Also, my ups is in dual conversion mode so perhaps it is normal to get this :</span>ups.status: OB</div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">Please, may you help me to get it work, I’m not a dev but only only linux user. I will do my best to make what you need to test some cmd.</div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">If it is useful, I can try to monitoring USBMon with Wireshark or other stuff like that.</div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">Many thanks in advance</div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><br></div></div></div></div></div>_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@alioth-lists.debian.net" rel="noreferrer noreferrer" target="_blank">Nut-upsdev@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev" rel="noreferrer noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev</a><br>
</blockquote></div></div></div>