Actually in merged PRs of recent weeks there can be several suitable fixes:
1) support for common USB matching parameters in more drivers (though usbhid-ups has long had it); 2) nut-scanner should provide more of these parameters in generated config sections, in particular "device" port numbers; 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! 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 :) Jim On Sat, Jan 14, 2023, 01:11 Greg Troxel <g...@lexort.com> wrote: > Bruce Pleat via Nut-upsuser <nut-upsuser@alioth-lists.debian.net> > writes: > > > I'm using the latest updates to OS and running the latest apt nut > packages > > in the dist (2.7.x?). > > Debian 11 has 2.7.4. > > That's old; 2.8.0 was released in spring of 2022. And git master has a > lot of improvements since 2.8.0, and I would therefore recommend trying > that. I think but am not 100% sure that there is a fix for the problem > you are seeing. > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser >
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser