On Thu, 17 Apr 2025, Paul Goyette wrote:
If autoconfiguration could match on vendor and product it you express this
better in the config file.
It can match. Here's my config for my APC UPS:
# APC UPS
ugen0 at uhub? port ? vendor 0x051d product 0x0002
And dmesg shows
[ 2.222653] ugen0 at uhub9 port 2
[ 2.230466] ugen0: American Power Conversion (0x051d) Back-UPS XS 1500M
FW:947.d11 .D USB FW:d11 (0x0002), rev 2.00/0.90, addr 1
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | p...@whooppee.com |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoye...@netbsd.org |
| & Network Engineer | | pgoyett...@gmail.com |
+---------------------+--------------------------+----------------------+