<div dir="auto">Actually in merged PRs of recent weeks there can be several suitable fixes:<div dir="auto"><br></div><div dir="auto">1) support for common USB matching parameters in more drivers (though usbhid-ups has long had it);</div><div dir="auto"><br></div><div dir="auto">2) nut-scanner should provide more of these parameters in generated config sections, in particular "device" port numbers;</div><div dir="auto"><br></div><div dir="auto">3) for obscenely poor cases when devices can not be identified as unique, new "allow_duplicates" flag was added, to not stop iterating if a first "good match" is busy. Caveat emptor here!</div><div dir="auto"><br></div><div dir="auto">In your case, I hope adding the device numbers (3 digits) to configs should help. Also `-x` is for command-libe specification of such parameters. In config file it is just key=value. For these matchers they are generally regexes (not shell globs). Please do RTFM :)</div><div dir="auto"><br></div><div dir="auto">Jim</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 14, 2023, 01:11 Greg Troxel <<a href="mailto:gdt@lexort.com">gdt@lexort.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bruce Pleat via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">nut-upsuser@alioth-lists.debian.net</a>><br>
writes:<br>
<br>
> I'm using the latest updates to OS and running the latest apt nut packages<br>
> in the dist (2.7.x?).<br>
<br>
Debian 11 has 2.7.4.<br>
<br>
That's old; 2.8.0 was released in spring of 2022.  And git master has a<br>
lot of improvements since 2.8.0, and I would therefore recommend trying<br>
that.  I think but am not 100% sure that there is a fix for the problem<br>
you are seeing.<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>